Drift watcher
A drop-in self-improving memory + operations harness for AI agents (OpenClaw / Hermes / Claude Code / Codex). Layered memory, autonomous drift-fixing loop, evals, and one-command DR. Templates + scripts, no secrets.
npx -y skills add Walliiee/agent-harness --skill drift-watcherAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Hourly cron-postmortem sweep — scans launchd job logs for failure signatures and emits Drift incidents for routing through the incident pipeline.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.5 KB, 318 tokens by cl100k_base, as published. Nobody here has run it
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).