curate
Skill4 starsChanged 48 days agoMITView on GitHub
The bounded self-maintenance pass that sediments stale always-loaded content into the on-demand archive without ever deleting it, keeping the working set flat-or-down while the archive grows freely.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- ai-erp-collab/deterministic-context-routing-plugintheir own version, first seen Oct 15, 2026
- arm092/autoharness-codextheir own version, first seen Oct 15, 2026
- MasRama/pekatheir own version, first seen Oct 13, 2026
- OHOKAYYEAH/claude-skillstheir own version, first seen Oct 13, 2026
- mhxie/Ateliertheir own version, first seen Oct 12, 2026
- njt2810/claude-code-frameworktheir own version, first seen Sep 10, 2026
Used with
Projects with it also use triage and review.
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.Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- iamneilroberts/claude-skills★ 26same name
- Reef123/OpenVera★ 9same name
- philippe-desplats/second-brain★ 6same name
- mhxie/Atelier★ 5same name
- arm092/autoharness-codex★ 1same name
- MasRama/peka★ 1same name
- njt2810/claude-code-framework★ 1same name
- OHOKAYYEAH/claude-skills★ 1same name
- ai-erp-collab/deterministic-context-routing-plugin★ 0same name
- telefrek/vallorcine★ 0same name
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.
In this repository12 other files it gives its agents.
- code-reviewSkill
- context-healthSkill
- demand-pipelineSkill
- find-skillsSkill
- learnSkill
- onboard-projectSkill
- open-prSkill
- planSkill
- portfolio-triageSkill
- releaseSkill
- routeSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
After a burst of learn activity (a heavy multi-session feature, a big incident) that likely added several new entries at once.
- Distinctive: line 47
Always-on discipline set total size (bytes/lines — against whatever cap this portfolio has set).
- Distinctive: line 52
If the pass can't get the always-loaded set under cap without losing routing (i.e.
- Distinctive: line 83
Commit and report: Commit the relocations/merges with messages that name what moved where.
- Distinctive: line 91
If a judgment call is unclear — is this entry actually obsolete, or just quiet?
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Curate skill
The curation half of the self-improvement loop (disciplines/self-improvement-loop.md).
learn fills the library; curate is what keeps the always-loaded part of it from growing
without bound while the library itself keeps growing. Run it periodically (weekly, or any time
the routing index feels cluttered) — not after every task.
Governed by PHILOSOPHY.md primitive #4 (subtract before you add) and
disciplines/curate-dont-accrete.md — read both before running this, they define why this
pass is bounded the way it is.
When to use
- On a schedule (weekly baseline) as harness hygiene.
- Any time the always-loaded routing index (
docs/memory-system.mdLayer 1) feels long, or an agent reports it's hard to find the right memory. - After a burst of
learnactivity (a heavy multi-session feature, a big incident) that likely added several new entries at once.
Skip if the working set is already at or under its cap and nothing has been added since the last pass — there's nothing to sediment.
Hard rules (safety — read before running)
- Preserve the layered on-demand architecture. The whole point of the two-layer memory system (and the same shape applied to disciplines/skills/knowledge) is that a large on-demand archive costs zero context until matched. The ONLY optimization target is the always-loaded tax — the routing index's line count and the always-on discipline set's total size. Never shrink the on-demand archive for its own sake, and never collapse domain/project routing to make the archive "smaller" — that defeats the architecture this whole system is built on.
- Never delete content. The only two moves are: (a) relocate (move a file or a bullet from always-loaded to on-demand, or from one on-demand location to a better one) and (b) merge (combine two entries that say the same thing into the sharper one, keeping the content). Both are reversible by construction — the content survives, just not in the always-loaded set.
- Metrics guard. Capture the working-set metrics before and after the pass:
- Routing index line count (against its stated cap, e.g. ~200 lines — see
docs/memory-system.md). - Always-on discipline set total size (bytes/lines — against whatever cap this portfolio has set).
- On-demand archive file count (
knowledge/, per-project packs, clusters) — this number must stay flat or go up. A curate pass that shrinks the archive has deleted content, which violates the rule above — abort and report instead. If the pass can't get the always-loaded set under cap without losing routing (i.e. every remaining entry is genuinely load-bearing for every task), stop and report the overage rather than force a cut that breaks recall.
- Routing index line count (against its stated cap, e.g. ~200 lines — see
- No secrets ever reach a commit. Grep the staged diff for anything that looks like a credential before committing (see the portfolio's own secret-handling convention if one exists).
- Small, reversible commits. One logical relocation/merge per commit where practical, clear messages, so a bad call is a single revert away.
The pass (in order)
- Baseline. Record the before-metrics: routing index lines, discipline-set size, archive file count. This is the number the pass is judged against.
- Find sediment candidates. An entry is a candidate if it meets ANY of:
- It hasn't been referenced or matched by a task in a long time (stale) AND its content is narrow enough that it doesn't need to be always loaded — it needs to be loadable.
- It duplicates, or nearly duplicates, another entry.
- It's a verbose multi-paragraph entry sitting directly in the always-loaded index instead of behind a pointer (violates the "index is pointers, not content" rule).
- Sediment. For each candidate: move its content into the correct on-demand location — a
domain cluster, a project's knowledge pack, or
knowledge/<category>/(pick the category using the same decision treelearnuses) — and replace the always-loaded entry with either nothing (if it was pure verbose content now living elsewhere) or a one-line pointer (if it's still plausible something will need to pull it back on demand). - Merge near-duplicates. Two entries covering the same lesson: fold into the one with the sharper wording and the more accurate routing metadata; the other's unique content (if any) gets appended into the survivor before it's retired. Nothing is lost, only consolidated.
- Verify the guard. Re-measure the three metrics from step 1. Confirm: routing index ≤ cap, discipline set ≤ cap, archive file count ≥ baseline. If any check fails, the pass is not done — either sediment more (if over cap) or investigate what shrank the archive (if that dropped, something was deleted instead of relocated — fix it before committing).
- Commit and report. Commit the relocations/merges with messages that name what moved
where. Report a one-line digest: before → after for each of the three metrics, plus a short
list of what was relocated or merged and why. This report is itself worth keeping — it's the
evidence that the flat-or-down claim in
disciplines/curate-dont-accrete.mdis actually true over time, not just asserted.
Boundary
If a judgment call is unclear — is this entry actually obsolete, or just quiet? which category does this straddle? — leave it and report it rather than guess. Curation errs toward keeping content in place; the only aggressive move it's allowed to make is relocation, which is reversible. A deletion is never the right call for this skill — if something genuinely needs to be destroyed (a secret leaked into a file, content that's actively wrong and dangerous to keep around), that's a decision for a human, not this pass.
Why this exists
Without a bounded curator, a system that only ever runs learn (add, add, add) accumulates
until the always-loaded routing index blows its cap and stops being read in full — recall
degrades invisibly, which is worse than never having captured the lesson at all, because now
there's a false sense that it's covered. curate is the other half of the flywheel: it's what
makes "on-demand archive grows without limit, always-loaded core stays flat" an actual property
of the system instead of an aspiration.
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.

