agentleFS
nathanadaynathanaday/claude-atlas/skills/wiki-sync/SKILL.md

wiki-sync

Skill1 starsChanged 37 days agoMITView on GitHub

Absorb sources into the wiki through one pipeline: chunk, extract, match, draft, change. It serves every way knowledge enters: a captured file, a repository snapshot, a saved passage, a published journal edition. Use for sync the wiki, absorb the pending sources, update the wiki from this source, what does the wiki still need to learn. Capturing files is wiki-ingest; changing topics that exist is wiki-edit.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    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
  1. Very specific:

    Chunks: Call source with action: chunks and doc for each source.

    line 32
  2. Very specific:

    Match: Call match with every Item Map at once in items, so a subject named in three chunks is one subject.

    line 39
  3. Distinctive:

    Slice: Put every subject that hits or nears one topic into one slice, so two drafters never write one topic.

    line 41
  4. Very specific:

    When progress or propose refuses with "the user cancelled ….

    line 64
  5. Distinctive:

    Never paraphrase the edition into a claim it does not make.

    line 78
  6. Very specific:

    Never change a note in journals/ or the edition's text in tool/source-core/originals/.

    line 80

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

wiki-sync

A source is pending until an applied change absorbs it. This skill drains pending sources: it cuts each into chunks, sends a worker to extract what each chunk says, matches the subjects against the wiki in code, sends drafters to decide and write, and proposes one change the user reviews. When wiki-ingest hands it a work document, every step goes into that document, and the change fills it.

Tools: vault, source (chunks, read), match, change. Agents: wiki-extract, wiki-draft. References: changes.md, pages.md.

Procedure

  1. Sources. Take the ids given, or the pending list from vault. The palette's Publish message names one journal edition and a work document: "Absorb the source [[…]] (<id>), the user's journal edition. … Your work document is [[…]] (<id>)". Use that work document, as wiki-ingest does, and follow A journal edition. One change holds at most about ten sources or forty chunks; more is several changes, one after another. From the same vault call, keep the tag list (every tag with its count), the tagging mode, and the vault's description. With a work document id, report each step below with change action: progress, one line each: "extracted 9 of 12 chunks", "matched 31 subjects: 12 hits, 4 near, 15 new", "drafted 14 writes in 3 slices".
  2. Chunks. Call source with action: chunks and doc for each source.
  3. Extract. Send one wiki-extract per chunk, in waves of at most eight. Give each the source id, the chunk index, the source's tags, the tag list, and the vault's description. A single small chunk, extract yourself: source with action: read, then the procedure of wiki-extract.
  4. Check. Each Item Map names its chunk and is complete. Send a partial chunk again, narrower.
  5. Match. Call match with every Item Map at once in items, so a subject named in three chunks is one subject.
  6. Slice. Put every subject that hits or nears one topic into one slice, so two drafters never write one topic. At most eight subjects per slice.
  7. Draft. Send one wiki-draft per slice, with the ids of the sources being absorbed, their tags, the tag list, and the tagging mode. Draft yourself when there are one or two slices.
  8. Assemble the Wiki Change Plan:
    • every drafted write;
    • for each source: a modify of the source, with its description, tags, authority, ## Summary, and ## Structure (from the chunk summaries; keep the embed line at the top of the body; a journal edition keeps authority: primary);
    • absorbs: the source ids;
    • new_tags: true when a write adds a tag that no document holds, and the user agreed to it in tagging: known mode;
    • title: a short name ("Ingest the DINOv2 paper"); notes: what the change does, the triage lines from wiki-ingest, the coverage (every chunk read, any chunk partial), and every skipped subject with its reason;
    • a why on every write: one line that says why the change makes it. Past 25 new topics, keep the ones the most claims support and list the rest in the notes for a later run.
  9. Propose the change: change with action: propose, and id set to the work document when one runs. When the sources make several changes, the first fills the work document and the others are new change documents.

When progress or propose refuses with "the user cancelled …; stop the work", stop at once: send no more workers, and say in one line that the user cancelled the work.

A journal edition

A source with origin: journal is an edition of a journal volume: a copy of the user's own notes, captured when the user pressed Publish. Its title is "User Journal <volume name> - <D Month YYYY> Edition". Each section of its text is one note, headed by the note's path in the volume (## labs/Lab 1). The edition holds the user's words, so these rules apply to it in addition to the procedure:

  • Cite the edition on every claim it supports, with the section as the locator: [[User Journal CS566 Notes - 6 October 2026 Edition]], labs/Lab 1.
  • Where a topic quotes the user, quote the edition's wording exactly.
  • Never paraphrase the edition into a claim it does not make. Keep the user's opinion an opinion, and the user's question a question.
  • Never change a note in journals/ or the edition's text in tool/source-core/originals/. The source's modify in step 8 sets only description, tags, ## Summary, and ## Structure (one line per section), and keeps authority: primary.
  • Tell each extractor and each drafter that the source is a journal edition.

Gate

End the turn with one or two lines: the change document as a link, the count of writes, and each new tag. The document's Summary and Notes hold the rest; do not repeat them in the chat. The user decides once, in the document (Approve or Cancel), or with a yes in the chat. On a yes in the chat, apply. The change tool refuses apply in the same turn as the proposal. A change the user approves or cancels in Obsidian needs nothing more from you.

A change with no writes (the sources held nothing new) needs no yes. Apply it and say so in one line: the sources are no longer pending.

Hand off

wiki-map when new topics landed under two child tags of one tag; wiki-review after a large sync.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.