cron-audit
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cron-audit":https://skillpi.com/zh/skills/deepskill-74e4d0b797793ec490724e85d708668ec7781c67d316d4b1e3d8a0aacd55b7c9。安装前核对上游来源和版本:https://skillhub.cn/skills/user_d8831e99/cron-audit。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Cron 审计(只读):用于对 cron 作业和计划 AI Agent 任务进行只读健康检查,发现静默失败、重复作业、过于频繁的调度以及陈旧的自动化。
介绍来源: third_party · user_d8831e99 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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--announcethe 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-channeland--alert-to(orCRON_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.
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决 cron jobs 静默失败的实际痛点,具有高频运维价值
- 提供完整的检测、修复和自动化监控方案
亮点
- 触发描述精准覆盖多种用户场景(健康检查、故障排查、监控设置)
亮点
- 结构清晰分阶段,包含完整命令示例和修复指导
- frontmatter 完整,图标说明直观易懂
亮点
- 工具来源明确,参数说明完整,强调只读操作安全性
- 提供配置模板和自动化修复逻辑
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。