← Back to Skills Marketplace
lean-zhouchao

Cron Health Check Zc

by lean-zhouchao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
145
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cron-health-check-zc
Description
Monitors OpenClaw cron job health, identifies failures, timeouts, and delivery issues.
README (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 healthy
  • 1: Warning issues found
  • 2: Critical issues found
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cron-health-check-zc
  3. After installation, invoke the skill by name or use /cron-health-check-zc
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug cron-health-check-zc
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cron Health Check Zc?

Monitors OpenClaw cron job health, identifies failures, timeouts, and delivery issues. It is an AI Agent Skill for Claude Code / OpenClaw, with 145 downloads so far.

How do I install Cron Health Check Zc?

Run "/install cron-health-check-zc" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cron Health Check Zc free?

Yes, Cron Health Check Zc is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cron Health Check Zc support?

Cron Health Check Zc is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cron Health Check Zc?

It is built and maintained by lean-zhouchao (@lean-zhouchao); the current version is v1.0.0.

💬 Comments