damusix/atomic-claude/atomic-wiki
Claude Code and agent skill by damusix/atomic-claude
- community
Checking that the SKILL.md file is still in the repository.
Conversational wiki and capture-bucket routing. Fires when the user wants a place, space, or folder for notes, research, tickets, raw dumps, or knowledge capture — checks the <wikis> block in ~/.claude/CLAUDE.md; if the cwd is under a registered realm, creates the folder as a bucket via `atomic wiki bucket add` rather than a bare mkdir. Also fires on "add a bucket", "set up a karpathy wiki", "karpathy realm", "set up a wiki for my projects", "add this to my wiki", "wiki this", "what does my wiki know about X", "is my wiki stale". Routes per-scope: repo wikis use references/repo.md pipeline (docs/wiki/); realm wikis use references/realm.md pipeline (wiki/ in a separate repo). Not invoked by other commands — this skill is the conversational entry point for wiki and bucket operations; /refresh-wiki is the synthesis engine.
Install
npx vskill@latest install damusix/atomic-claude/atomic-wikiSKILL.md
<trigger>
Auto-fires on:
- "I want a place for my notes / research / tickets / raw dumps"
- "create a space for [notes|tickets|research]" — any capture-intent phrase
- "add a bucket", "add this to my wiki", "wiki this"
- "set up a karpathy wiki", "karpathy realm", "set up a wiki for my projects"
- "what does my wiki know about X"
- "is my wiki stale"
</trigger>
Conversational entry point for wiki and capture-bucket operations. Code writes structure; the model writes meaning. Degrades gracefully when atomic binary is absent.
Realm resolution
Read the <wikis> block in ~/.claude/CLAUDE.md (outside <atomic>, CLI-managed). Each entry is a path to a registered wiki's index.md. The realm root is the directory containing wiki/index.md.
- cwd under a realm root → that realm is active. Bucket operations target it.
- No registered realm + setup intent →
atomic wiki scan --root <path>bootstraps. Ask which folder is the realm root if ambiguous. - `atomic` binary absent → say so; point at
/refresh-wikianddocs/reference/realm-wiki.md. Do not hand-build the structure.
Pipeline routing
When a full inference run is needed (refresh, summarize, synthesize), detect scope and load the matching reference:
- Read
<wiki-type>from the active wiki index (docs/wiki/index.mdfor repo scope,wiki/index.mdfor realm scope). - Repo scope (
<wiki-type>repo</wiki-type>) — the full per-repo pipeline lives at~/.claude/skills/atomic-wiki/references/repo.md(installed location). A full refresh is triggered via/refresh-wiki, which dispatchesatomic-wiki-inferrerto execute it. - Realm scope (
<wiki-type>realm</wiki-type>) — the wiki-output and bucket-synthesis pipelines live at~/.claude/skills/atomic-wiki/references/realm.md(installed location). A full refresh is triggered via/refresh-wiki [root], which orchestrates scan/stale/offer and dispatchesatomic-wiki-inferrerfor each inference step.
The pipeline text lives only in the reference files (installed at ~/.claude/skills/atomic-wiki/references/) — not here, and not duplicated in the agent's system prompt. When an agentic inference run is needed, the agent resolves $HOME via Bash and reads the appropriate reference file at its absolute path, then executes it.
Bucket creation route
When the user wants a folder for notes, tickets, research, or any loose material and the cwd is under a registered realm:
- Run
atomic wiki bucket add <name> --root <realm-root>— never baremkdir.
- Creates
<realm-root>/<name>/index.md(stub: purpose line +## Conventionsplaceholder). - Creates
wiki/.buckets/<name>/(empty manifest dir). - Splices a
<bucket name="<name>" path="<abs-path>"/>entry into the<wiki-buckets>block inwiki/index.md. - On the first bucket in the realm, writes a
## Capture surfacessection to the realmCLAUDE.md.
- Drive the meaning-fill: ask the user what the bucket is for, then replace the
<!-- describe what this bucket is for -->placeholder in the realmCLAUDE.md## Capture surfacessection and write the bucket'sindex.mdpurpose line +## Conventionsblock to match. Code writes structure; the model writes meaning.
Reserved name wiki is refused by the binary. If <wiki-buckets> carries declined="true", bucket add removes the attribute when registering a new bucket.
Bucket doc authoring route
When the user wants a new topic file inside a registered bucket, or asks about a bucket's own conventions:
atomic wiki bucket doc <bucket> <slug> [--router]scaffolds<bucket>/<slug>.mdfrom the embedded template (six-key frontmatter,createdpre-stamped).--routeralso creates<bucket>/<slug>/+ aCLAUDE.mdstub for a topic that outgrows one file. Refuses on an existing target — never overwrites.atomic wiki bucket skill <bucket>scaffolds<realm-root>/.claude/skills/<bucket>-management/SKILL.md, pre-filled with the bucket's purpose line. No-op if the file exists.atomic wiki bucket index [<bucket>]rebuilds the<bucket-docs>region in one bucket'sindex.md(or every registered bucket when omitted) plus the realm<wiki-bucket-list>region inwiki/index.md.atomic wiki scanalready runs this as part of its pass — only reach for the verb directly to force a rebuild outside a scan.
See references/realm.md for the full frontmatter contract.
Karpathy-wiki setup route
When the user asks to set up a wiki for a folder of projects:
- Run
atomic wiki scan --root <realm-root>to scaffoldwiki/and classify member repos. - Offer bucket names —
research,raw,ticketsare examples; user defines the actual names. - Create each named bucket via
atomic wiki bucket add <name>. - Fill in meaning for each bucket's
index.mdand## Capture surfacesentry. - Point at
/refresh-wikifor the synthesis pass that writeswiki/repos/,wiki/concerns/, andwiki/knowledge/.
Wiki repo commits happen inside wiki/ — never the realm root.
Query and staleness route
- "what does my wiki know about X" → read
wiki/index.md,wiki/knowledge/,wiki/repos/,wiki/concerns/for the active realm. Summarize what is present; say explicitly if nothing matches. - "is my wiki stale" → run
atomic wiki stale --root <realm-root>. Exit 0 = fresh. Exit 1 = stale: stdout listsDRIFT/STALElines (includingSTALE bucket <name>for buckets with a non-empty diff). Exit 2 = hard error.
Conventions that prevent foot-guns
<wiki-scan>and<wiki-buckets>blocks inwiki/index.mdare code-owned — never hand-edit them.wiki/concerns/files need areflects:stamp or they perpetually STALE-nag. Route through/refresh-wiki; or stamp after a light single-file edit withatomic wiki stamp.- Knowledge pages (
wiki/knowledge/<topic>.md) are stamped viaatomic wiki stamp --knowledge— never writesources:frontmatter by hand; the model declares which bucket files contributed, code writes every SHA-256 value. - Light single-file edit + stamp vs full
/refresh-wikifor anything multi-artifact — full refresh is for batch staleness.
<constraints>
Boundaries
- Complements /refresh-wiki:
/refresh-wikiis the synthesis engine (repo signals refresh, realm repo summaries, bucket synthesis, concern re-auth, linkify). This skill is the conversational entry point — it registers and describes;/refresh-wikisynthesizes. - Not invoked by other commands. No cross-reference needed in the other direction.
- Never bare mkdir for capture intent in a registered realm.
atomic wiki bucket addis the only correct path — it wires the manifests and registry.
</constraints>
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcontext/skills/atomic-wiki/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/damusix/atomic-claude/atomic-wiki)