sweep
Skill1 starsChanged 6 months agoApache-2.0View on GitHub
Periodic maintenance sweep of the two stores that rot silently between sessions — machine-local agent memory and the ADR set. Use when the user asks to run a maintenance sweep, drain or clean up agent memory, audit ADRs, or on the recurring ~2-week / N-slice cadence.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- YSAA1/harness-workflowtheir own version, first seen Sep 23, 2026
- samsam007b/carriere-kittheir own version, first seen Sep 17, 2026
- simota/agent-skillstheir own version, first seen Sep 17, 2026
- AlexCunliffe/helmtheir own version, first seen Sep 10, 2026
Used with
Projects with it also use implement, triage and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 4 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- optave/ops-codegraph-tool★ 98same name
- simota/agent-skills★ 87same name
- AsiaOstrich/universal-dev-standards★ 76same name
- iamneilroberts/claude-skills★ 26same name
- YSAA1/harness-workflow★ 3same name
- drewdrewthis/claude-skills★ 2same name
- MH221B/skills★ 2same name
- croftspan/gigo★ 1same name
- AlexCunliffe/helm★ 0same name
- lohi-ai/babysit★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Maintenance sweep
Two stores rot silently between sessions: machine-local agent memory (stale snapshots read as current) and the ADR set (rationale that drifts against the code, or entries that no longer constrain anything). This skill is the recurring procedure that drains them. Run every ~2 weeks or every N slices, whichever lands first — or whenever the user invokes it.
This skill owns the procedure; the policy it enforces lives in docs. Don't restate the rules here — read them:
- Memory policy (forcing-condition frontmatter, the graduation table, what never goes in) →
docs/agents/memory-lifecycle.md. - ADR authoring + audit procedure → the
adrskill (it owns the convention and the fold procedure; this skill just runs it on the cadence).
1. Memory sweep
Walk ~/.claude/projects/<repo>/memory/MEMORY.md top-to-bottom. For each memo:
- Forcing condition met? —
until-adr-NNNNlanded,until-issue-NNNclosed,until-YYYY-MM-DDpassed. Graduate the content to its home per the graduation table inmemory-lifecycle.md(ADR /docs/agents// GH issue /CHANGELOG.md/docs/private/), then delete the memo and itsMEMORY.mdline. - Snapshot >30 days? — re-read against current code; refresh the date or delete.
- No forcing condition? — wrong shape: add one, or convert to
permanentwith a justification in the description. - Project ledger? — shipped history →
CHANGELOG.md; open items → a GH issue with the right label.
A drained MEMORY.md is the success state, not a failure — load-bearing memos graduate to the repo; the rest were disposable.
2. ADR audit
The ADR audit lives in the dedicated adr skill — it owns the authoring convention and the audit/fold procedure. Run it as the ADR half of the sweep: pnpm check:adr to clear the deterministic flags, then its by-hand pass (still load-bearing? constrains nothing? holds a command-falsifiable result?). Surface anything ambiguous rather than archiving it.
Reporting
Summarize what moved: memos graduated/deleted, ADRs archived/trimmed, the pnpm check:adr end-state (green, or what was fixed to get there), and anything that needs a human decision (a memo with no clear home, an ADR whose load-bearingness is ambiguous). Never delete or archive anything ambiguous without surfacing it first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

