repo-unlink
Skill0 starsChanged 2 months agoMITView on GitHub
Unlink a repository from the vault: mark its document unlinked, and decide what happens to the threads and topics that depend on it. The document stays, so every link to it holds. The repository on disk is never touched. Use for unlink, remove this repository, forget this repo, the repository moved away. Linking is repo-link.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- atlas-onboardSkill
- atlasSkill
- chord-closeSkill
- chord-createSkill
- chord-workSkill
- repo-ingestSkill
- repo-linkSkill
- thread-closeSkill
- thread-runSkill
- thread-specSkill
- thread-stubSkill
- thread-tasksSkill
- thread-verifySkill
- thread-workSkill
- wiki-editSkill
- wiki-ingestSkill
- wiki-mapSkill
- wiki-querySkill
- wiki-reviewSkill
- wiki-saveSkill
- wiki-syncSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 21
Call context with repository: its own tag (defines), and the open threads with a task list for it.
- Distinctive: line 28
Ask one question with the counts and a recommended answer for each group:
- Very specific: line 37
Never remove the repository document: change refuses it while a task list names it.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
repo-unlink
A repository can leave the vault while its code stays on disk. The repository document
stays too, marked unlinked, so the task lists that name it and the topics that cite it
keep a live link. Agents no longer work in the old folder. The open threads with tasks
for the repository and the topics under its tag must go somewhere, so this skill asks
once, with a recommendation for each group, and then makes the change and the thread
writes.
Tools: context, search, thread, change. References:
changes.md,
threads.md.
Procedure
- Call
contextwithrepository: its own tag (defines), and the open threads with a task list for it. - Count the two groups:
- the threads that are not ended and have a task list for it:
threadlist withrepository; - the topics under its own tag:
searchwithtags: [<its tag>]andtypes: [topic].
- the threads that are not ended and have a task list for it:
- Ask one question with the counts and a recommended answer for each group:
- open threads: keep them and drop the open tasks of that repository's list (recommended), or drop the threads;
- topics under its tag: keep them (recommended; they still describe the system, and the tag and the repository document remain), or remove the ones the user names.
- Build the change: a modify of the repository document with
fields: {unlinked: true}. Code emptiespath, drops the git facts, and turns the lead callout into[!repository-missing]. Add a remove for each topic the user chose to remove, withredirectto a document that covers its subject when one exists. Never remove the repository document:changerefuses it while a task list names it. - For the threads, per the answer:
threadcheck withtask,state: dropped, andreasonfor each open task of that list, orthreaddrop withthreadandreason.
Gate
Propose the change. Show the preview and the thread moves together. Wait for the yes,
then apply the change and make the thread writes. Apply runs sync, which takes the
path out of .claude/settings.local.json. Nothing touches the folder on disk.
Hand off
None.
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.

