{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cron-doctor",
    "name": "Cron Doctor",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/suryast/cron-doctor",
    "canonicalUrl": "https://clawhub.ai/suryast/cron-doctor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cron-doctor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cron-doctor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/cron-doctor"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/cron-doctor",
    "agentPageUrl": "https://openagent3.xyz/skills/cron-doctor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cron-doctor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cron-doctor/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Cron Doctor",
        "body": "Diagnose and triage cron job failures."
      },
      {
        "title": "Usage",
        "body": "When asked to check cron health or diagnose failures:"
      },
      {
        "title": "1. List All Jobs",
        "body": "# List user's crontab\ncrontab -l\n\n# List system crontabs\nsudo cat /etc/crontab\nls -la /etc/cron.d/"
      },
      {
        "title": "2. Check Recent Execution",
        "body": "# Check cron logs (location varies by system)\n# Debian/Ubuntu:\ngrep CRON /var/log/syslog | tail -50\n\n# RHEL/CentOS:\ntail -50 /var/log/cron\n\n# macOS:\nlog show --predicate 'process == \"cron\"' --last 1h\n\n# Check for specific job output\ngrep \"your_job_name\" /var/log/syslog | tail -20"
      },
      {
        "title": "3. Identify Problems",
        "body": "Error patterns to watch:\n\n\"command not found\" — Missing executable or PATH issue\n\"Permission denied\" — File/directory permissions wrong\n\"No such file or directory\" — Script path incorrect\n\"timeout\" — Job took too long\n\"ECONNREFUSED\" — Network/service down\n\"rate limit\" — API throttling\nMissing output — Job may not be running at all"
      },
      {
        "title": "4. Triage Priority",
        "body": "PriorityCriteria🔴 CriticalTrading, backup, security jobs🟠 HighUser-facing deliveries🟡 MediumMonitoring, research jobs🟢 LowNice-to-have, non-essential"
      },
      {
        "title": "5. Generate Report",
        "body": "Write to ~/workspace/reports/cron-health-YYYY-MM-DD.md:\n\n# Cron Health Report - [DATE]\n\n## Summary\n- ✅ Healthy: X jobs\n- ⚠️ Warning: X jobs  \n- ❌ Failed: X jobs\n\n## Failed Jobs\n\n### [Job Name]\n- **Error:** [message]\n- **Last Success:** [date]\n- **Priority:** [level]\n- **Fix:** [suggested action]\n\n## Recommendations\n1. [Action item]\n2. [Action item]"
      },
      {
        "title": "6. Common Fixes",
        "body": "ErrorFixCommand not foundUse full path to executable, or set PATH in crontabPermission deniedCheck file permissions, run chmod +x script.shNo outputAdd >> /tmp/job.log 2>&1 to capture outputWrong timezoneSet TZ= in crontab or use system timezoneRate limitReduce frequency or add backoff"
      },
      {
        "title": "7. Debugging Tips",
        "body": "# Test cron environment (cron has minimal PATH)\nenv -i /bin/sh -c 'echo $PATH'\n\n# Verify script runs manually\n/path/to/your/script.sh\n\n# Check if cron daemon is running\nsystemctl status cron   # Linux\nlaunchctl list | grep cron  # macOS"
      },
      {
        "title": "Escalation",
        "body": "If 3+ critical jobs failed, alert the user immediately."
      },
      {
        "title": "Verification Gates",
        "body": "Before claiming diagnosis complete:\n\nAll failed jobs listed — none skipped or ignored\n Priority assigned — based on impact, not just recency\n Fix suggested — actionable next step for each failure\n Report written — to ~/workspace/reports/cron-health-YYYY-MM-DD.md\n Critical failures escalated — 3+ critical = alert user"
      }
    ],
    "body": "Compatible with Claude Code, Codex CLI, Cursor, Windsurf, and any SKILL.md-compatible agent.\n\nCron Doctor\n\nDiagnose and triage cron job failures.\n\nUsage\n\nWhen asked to check cron health or diagnose failures:\n\n1. List All Jobs\n# List user's crontab\ncrontab -l\n\n# List system crontabs\nsudo cat /etc/crontab\nls -la /etc/cron.d/\n\n2. Check Recent Execution\n# Check cron logs (location varies by system)\n# Debian/Ubuntu:\ngrep CRON /var/log/syslog | tail -50\n\n# RHEL/CentOS:\ntail -50 /var/log/cron\n\n# macOS:\nlog show --predicate 'process == \"cron\"' --last 1h\n\n# Check for specific job output\ngrep \"your_job_name\" /var/log/syslog | tail -20\n\n3. Identify Problems\n\nError patterns to watch:\n\n\"command not found\" — Missing executable or PATH issue\n\"Permission denied\" — File/directory permissions wrong\n\"No such file or directory\" — Script path incorrect\n\"timeout\" — Job took too long\n\"ECONNREFUSED\" — Network/service down\n\"rate limit\" — API throttling\nMissing output — Job may not be running at all\n4. Triage Priority\nPriority\tCriteria\n🔴 Critical\tTrading, backup, security jobs\n🟠 High\tUser-facing deliveries\n🟡 Medium\tMonitoring, research jobs\n🟢 Low\tNice-to-have, non-essential\n5. Generate Report\n\nWrite to ~/workspace/reports/cron-health-YYYY-MM-DD.md:\n\n# Cron Health Report - [DATE]\n\n## Summary\n- ✅ Healthy: X jobs\n- ⚠️ Warning: X jobs  \n- ❌ Failed: X jobs\n\n## Failed Jobs\n\n### [Job Name]\n- **Error:** [message]\n- **Last Success:** [date]\n- **Priority:** [level]\n- **Fix:** [suggested action]\n\n## Recommendations\n1. [Action item]\n2. [Action item]\n\n6. Common Fixes\nError\tFix\nCommand not found\tUse full path to executable, or set PATH in crontab\nPermission denied\tCheck file permissions, run chmod +x script.sh\nNo output\tAdd >> /tmp/job.log 2>&1 to capture output\nWrong timezone\tSet TZ= in crontab or use system timezone\nRate limit\tReduce frequency or add backoff\n7. Debugging Tips\n# Test cron environment (cron has minimal PATH)\nenv -i /bin/sh -c 'echo $PATH'\n\n# Verify script runs manually\n/path/to/your/script.sh\n\n# Check if cron daemon is running\nsystemctl status cron   # Linux\nlaunchctl list | grep cron  # macOS\n\nEscalation\n\nIf 3+ critical jobs failed, alert the user immediately.\n\nVerification Gates\n\nBefore claiming diagnosis complete:\n\n All failed jobs listed — none skipped or ignored\n Priority assigned — based on impact, not just recency\n Fix suggested — actionable next step for each failure\n Report written — to ~/workspace/reports/cron-health-YYYY-MM-DD.md\n Critical failures escalated — 3+ critical = alert user"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/suryast/cron-doctor",
    "publisherUrl": "https://clawhub.ai/suryast/cron-doctor",
    "owner": "suryast",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cron-doctor",
    "downloadUrl": "https://openagent3.xyz/downloads/cron-doctor",
    "agentUrl": "https://openagent3.xyz/skills/cron-doctor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cron-doctor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cron-doctor/agent.md"
  }
}