Skip to content
Security
Command

/memory-self-review

Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMORY.md health, and PROPOSE (never apply) CLAUDE.md/memory edits for human approval.

From plugin
dashclaw
3184 skills3 agents4 commands7 hooks
+1
> /plugin marketplace add ucsandman/DashClaw
> /plugin install dashclaw@dashclaw

Command definition

memory-self-review.md
description: Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMORY.md health, and PROPOSE (never apply) CLAUDE.md/memory edits for human approval.
argument-hint: "[days, default 7]"
model: sonnet

You are running DashClaw's **self-improvement loop**. Your job is to turn the last $1 (default 7) days of agent history into a small, concrete set of PROPOSED improvements to the operator's persistent instructions and memory. This is **human-gated**: you PROPOSE, you do NOT edit `CLAUDE.md`, `MEMORY.md`, or any memory/settings file. The operator reviews and applies.

Keep it cheap and tight — this should be a short, scannable proposal, not an essay.

1. Memory health check

  • Read `C:\Users\sandm\.claude\projects\C--Projects-DashClaw\memory\MEMORY.md`; report its size vs the ~24.4KB cap. If it's over ~20KB, identify the longest index entries and the inline paragraphs that should move into their own topic file (the index must stay a lean pointer list — see `reference_memory_system_boundary.md`).
  • Flag memory files whose status reads as finished history (e.g. "SHIPPED", "RESOLVED", "LANDED on main") that could be demoted to a terse one-line pointer to keep recall sharp.

2. Mine recent history (read-only)

  • Use the claude-mem MCP (`mcp-search`: `search`, `timeline`, `get_observations`) to scan the last $1 days for: repeated corrections from the operator, the same bug class recurring, repeated tool sequences that could be a workflow, and tasks that stalled or were redone.
  • Skim `C:\Users\sandm\.claude\stats-cache.json` for shifts in volume, model mix (Opus vs Sonnet/Haiku share), and effort that suggest a routing or cost-discipline tweak.
  • Be evidence-based: only surface a pattern you can point to (cite session ids / observation ids / dates). A pattern must appear **3+ times** to become a proposed rule. Do not invent patterns to look thorough.

3. Propose (do not apply)

For each finding, write a proposal block:

FINDING: <what recurred>  (evidence: <ids/dates>, seen Nx)
PROPOSED CHANGE: <exact edit — which file, which section, the literal line to add/change>
RATIONALE: <why this prevents the recurrence>

Prefer the smallest durable change: a new one-line rule in the right CLAUDE.md, a new/updated memory file, or a MEMORY.md trim. If something is better solved by a new subagent or workflow than a rule, say so.

4. Output

End with: (a) a `MEMORY.md health: OK | NEEDS TRIM (N KB)` line, (b) the proposal blocks ranked by leverage, and (c) the explicit note: "Nothing was edited — apply the approved items yourself or tell me which to apply." If invoked headlessly (cron), additionally write the full proposal to `docs/superpowers/memory-self-review-PROPOSAL.md` (overwrite) so the operator can read it later; that file is a proposal, not an applied change.

If there is nothing worth changing, say so plainly and stop — a quiet week is a valid result.

Read more
@ucsandman
Ships withdashclaw

Remote approvals, policy checks, and execution evidence for unattended AI agents.

31820 skills3 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
318
Star history of ucsandman/DashClaw on GitHub, a chart by star-history.com

Other commands on dashclaw.

apply-self-review

apply-self-review

Command

Apply the approved improvements from the latest memory-self-review PROPOSAL. Auto-applies the safe, reversible doc/memory edits…

@ucsandman@ucsandmanInstall Command
dashclaw-quality

dashclaw-quality

Command

Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates → triage →…

@ucsandman@ucsandmanInstall Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

skills11d8.2k
@trailofbits@trailofbitsInstall Command
autopilot

autopilot

Command

Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable…

@elementalsouls@elementalsoulsInstall Command