kb-archive
Skill0 starsChanged 29 days agoMITView on GitHub
Move a fully superseded KB file to archive/ and fix inbound links. Use when the user says: archive X, retire Y, clean up outdated content.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-entrySkill
- add-todoSkill
- complete-todoSkill
- deadlinesSkill
- financeSkill
- financial-summarySkill
- kb-add-folderSkill
- kb-auditSkill
- kb-promoteSkill
- kbSkill
- kb-synthesizeSkill
- meetingSkill
- studySkill
- study-statusSkill
- study-unstudiedSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Verify archive criteria per CONVENTIONS §"Growth rules":
- Very specific: line 14
No active decision references it: check decisions/*.md for [[<slug>]] matches.
- Distinctive: line 15
If any criterion fails, report to user and ask if they want to override.
- Very specific: line 17
If the archived file has supersedes: or is cited by a current file, add a note to the archive/ version stating which file replaced it (for …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/kb-archive <path>
Usage: /kb-archive brainstorming/2026-04-05-example-slug.md.
- Acquire
runs/.lock. - Verify archive criteria per CONVENTIONS §"Growth rules":
- Fully superseded: file has
supersedes:coming from a newer file OR user confirms it's retired. - Uncited for
ARCHIVE_UNCITED_MONTHS:git log -S '[[<slug>]]' --since="<ARCHIVE_UNCITED_MONTHS> months ago"returns empty; grep repo for[[<slug>]]returns only the file itself. - No active decision references it: check
decisions/*.mdfor[[<slug>]]matches. If any criterion fails, report to user and ask if they want to override. Do not override silently.
- Fully superseded: file has
- Move:
git mv <path> archive/<path>(createsarchive/<subfolder>/<file>preserving structure). - If the archived file has
supersedes:or is cited by a current file, add a note to the archive/ version stating which file replaced it (for historical continuity). - Regenerate INDEXes:
python3 scripts/rebuild-indexes.py. The source folder's INDEX.md will lose the entry; archive/INDEX.md (if configured for listing) will gain it. Stage all modified INDEX.md files. - Commit:
archive: <slug>. Push. - Release the lock.
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.

