apply-self-review
CommandApply the approved improvements from the latest memory-self-review PROPOSAL. Auto-applies the safe, reversible doc/memory edits…
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.
> /plugin marketplace add ucsandman/DashClaw> /plugin install dashclaw@dashclaw
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.
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.
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.
Apply the approved improvements from the latest memory-self-review PROPOSAL. Auto-applies the safe, reversible doc/memory edits…
Post-commit verification wave — dispatch gate-runner, drift-auditor, and
Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates → triage →…
Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…
Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable…
Check text against AGT prompt-injection, context-poisoning, and MCP threat detectors.