agentleFS
nathanadaynathanaday/atlas-obsidian/skills/wiki-map/SKILL.md

wiki-map

Skill0 starsChanged 2 months agoMITView on GitHub

Map a tag from the documents under it: write or refresh its overview topic; where two child tags hold one subject, widen the topic's tags to the parent; where they hold related subjects, bridge them with a topic under the parent. Use for organize the wiki, map this tag, what do these repositories share, map the relationships, write the page for this tag, lift this to p3. Renaming or merging a tag is wiki-edit.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call context with tags: [<tag>] (or with no tags for the vault).

    line 20
  2. Very specific:

    Call match with tags: [<tag>] and across: true.

    line 25
  3. Very specific:

    The overview: Write the tag's overview topic, or modify the one that exists: a create with type: topic, kind: overview, and fields.defines …

    line 41

≈ “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.

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

wiki-map

The wiki grows up the tag tree. Topics start under narrow tags, such as a repository's tag. For a tag, this skill compares the topics under its child tags. What two child tags share widens to the parent tag, and what they hold in relation gets a bridge topic under the parent. The tag's overview topic says what the tag holds. Repeat on the parent tag, up to the top.

Tools: context, search, match, change. Agents: wiki-draft. References: changes.md, pages.md.

Procedure

  1. Call context with tags: [<tag>] (or with no tags for the vault). Read the tag's page in pages, when one exists, and note the child tags and their counts in tags.
  2. Collect the topics under the tag with search (tags: [<tag>], types: [topic], a high limit). Read them.
  3. Call match with tags: [<tag>] and across: true. It compares each topic under the tag only with topics under a different child tag. Each hit or near pair joins two child tags.
  4. Decide each pair or group, reading the topics:
    • the same subject under two or more child tags → widen: keep one topic, merge the other's claims into it with their citations, set its tags to the parent tag (or add both child tags), and remove the other with redirect to the topic that stays;
    • related subjects → bridge: a create of a concept under the parent tag that explains how they relate, linked from both;
    • a policy that holds under every child tag → widen its tags to the parent tag;
    • different subjects under one name → rename one, so no reader confuses them. In tagging: open mode, also propose a new child tag when a cluster of documents under this tag shares much and no child tag holds it: a modify of each document's tags. In tagging: known mode, name the new tag and set new_tags: true only after the user agreed.
  5. The overview. Write the tag's overview topic, or modify the one that exists: a create with type: topic, kind: overview, and fields.defines set to the tag, or a modify of the topic that defines it. Its body: ## Summary (what the tag holds, for a reader), ## Context (what an agent must know to work under the tag), and ## Related. Code writes ## Map. One document defines a tag; a repository already defines its own tag, so it gets no overview. Leave out a tag with few documents and nothing to say.
  6. Send wiki-draft with the pairs when there are more than eight groups, at most eight per worker.
  7. Build one change for the tag: change with action: propose, title ("Map #work/p3"), and notes with each decision and its reason.

Gate

Propose, then show the preview as four lists: the overview, the widenings, the bridges, and the renames. Wait for the yes, then apply. The change tool refuses apply in the same turn as the proposal.

Hand off

The same skill on the parent tag, when the user wants to go on up.

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.