wiki-edit
Skill0 starsChanged 2 months agoMITView on GitHub
Change knowledge that exists: rewrite, rename, merge, split, remove with a redirect, retag, confirm a topic is current, promote a stub to a topic, or repair what lint found, as one reviewed change. Use for rewrite this topic, rename, merge these topics, split this topic, tag this under p3, rename a tag, make this stub a topic, this page is still right, fix the lint findings, fix the dead links. New knowledge from documents is wiki-sync; unlinking a repository is repo-unlink.
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
- repo-unlinkSkill
- thread-closeSkill
- thread-runSkill
- thread-specSkill
- thread-stubSkill
- thread-tasksSkill
- thread-verifySkill
- thread-workSkill
- 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
5 rules. About 0 are common, 1 is distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Every change to knowledge that exists goes through one change document.
- Very specific: line 19
Read each document with Read, and the documents that link to it (search its title, or grep for [[Title).
- Very specific: line 28
remove: a remove with redirect set to the document that links now name.
- Very specific: line 37
Leave base out unless you read the document's hash.
- Very specific: line 39
Use a tag that exists before you make a new one.
≈ “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
wiki-edit
Every change to knowledge that exists goes through one change document. Renames, removes, and retags keep every link and tag true, because code rewrites them in the same commit.
Tools: search, lint, change. References: changes.md,
pages.md.
Procedure
- Resolve the documents to ids with
search. For lint repairs, calllint(withtagsto check only the documents under them) and take the findings the user chose. - Read each document with Read, and the documents that link to it (
searchits title, or grep for[[Title). - Build the Wiki Change Plan, one write per move:
- rewrite: a
modifywith the whole newbody; - rename: a
renamewith the newtitle; code rewrites the links; - merge: a
modifyof the topic that stays, with both contents and both citations, and aremoveof the other withredirectset to the topic that stays; - split: a
modifyof the topic, and acreate(type: topic,kind,title,fields,body) for each new topic, linked both ways; - remove: a
removewithredirectset to the document that links now name; - new tags on a document: a
modifyoffields.tags(the whole list); - rename or merge a tag: a
retagwithfromandto; code rewrites the tag in every document, the tags below it too; atothat exists merges the two; - a stub that is one topic: a
promotewithid(a stub with no spec),kind(concept, entity, policy, or overview),fields,body, and a newtitlewhen it needs one; code keeps## Ideaas## Origin; - a topic checked and still true: a
confirmwithid; - a dead link: create the target, or change the link in a
modify. Leavebaseout unless you read the document's hash; code records it at propose, and apply refuses a write whose document changed since. Use a tag that exists before you make a new one. Intagging: knownmode, setnew_tags: trueonly after the user agreed to each new tag.
- rewrite: a
Gate
Propose with change action: propose. Show the preview: name each new tag, and count
the documents a retag rewrites. Wait for the yes, then apply. The change tool refuses
apply in the same turn as the proposal.
Hand off
wiki-review to check the result, after a large repair.
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.

