← 返回
安全合规 中文

OpenClaw Healthcheck Cron

Create and run a reusable OpenClaw deep healthcheck automation using a cron job plus a script. Use when setting up scheduled OpenClaw health audits, standard...
使用 cron 作业配合脚本,创建并运行可复用的 OpenClaw 深度健康检查自动化。适用于设置定时 OpenClaw 健康审计和标准检查。
plgonzalezrx8
安全合规 clawhub v1.0.0 1 版本 99931.1 Key: 无需
★ 0
Stars
📥 1,450
下载
💾 35
安装
1
版本
#latest

概述

OpenClaw Healthcheck Cron Skill

Create a portable healthcheck automation that runs on a schedule and reports concise findings.

Build the automation

  1. Create a script at scripts/healthcheck.sh (or reuse the one in this skill).
  2. Keep checks read-only by default.
  3. Write artifacts to /tmp/openclaw-healthcheck/YYYY-MM-DD/HHMMSS/.
  4. Return a compact summary with severity.

Create the scheduled job

Use an isolated cron agentTurn job that runs twice daily (example: 6am and 7pm local time):

  • schedule.kind: cron
  • schedule.expr: 0 6,19 *
  • schedule.tz: set local timezone
  • sessionTarget: isolated
  • payload.kind: agentTurn
  • delivery.mode: announce (or none if reporting is handled inside task)

Use this task pattern:

  • Execute bash scripts/healthcheck.sh
  • Parse summary line and emit:
  • Verdict: OK | MONITOR | NEEDS_ATTENTION
  • Counts: passed/warn/fail
  • Artifact path
  • Active issues + recommended next action

Sanitize before publishing

Remove or parameterize all local identifiers:

  • Usernames, hostnames, phone numbers, chat IDs
  • API keys, tokens, webhook URLs
  • Absolute personal paths (use placeholders or relative paths)

Replace with variables:

  • ${HEALTHCHECK_OUTPUT_DIR:-/tmp/openclaw-healthcheck}
  • ${OPENCLAW_HEALTH_TZ:-America/New_York}
  • ${HEALTHCHECK_EXCLUDE:-small model,sandbox,groupPolicy}

Validate

  1. Run script manually once.
  2. Confirm artifact directory and summary format.
  3. Run cron job once with cron run.
  4. Verify final message is concise and actionable.

Package

Package as a .skill zip containing only:

  • SKILL.md
  • scripts/healthcheck.sh
  • references/cron-job-example.json

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 01:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,609
ai-intelligence

Agent Builder

plgonzalezrx8
端到端构建高性能 OpenClaw 智能体。用于设计新智能体(包含人设与运行规则)并生成所需工作区文件,或迭代现有智能体的行为、护栏、自主模型、心跳计划及技能列表。
★ 30 📥 10,352
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,535