agentsclimarketplace

Drift watcher

Skill Walliiee/agent-harness/skills/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.

Install
npx -y skills add Walliiee/agent-harness --skill drift-watcher

Assembled 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.plist fires 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:

  1. Read recent launchd stdout/stderr logs for known plists.
  2. Match against failure signatures (Nth consecutive error, timeout, missing artifact, etc.).
  3. For each match, call incident emit with the appropriate taxonomy.
  4. 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).

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.