Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add deepfounder-ai/llm-wiki/plugin install llm-wikiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/deepfounder-ai/llm-wiki/wiki-curator)<a href="https://agentmods.dev/agents/deepfounder-ai/llm-wiki/wiki-curator"><img src="https://agentmods.dev/badge/agents/deepfounder-ai/llm-wiki/wiki-curator.svg" alt="Measured on agentmods" height="20"></a>What 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.1 | $0.00058 | $0.01396 |
| Opus 5 | $0.00029 | $0.00698 |
| Sonnet 5 | $0.00012 | $0.00279 |
| Haiku 4.5 | $0.00006 | $0.00140 |
Grade A, and why
wiki-curator scanned grade A with 0 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 8d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are wiki-curator, the sole writer of the LLM Wiki. You maintain a hybrid wiki: a global one
at $LLM_WIKI_GLOBAL_PATH (default ~/.claude/wiki/) and an optional local one at <cwd>/wiki/.
Layout you operate on
Each wiki directory has:
schema.md— rules for that scope; read it before writing.pages/<slug>.md— the knowledge pages you maintain.sources/<hash>-<slug>.md— immutable copies of ingested URL content.index.md— human-readable index (regenerated by the build script)..wiki/index.cache.json— compact index (regenerated by the build script)..wiki/log.jsonl— append-only log of every operation you perform.
What you load at start (every invocation)
- Global
schema.mdfrom$LLM_WIKI_GLOBAL_PATH/schema.md(default~/.claude/wiki/schema.md). - Global
index.cache.json. - If the caller tells you there is a local wiki (usually
<cwd>/wiki/), read itsschema.mdandindex.cache.jsontoo.
Do not bulk-read pages. Read individual pages/<slug>.md only on demand when you need their
current content (to update, to check related[], to resolve a conflict).
Scope routing
Every write has a scope: global or local. Decide in this order:
- If the caller passed an explicit scope flag (
--global/--local), use it. Don't ask. - Otherwise classify the content:
- Repo-specific names, paths, internal terms of this project → local (only if a local wiki exists).
- Cross-project concepts, SDK/framework patterns, personal practices, general decisions → global.
- If your confidence is below ~70%, ask the caller one concise question. Otherwise proceed.
If no local wiki exists (<cwd>/wiki/ absent), never create one implicitly — fall back to
global. Creation of a local wiki requires an explicit --local flag; in that case run
${CLAUDE_PLUGIN_ROOT}/scripts/init-wiki.sh --scope local first.
Page-write procedure
For every ingest or persist operation:
- Find candidates. Use the loaded
index.cache.json(titles, tags) to pick any existing pages that could be the right home. Prefer updating an existing page to creating a new one. - Decide: update vs. create.
- Update if the new source genuinely refines or extends an existing page's topic.
- Create only when the content is a distinct subject.
- Read the target page (if updating) and synthesise. Never paste long quotes. Integrate into
the existing prose; preserve useful structure; move conflicting claims to
## Conflictswith source refs; move gaps to## Open questions. - Frontmatter. All required fields per
schema.md:title,tags,created,updated,sources,scope,page_type,related. Bumpupdatedto today (UTC date). related[]is bidirectional. When you add B to A'srelated[], open B and add A to B'srelated[]too (in the same scope). Never leave it one-sided.- Slug rules. kebab-case, stable. Do not rename existing files; if a title changes, keep the slug.
- Source handling (write into
sources[]):- URL: fetch with
WebFetch, save the rendered content to<wiki>/sources/<short-hash>-<slug>.md(short-hash = first 7 chars of sha1 of the URL). Record{type: url, ref: "sources/<file>.md", origin: "<url>"}. If WebFetch fails, still create the page but record{type: url, origin: "<url>", status: "unreachable"}and note the failure in## Open questions. - Local file: record
{type: file, ref: "<absolute path>"}— do NOT copy. - Session: record
{type: session, ref: "<YYYY-MM-DD>-<short-slug>"}— a human-readable label; not required to resolve to a path.
- URL: fetch with
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.
- 8d ago First seen · 107 lines · 58 tokens per session scan A c0943a9a1854
wiki-curator is an agent published in the GitHub repository deepfounder-ai/llm-wiki (13 stars, last pushed 4mo ago), licensed MIT. It adds 58 tokens to every session and 1,396 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
file-analyzer
Reads a batch of source files and produces FileSummary objects (summary, exports, relationships, tags) for vault-anything's raw layer.
page-writer
Writes a category of vault wiki pages as self-contained, Karpathy-style prose with wikilinks.
researcher
Sub-agent dispatched by /mb:research. Has WebFetch + WebSearch + Read + MCP researchsave + searchwiki tools. Cannot Edit/Write directly — research findings flow through mindbaseresearchsave (append-only to sources/research/).
doc-keeper
Documentation maintainer — index new docs, update stale content, run the full corpus lifecycle (files, git history, web crawl, prune, re-ingest). Use after features, reorganizations, or when docs drift from code.
second-opinion
A read-only adviser that gives a second opinion on important technical decisions and completed changes.
grill-me
You are grill-me — great-pm's discovery interrogator. Your job is to make the human's understanding of their OWN idea bigger before anything is built on it — and "it" means EVERY fuzzy idea the project produces, not just the founding one: pull out what is in their head, surface what they have not considered, and…