← 返回 Skills 市场
Cron Health Check Zc
作者
lean-zhouchao
· GitHub ↗
· v1.0.0
· MIT-0
145
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cron-health-check-zc
功能描述
Monitors OpenClaw cron job health, identifies failures, timeouts, and delivery issues.
使用说明 (SKILL.md)
Cron Health Check | OpenClaw Skill
Description
Monitors OpenClaw cron job health, identifies failures, timeouts, and delivery issues.
Cron Health Check | OpenClaw Skill
Monitors the health of OpenClaw cron jobs by analyzing run history and identifying patterns of failures, timeouts, and delivery issues.
Usage
- As a scheduled cron job to monitor job health proactively
- Manually to check current cron job status
- After fixing cron job errors to verify improvements
# Check health of all cron jobs (last 24 hours)
python3 /Users/ghost/.openclaw/workspace/skills/cron-health-check/scripts/check_cron_health.py
# Check last 48 hours
python3 /Users/ghost/.openclaw/workspace/skills/cron-health-check/scripts/check_cron_health.py --hours 48
# Output JSON format
python3 /Users/ghost/.openclaw/workspace/skills/cron-health-check/scripts/check_cron_health.py --json
What this skill does
- Analyzes cron job run history from the last N hours
- Identifies jobs with consecutive failures, timeouts, or delivery issues
- Reports health status (healthy/warning/critical) for each job
- Suggests fixes (e.g., adding --best-effort-deliver for delivery failures)
- Detects OpenRouter API limit issues
Integration as a Cron Job
This skill can run periodically to monitor cron job health:
{
"payload": {
"kind": "agentTurn",
"message": "Run cron-health-check skill to analyze cron job health.",
"model": "openrouter/google/gemini-2.5-flash",
"thinking": "low",
"timeoutSeconds": 60
},
"schedule": {
"kind": "cron",
"cron": "0 */6 * * *"
},
"delivery": {
"mode": "announce",
"bestEffort": true
},
"sessionTarget": "isolated",
"name": "Cron Health Monitor"
}
Output
Health status for each job:
- healthy: No issues detected
- warning: Some issues but not critical
- critical: Multiple consecutive failures or timeouts
Issues detected:
- Consecutive errors
- Timeout patterns
- Delivery failures (suggests --best-effort-deliver)
- OpenRouter API limit exceeded
Exit Codes
0: All jobs healthy1: Warning issues found2: Critical issues found
安全使用建议
This skill appears coherent and limited to reading OpenClaw cron configuration and run logs to produce health reports; it does not require credentials or network access. Before installing or scheduling it: (1) inspect your ~/.openclaw/cron/jobs.json and run log files for sensitive content you don't want read by a third-party script, (2) note the SKILL.md examples use a hard-coded /Users/ghost path—confirm the script will be run with the correct --openclaw-home or placed in the expected workspace, (3) verify the owner/source is trustworthy (ownerId in _meta.json differs slightly from registry metadata), and (4) run the script in a safe/isolated environment first to confirm its behavior. If you need the skill to report externally, modify it to add explicit, auditable network calls rather than relying on ad-hoc behavior.
功能分析
Type: OpenClaw Skill
Name: cron-health-check-zc
Version: 1.0.0
The skill bundle is a legitimate monitoring tool for OpenClaw cron jobs. The Python script `scripts/check_cron_health.py` reads local job configurations and run history from the `~/.openclaw` directory to identify failures, timeouts, and API limit issues. It lacks any indicators of malicious behavior such as data exfiltration, unauthorized network access, or command execution.
能力评估
Purpose & Capability
The skill name/description describe monitoring cron job health; the included Python script reads cron job definitions and run history under an OpenClaw workspace (.openclaw/cron) and computes health metrics. The requested resources (local files under OpenClaw home) are consistent with this purpose.
Instruction Scope
SKILL.md instructs running the shipped script and provides example cron payloads. The examples include hard-coded example paths (/Users/ghost/.openclaw/...), but the script uses a configurable --openclaw-home (defaulting to ~/.openclaw). The script only reads jobs.json and per-job .jsonl run logs; it does not call external services or read unrelated system paths. Review jobs.json/run logs before running if they contain sensitive data.
Install Mechanism
No install spec; this is an instruction-only skill with a single Python script. Nothing will be downloaded or written by an installer during skill installation.
Credentials
The skill declares no environment variables or credentials and the code does not access environment secrets. It inspects local OpenClaw cron config and logs only. The SKILL.md mentions OpenRouter limits in diagnostic text but the script only looks for 'limit exceeded' text in stored error messages; it does not use or require any OpenRouter credentials.
Persistence & Privilege
The skill does not request permanent presence, does not modify other skills or global agent configuration, and has normal user-invocable/autonomous invocation defaults. Running it as a scheduled job will only cause the script to read local OpenClaw cron files and emit reports/exit codes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cron-health-check-zc - 安装完成后,直接呼叫该 Skill 的名称或使用
/cron-health-check-zc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of cron-health-check-zc skill.
- Monitors OpenClaw cron job health by analyzing run history.
- Detects and reports consecutive failures, timeouts, delivery issues, and OpenRouter API limit problems.
- Provides health status for each job (healthy, warning, critical).
- Suggests fixes for common delivery issues.
- Includes CLI usage examples and integration instructions for scheduled health checks.
元数据
常见问题
Cron Health Check Zc 是什么?
Monitors OpenClaw cron job health, identifies failures, timeouts, and delivery issues. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。
如何安装 Cron Health Check Zc?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cron-health-check-zc」即可一键安装,无需额外配置。
Cron Health Check Zc 是免费的吗?
是的,Cron Health Check Zc 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cron Health Check Zc 支持哪些平台?
Cron Health Check Zc 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cron Health Check Zc?
由 lean-zhouchao(@lean-zhouchao)开发并维护,当前版本 v1.0.0。
推荐 Skills