drift-watcher
Automated postmortem scanner for detecting and reporting recurring cron job failures.
Install
mkdir -p .claude/skills/drift-watcher && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11358" && unzip -o skill.zip -d .claude/skills/drift-watcher && rm skill.zipInstalls to .claude/skills/drift-watcher
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Hourly cron-postmortem sweep — scans launchd job logs for failure signatures and emits Drift incidents for routing through the incident pipeline.Key capabilities
- →Scan launchd job logs
- →Detect cron failure signatures
- →Emit Drift incident records
- →Reset status on job recovery
How it works
The skill runs an hourly sweep of launchd logs, matches output against known failure signatures, and emits incidents to the Drift pipeline.
Inputs & outputs
When to use drift-watcher
- →Monitoring cron job health
- →Reporting recurring failures
- →System-level task observability
About this skill
drift-watcher — hourly cron health sweep
Phase 1 of the Drift incident ledger: detect cron failures by reading launchd log output and emit structured incident records.
When this runs
- Primary: cron.
ai.openclaw.drift-watcher.plistfires hourly 09:00–00:00 local. - Wrapper: through
skill-wrapper --skill drift-watcher --agent main --trigger cron.
What it does
Invokes ${OPENCLAW_HOME}/bin/cron-postmortem-watch:
- Read recent launchd stdout/stderr logs for known plists.
- Match against failure signatures (Nth consecutive error, timeout, missing artifact, etc.).
- For each match, call
incident emitwith the appropriate taxonomy. - Apply green-path counter reset when a previously-failing job recovers.
Exit codes
0— sweep completed (incidents emitted as needed)non-zero— script-level error reading logs
Files
- Script:
${OPENCLAW_HOME}/bin/cron-postmortem-watch - Plist:
$HOME/Library/LaunchAgents/ai.openclaw.drift-watcher.plist - This spec:
${OPENCLAW_HOME}/skills/drift-watcher/SKILL.md
Related
incident-emit— direct downstream.incident-analyze/incident-notify— phases 2/3.drift-learn— phase 4 (weekly aggregation).
When not to use it
- →When monitoring non-launchd tasks
- →When the Drift incident pipeline is unavailable
Prerequisites
Limitations
- →Limited to hourly execution schedule
- →Requires access to specific plist files
How it compares
It automates the postmortem detection process for cron jobs rather than relying on manual log inspection.
Compared to similar skills
drift-watcher side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| drift-watcher (this skill) | 0 | 1mo | No flags | Intermediate |
| system-info | 1 | 6mo | Review | Beginner |
| it-operations | 1 | 7mo | No flags | Advanced |
| pagerduty-automation | 0 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
system-info
Xxiii8322766509
系统信息查询技能。用于获取电脑硬件信息、系统状态、进程列表、磁盘空间等。当用户询问电脑配置、系统状态或性能信息时使用。
it-operations
davila7
Manages IT infrastructure, monitoring, incident response, and service reliability. Provides frameworks for ITIL service management, observability strategies, automation, backup/recovery, capacity planning, and operational excellence practices.
pagerduty-automation
T-Sunm
Automate PagerDuty tasks via Rube MCP (Composio): manage incidents, services, schedules, escalation policies, and on-call rotations. Always search tools first for current schemas.
oly
slaveOftime
Use when starting a long-running or interactive CLI command with oly, especially when it may need later input, should be detachable, or should keep durable logs for supervision and resume.
incident-response
fabioc-aloha
Calm, systematic crisis handling — from detection through post-mortem to prevention
monitor-ci
ever-co
Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, g