archive-project
Skill1 starsChanged 3 months agoMITView on GitHub
Archive a $PROJECTS project cleanly and completely. Strips regenerable caches, moves to $PROJECTS/.archive, folds the Notes document into archived.md, then retires every automation pointing at the old path. Only use if user manually invokes.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cm-wada-yusuke/claude-code-product-workshop-kittheir own version, first seen Aug 26, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- cm-wada-yusuke/claude-code-product-workshop-kit★ 18same 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.
- AGENTS.mdAGENTS.md
- add-sourceSkill
- analyze-videoSkill
- clean-projectSkill
- code-standardsSkill
- global-heartbeatSkill
- map-projectSkill
- notes-heartbeatSkill
- researchSkill
- resolve-projectSkill
- sleepSkill
- test-projectSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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 33
Run launchctl bootout gui/$(id -u) <plist> and delete the plist.
≈ “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
archive-project
Archive and offload a project in one pass so nothing is left pointing at the old location, all regenerable caches are removed, temporary deadweight is stripped, and the notes reflects the move.
Steps
- Confirm the target. Resolve the project's current absolute path and its document at
$VAULT/projects/<Name>.md. A project with no document skips the notes step; flag it and continue. - Strip regenerable weight first so the move is fast. Delete
venv,.venv,node_modules,build,out,dist,.next,.turbo,__pycache__,.mypy_cache,.pytest_cache,checkpoints,wandb,target,DerivedData,.build,.swiftpm,Pods,.gradle, and any appropriate files aside fromsrc/,docs/,output/,tests/,README.md, etc. Any data the user named all stay. - Move to the archive:
mv "<path>" "$HOME/Home/Projects/.archive/<name>", keeping the folder name. This crosses trees, somvrather thangit mv. Fold the Notes document into
archived.md. Add a row to the table in$VAULT/projects/archived.mdcarrying the project name, its priority, and one clause naming why it was archived, then deleteprojects/<Name>.md. The durable part of an archived project is the reason it was set down, so a row without one is not done. This skill overrides the read-only rule onstatus, because archiving is the one unambiguous case that rule exists to protect.Never hand-edit
projects/README.md. Its table is spliced between markers byreindex.py, so a hand-removed line returns on the next run. Deleting the note is the whole edit; the table follows.Repair what the deletion broke. Removing
projects/<Name>.mdorphans every[[<Name>]]pointing at it, and per$VAULT/.claude/rules/notes.mda link broken by a deletion is a hole rather than a note worth writing. Repoint each at[[archived]], then:python3 $VAULT/.scripts/reindex.pyWork every line it reports. If the archive touched enough notes that the report runs long, hand the rest to
notes-heartbeat.- Kill the strings that respawn it. Grep the old absolute path across:
~/Library/LaunchAgents/*.plist, checking ProgramArguments, StandardOutPath, StandardErrorPath, and more.- Scan documentation and codebase for any automated or background runs and remove them at the source, ensuring they do not regenerate (comment out code if you need to)
- Run
launchctl bootout gui/$(id -u) <plist>and delete the plist; all automations retire with the project. crontab -l,$VAULT/.claude/scheduled-tasks/,$VAULT/.claude/skills/,$VAULT/.claude/settings.json, and any.mjs,.sh, or config file that hardcodes the path.- A borrowed interpreter counts. A skill can point at another project's
.venvfor libraries it never installed globally;analyze-videopoints atbriefing's. Archiving strips.venvin step 2, so the dependent breaks with a missing-interpreter error that names nothing about the archive. Grep$VAULT/.claude/skills/for the path before the move, not after. - This background/automated behavior check must be extremely thorough. Scan a wide range of folders, check, verify it's gone, and double check until they're gone.
- Verify. The old path is gone and stays gone,
launchctl listplus a grep show no loaded agent still referencing it,archived.mdcarries the new row,reindex.pyruns clean, and no note file still links to the deleted document.
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.

