wiki-edit
Skill1 starsChanged 37 days agoMITView on GitHub
Change knowledge that exists: rewrite, rename, merge, split, remove with a redirect, retag, confirm a topic is current, or repair what lint found, as one reviewed change; and draft the topic of a subject that a wikified note marks as new, or that the user selects in a note with Make topic. Use for rewrite this topic, rename, merge these topics, split this topic, tag this under p3, rename a tag, this page is still right, fix the lint findings, fix the dead links, draft a topic titled X from this note. New knowledge from documents is wiki-sync; unlinking a repository is repo-unlink.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- nathanaday/almagestword for word, first seen Oct 8, 2026
- nathanaday/atlas-obsidianword for word, first seen Oct 7, 2026
Other versions2 projects use a version of this.
Word for word · 2
- nathanaday/almagest★ 1100% same
- nathanaday/atlas-obsidian★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- almagest-onboardSkill
- almagestSkill
- repo-ingestSkill
- repo-linkSkill
- repo-unlinkSkill
- wiki-checkoutSkill
- wiki-ingestSkill
- wiki-mapSkill
- wiki-querySkill
- wiki-reviewSkill
- wiki-saveSkill
- wiki-syncSkill
- wiki-wikifySkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Every change to knowledge that exists goes through one change document.
- Very specific: line 20
Read each document with Read, and the documents that link to it (search its title, or grep for [[Title).
- Very specific: line 29
remove: a remove with redirect set to the document that links now name.
- Very specific: line 44
Leave base out unless you read the document's hash.
- Very specific: line 46
Use a tag that exists before you make a new one.
- Very specific: line 60
when another document covers its subject, a remove with redirect set to it.
- Distinctive: line 79
Create on a new mark of a wikified note (wiki-wikify): "Draft a topic titled <Title> from [[<note>]] and what the wiki holds.
- Distinctive: line 93
Read the note with Read: the passage around the mark or the link, and every other place where the note speaks of the subject.
- Distinctive: line 96
Read the topics and sources that say something about it.
≈ “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
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. A remove moves the document to tool/trash/; undo moves it back. You may undo
only a change of a session: the user undoes the user's own acts (safe delete, Return).
Tools: vault, 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; tell the user that the document goes totool/trash/; - new tags on a document: a
modifyoffields.tags(the whole list); - a new place on the map: a
modifyoffields.up(the whole list; see Up in pages.md); - 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 topic checked and still true: a
confirmwithid; - a dead link: create the target, or change the link in a
modify; - an
upfinding: drop a self link; break a cycle at the link that points from the broader subject to the narrower one; drop theupof a source.crowdedis wiki-map's; - a dead link that names an alias, an id, or plain text: link the title the finding
names.
Give every write a
why: one line that says why the change makes it. 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
Safe delete with backlinks
The palette's "Resolve with an agent" message names a knowledge document that the user
wants to delete, and the documents that link it: "Remove [[<title>]] …: point each
backlink elsewhere, or drop it, then propose a remove". The palette offers it only when
documents link the target. When files of the user's link it too, the message names
them: "[[<note>]] is the user's to fix, so leave it and propose no remove".
- Find the backlinks. The message names at most ten ("4 more"), so also
searchthe title and grep the vault for[[<title>. - Build one plan:
- when another document covers its subject, a
removewithredirectset to it; code points the links there, but not inscratchpad/,journals/, orcheckout/; - otherwise, a
modifyof each linking knowledge document that points the link to another document or drops it, then aremove.
- when another document covers its subject, a
- A link outside the knowledge documents is the user's: in
scratchpad/,journals/,checkout/, or any other note. Do not edit it. When the message names such a file, or you find one, propose themodifywrites only, with noremove, and tell the user which files to fix before Safe delete runs again. A checked-out copy links its original incheckout_of. - A file that is not a knowledge document (a note, an original) never comes to you
from the palette, and no change removes it. A source's original in
tool/source-core/originals/leaves only with its source.
Draft a topic from a note
Two acts in Obsidian start a work document of kind draft and send you its first
message. Report each step below with change action: progress and that id.
- Create on a new mark of a wikified note (wiki-wikify):
"Draft a topic titled
<Title>from [[<note>]] and what the wiki holds; give it a why. Your work document is [[<doc>]] (<id>): report each step with change progress, and propose into it with change propose and id<id>." The note is the wikified copy inscratchpad/, and the mark{{new:<Title>|…}}names the subject. - Make topic on a selection in any note of the user's: "Draft a topic titled
<Title>from the note<path>, where the user linked "<phrase>" to it, and what the wiki holds; …" with the same end. The note may be a topic, a journal note, or a scratchpad note. The selection is a link[[<Title>|<phrase>]](or[[<Title>]]) already, so the topic resolves it.
searchthe title. When a document holds it already, propose nothing: callchangewithaction: reject, theid, and the reason ("<Title>exists", or "<Title>is an alias of<Other>"). The bubble in a wikified note then offers Link.- Read the note with Read: the passage around the mark or the link, and every other place where the note speaks of the subject. Never edit the note.
searchthe wiki for the subject: its title, the note's wording, and its aliases. Read the topics and sources that say something about it.- Build one
createwrite:type: topic, thekindthat fits the subject (concept, entity, or policy), andtitleset to<Title>exactly, so that the bubble's Link finds the topic and the user's link resolves. Give itfields: a one-sentencedescription,tagsthat exist (the tags of the documents it draws on; the tag list is in the session-start context, orvault),aliases(the note's wording when it differs),status(draftwhen the topic is thin), andsources. Write the body with the sections of its kind (pages.md), and link the wiki's related topics under## Related. - Cite every claim. Cite a document of the wiki, with a locator, for each claim it
supports, and list it in
sources. A claim that only the note makes is the user's: cite the note, keep the user's wording, and never write more than the note says. - Give the write a
why: one line on what the note does with the subject, and that the wiki has no topic for it. - Propose with
changeaction: proposeandid, withnotesthat name the note. One write: the topic. Change no other document.
Gate
Propose with change action: propose, with id when a work document runs. End the
turn with one or two lines: the change document as a link, each new tag, the count of
documents a retag rewrites, and for a remove, that the document goes to tool/trash/. Wait
for the yes in the chat, then apply, or let the user decide in the document. 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.

