cron-audit

Cron Audit (read-only): A read-only health audit for cron jobs and scheduled AI agent tasks, intended to find silent failures, duplicate jobs, over-frequent schedules, and stale automations.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cron-audit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-74e4d0b797793ec490724e85d708668ec7781c67d316d4b1e3d8a0aacd55b7c9. Verify the upstream source and version against https://skillhub.cn/skills/user_d8831e99/cron-audit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Cron Audit (read-only): A read-only health audit for cron jobs and scheduled AI agent tasks, intended to find silent failures, duplicate jobs, over-frequent schedules, and stale automations.

0 Downloads

Introduction source: third_party · user_d8831e99 · 1.0.0 Reference

SkillPi interpretation

Tasks
Audit OpenClaw cron jobs for failures that stay silent — announce delivery that cannot resolve a recipient (channel "last" in an isolated session, Discord with no "channel:" target), error streaks nobody saw, output or failure alerts that were never delivered, bestEffort muting, jobs without failure alerts, overdue schedules and jobs that never ran. Use when the user asks why a cron job "does nothing", whether scheduled jobs are healthy, wants a cron health check or watchdog, or before re-enabling an old job.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: cron-audit
description: Audit OpenClaw cron jobs for failures that stay silent — announce delivery that cannot resolve a recipient (channel "last" in an isolated session, Discord with no "channel:" target), error streaks nobody saw, output or failure alerts that were never delivered, bestEffort muting, jobs without failure alerts, overdue schedules and jobs that never ran. Use when the user asks why a cron job "does nothing", whether scheduled jobs are healthy, wants a cron health check or watchdog, or before re-enabling an old job.
metadata: {"openclaw": {"emoji": "🧭", "requires": {"bins": ["python3", "openclaw"]}}}

OpenClaw Cron Audit

A cron job can fail on every run and look fine: its output goes to an unresolvable target, its failure alert falls back to the same target, and bestEffort mutes the rest. This skill finds those jobs from openclaw cron list --all --json. Python 3 standard library only.

Run it

python3 {baseDir}/scripts/cron_audit.py --full      # every current finding, human-readable
python3 {baseDir}/scripts/cron_audit.py --json      # the same as JSON
python3 {baseDir}/scripts/cron_audit.py             # change report for a cron job (prints NO_REPLY when nothing changed)

--full and --json never write state, so they are safe to run any time. Add --strict to exit 1 when an error-level finding exists.

Reading findings

Icon Meaning
🔴 enabled job that fails or will fail silently — fix now
🟡 enabled job at risk (no failure alert, bestEffort, overdue, never ran, undelivered output)
⚪ disabled job with a problem — harmless until someone re-enables it

Checks: route, errors, delivery, alert-route, alert-failed, no-alert, best-effort, overdue, never-ran. See README.md for what each one means and why it is silent.

Fixing what it finds

Pick the delivery mode by what the job does — do not blindly add --announce:

  • The agent posts its own results (monitors, hunts, anything that must stay quiet when there is nothing to say): openclaw cron edit <id> --no-deliver. With --announce the runner ships the final turn text on every quiet cycle.
  • The runner should deliver (digests, reports, reminders): pin it fully, e.g. openclaw cron edit <id> --announce --channel discord --account <accountId> --to "channel:<id>" --no-best-effort-deliver.
  • Missing alert: openclaw cron edit <id> --failure-alert --failure-alert-after 3 --failure-alert-channel <ch> --failure-alert-to <dest> --failure-alert-cooldown 12h.

Ask the user before editing jobs. Never re-enable a ⚪ job without fixing its route first.

Automatic repair (--heal)

--heal edits live jobs, so only use it when the user asked for it:

  • repairs broken routes on enabled jobs from per-agent defaults in ~/.openclaw/cron-routes.json (template: {baseDir}/references/cron-routes.example.json); repaired jobs are reported loudly so a human re-points them at the right thread;
  • arms missing failure alerts when a destination is given with --alert-channel and --alert-to (or CRON_AUDIT_ALERT_CHANNEL / CRON_AUDIT_ALERT_TO, optional --alert-account).

Without that configuration --heal repairs nothing and only reports.

Scheduling it as a watchdog

openclaw cron add --name cron-audit --cron "17 */6 * * *" --session isolated \
  --command "python3 {baseDir}/scripts/cron_audit.py --heal" --timeout-seconds 180 \
  --announce --channel discord --account <accountId> --to "channel:<id>"

It posts only when something appears, clears or gets healed, plus a weekly digest (which says "all N cron jobs look healthy" when there is nothing to report, so silence never means the audit died). If the gateway is unreachable it says so once and stays quiet until that changes.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决 cron jobs 静默失败的实际痛点,具有高频运维价值
  • 提供完整的检测、修复和自动化监控方案
Trigger Precision90/100

Highlights

  • 触发描述精准覆盖多种用户场景(健康检查、故障排查、监控设置)
Structure and Standards95/100

Highlights

  • 结构清晰分阶段,包含完整命令示例和修复指导
  • frontmatter 完整,图标说明直观易懂
Execution Reliability90/100

Highlights

  • 工具来源明确,参数说明完整,强调只读操作安全性
  • 提供配置模板和自动化修复逻辑
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.