Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/damusix/atomic-claude/refresh-wikigit clone --depth 1 https://github.com/damusix/atomic-claudeWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00066 | $0.06524 |
| Opus 5 | $0.00033 | $0.03262 |
| Sonnet 5 | $0.00013 | $0.01305 |
| Haiku 4.5 | $0.00007 | $0.00652 |
Grade C, and why
refresh-wiki scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
install: curl -fsSL https://raw.githubusercontent.com/damusix/atomic-claude/main/install.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
install: curl -fsSL https://raw.githubusercontent.com/damusix/atomic-claude/main/install.sh | bash How it starts
The opening of the file, as written. The whole thing — 542 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/refresh-wiki [root] — refresh the wiki. With no argument, auto-detects scope: if docs/wiki/index.md exists in the current repo the scope is repo; if a wiki/ directory exists at the cwd or a supplied [root] the scope is realm. Pass [root] to target a specific realm root.
Step 0 — Detect scope
Determine which pipeline to run:
Repo scope — all of the following:
- No
[root]argument supplied, AND docs/wiki/index.mdexists in the current repo (checktest -f docs/wiki/index.md), ORdocs/wiki/exists but is empty / no index yet (first run).
Specifically: if no [root] was supplied and the cwd is inside a git repo, this is repo scope. Continue to the Repo scope steps.
Realm scope — any of the following:
[root]argument was supplied, OR- No
[root]was supplied but awiki/directory exists at the cwd that contains anindex.mdwith<wiki-type>realm</wiki-type>, OR - The current working directory is not inside a git repo but a
wiki/directory is present.
Continue to the Realm scope steps.
Ambiguous — cwd is a git repo AND a sibling wiki/ directory exists (repo + wiki/ co-located). Ask via AskUserQuestion:
This directory is a git repo and has a wiki/ sibling. Which scope?
- Repo scope (refresh docs/wiki/ inside this repo)
- Realm scope (refresh wiki/ as a cross-repo wiki)
Treat as repo scope on cancel or ambiguous input.
Repo scope
R1 — Pre-flight
git rev-parse --is-inside-work-tree
If not inside a git repo, stop:
not a git repo. /refresh-wiki (repo scope) requires a git repository.
command -v atomic
If atomic is not on $PATH, stop:
atomic binary not found on $PATH.
install: curl -fsSL https://raw.githubusercontent.com/damusix/atomic-claude/main/install.sh | bash
then re-run /refresh-wiki.
R2 — Bootstrap check
test -f docs/wiki/scan.md
If the file does not exist, this is a first-time initialization. Print:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 542 lines · 66 tokens per session scan C fd762831ea7b
refresh-wiki is a command published in the GitHub repository damusix/atomic-claude (83 stars, last pushed 9d ago), licensed MIT. It adds 66 tokens to every session and 6,524 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
icpg-bootstrap
Infer ReasonNodes from existing git commit history. One-time setup for existing codebases.
version
Display current guide and Claude Code versions.
go-review
Go code review for idiomatic patterns.
cost-tracker
Track session costs, understand token spend, and get optimization tips.
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
docs-review
Phase 4 of documenting-projects: Quality gate with 8 measurable criteria and iteration. Triggers: '/docs-review', invoked by documenting-projects orchestrator.