← Back to Skills Marketplace
mpbshhx

Cron Watchdog

by mpbshhx · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
216
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install cron-watchdog
Description
Monitor all OpenClaw cron jobs for failures and auto-fix common errors (model-not-allowed, timeouts). Posts to Slack only when issues are found. Runs every 6...
README (SKILL.md)

Watchdog — Cron Health Monitor

Monitors all cron jobs for failures and auto-fixes them. Posts to Slack only when issues are found or unfixable errors exist.

CRITICAL: Slack Routing

When sending messages to Slack, you MUST specify channel: "slack" in every message tool call:

message(action: "send", channel: "slack", target: "C0AHYTV5WP7", message: "...")

Without channel: "slack", messages will fail silently.

Schedule

Every 6 hours: 5, 11, 17, 23 CT

Steps

  1. cron(action: "list") — get all jobs and their current status
  2. For each job, check: lastStatus error? consecutiveErrors > 0? What was lastError?
  3. For model not allowed errors: use cron(action: "update", jobId: "...", patch: { payload: { model: "anthropic/claude-sonnet-4-6" } }), then force-run, log change
  4. For timeout errors: use cron(action: "update", jobId: "...", patch: { payload: { timeoutSeconds: \x3Ccurrent + 60> } }) — NEVER edit cron JSON files directly
  5. For other errors: analyze, attempt fix if possible, or flag as unresolved
  6. Post to Slack C0AHYTV5WP7 (#morning-briefs) ONLY if issues were found/fixed or unfixable errors exist
  7. If everything is healthy: no Slack message (silent pass)

CRITICAL: Never Edit cron/jobs.json Directly

Always use the cron tool with action="update" to modify job settings. Direct file edits break the cron system.

Slack Alert Format

🐺 Watchdog Report — \x3Ctimestamp>

✅ Fixed: \x3Cjob-name> — \x3Cwhat was fixed>
❌ Unfixable: \x3Cjob-name> — \x3Cerror summary>
⚠️ Flagged: \x3Cjob-name> — \x3Cissue description>

Only send if at least one issue exists.

Usage Guidance
This skill appears coherent for automated cron health monitoring, but note it will (when invoked) automatically update job payloads and force-run jobs. Before installing, verify: the hard-coded Slack target/channel are correct for your workspace; the chosen fallback model (anthropic/claude-sonnet-4-6) and timeout increments match your policies; and you have backups or a staging environment to test the auto-fixes. If you want tighter control, ask for a confirmation step before applying updates or restrict the skill to a test project first.
Capability Analysis
Type: OpenClaw Skill Name: cron-watchdog Version: 1.0.0 The skill is a maintenance utility designed to monitor cron job health and automatically resolve common configuration issues like timeouts or model mismatches. It uses standard tool calls (cron, message) to perform its tasks and reports status to a specific Slack channel (C0AHYTV5WP7), showing no signs of malicious intent, data exfiltration, or unauthorized access in SKILL.md or _meta.json.
Capability Assessment
Purpose & Capability
Name/description match the instructions: it enumerates cron jobs, updates job payloads (model, timeout), and posts to Slack only for issues. Declared tool usage (cron and message) aligns with the stated purpose.
Instruction Scope
Instructions include modifying cron jobs (via cron(action: "update")) and force-running them, which is within scope for an auto-healing watchdog. Note: the skill will perform write actions (model/timeouts) — users should be aware of automatic changes and verify the target model/timeout policy is acceptable.
Install Mechanism
Instruction-only skill with no install spec or code files — nothing is written to disk and no external downloads occur.
Credentials
No environment variables, credentials, or config paths are requested. The only external interaction is Slack via the message tool (channel and target ID are hard-coded in instructions), which is proportional to the described alerting behavior.
Persistence & Privilege
always is false (not force-included). The skill will be capable of autonomous invocation by default (platform normal), and it performs modifications only through the cron tool; it does not claim to change other skills or global agent configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cron-watchdog
  3. After installation, invoke the skill by name or use /cron-watchdog
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Monitors OpenClaw cron jobs for failures and auto-fixes common errors (model-not-allowed, timeouts). Posts alerts only when issues are found.
Metadata
Slug cron-watchdog
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Cron Watchdog?

Monitor all OpenClaw cron jobs for failures and auto-fix common errors (model-not-allowed, timeouts). Posts to Slack only when issues are found. Runs every 6... It is an AI Agent Skill for Claude Code / OpenClaw, with 216 downloads so far.

How do I install Cron Watchdog?

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

Is Cron Watchdog free?

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

Which platforms does Cron Watchdog support?

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

Who created Cron Watchdog?

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

💬 Comments