agentsclimarketplace

Memory capture audit

Skill Walliiee/agent-harness/skills/memory-capture-audit

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 memory-capture-audit

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

Nightly check that today's daily memory file was written by memory-capture (mc:v1 fingerprint + at least one mc:item stamp). Emits a Drift incident on freehand-write violations.

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.9 KB, 401 tokens by cl100k_base, as published. Nobody here has run it

memory-capture-audit — fingerprint enforcement

Catches freehand writes to memory/YYYY-MM-DD.md that bypass the memory-capture skill. The skill stamps every write with <!-- mc:v1 --> (file header) and <!-- mc:item --> (per-item). If a daily file exists without these stamps, something or someone wrote freehand — the historical root cause of bloated daily logs.

When this runs

  • Primary: cron. ai.openclaw.memory-capture-audit.plist fires daily at 22:25 (5 min before session-cleanup eod at 22:30, so violations are surfaced before the file is committed).
  • Wrapper: through skill-wrapper --skill memory-capture-audit --agent main --trigger cron.

What it does

Invokes ${OPENCLAW_HOME}/bin/memory-capture-audit.sh --emit-incident --quiet:

  1. Locate today's daily files across all configured workspaces (see ${OPENCLAW_HOME}/config/agents.map).
  2. For each: check for <!-- mc:v1 --> at the top and at least one <!-- mc:item --> in the body.
  3. On violation, emit a Drift incident (memory-capture-bypass-YYYY-MM-DD).

Exit codes

  • 0 — no violations
  • 1 — at least one violation (incident emitted)
  • 2 — script-level error

Files

  • Script: ${OPENCLAW_HOME}/bin/memory-capture-audit.sh
  • Plist: $HOME/Library/LaunchAgents/ai.openclaw.memory-capture-audit.plist
  • This spec: ${OPENCLAW_HOME}/skills/memory-capture-audit/SKILL.md

Related

  • memory-capture — the skill whose fingerprints this audit enforces.
  • incident-emit — downstream receiver of violations.

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.