A Claude Code plugin for starting, structuring, growing, querying, and maintaining reusable research wikis. Each wiki is a standalone folder with its own sources, compiled pages, derived artifacts, prompts, and local configuration — built around a per-wiki wiki.config.md so structure and style can vary by use case.
🎥 Watch the walkthrough: How to use the wiki-builder skill on DAIR Academy.
The skill is intentionally general. Rather than hard-coding a single wiki layout, it scaffolds a clean starting structure and then defers to each wiki's local wiki.config.md for purpose, audience, page types, style rules, and update workflow.
Supported wiki flavors out of the box:
research— ongoing research notes and curated topicspaper— single-paper deep divesdomain— broad subject areasproduct— product / tool knowledge basesperson— researcher / founder dossiersorganization— company / lab profilesproject— internal project knowledge bases
Install the plugin:
/plugin marketplace add dair-ai/dair-academy-plugins
/plugin install wiki-builder@dair-academy-pluginsBy default, wikis are created under ~/dair-wikis/. To use a different location, set the WIKI_ROOT environment variable in your shell profile:
export WIKI_ROOT="$HOME/my-wikis"Or pass --root /path/to/wikis to the init script on a per-call basis.
Once installed, ask Claude Code things like:
Start a new wiki on agent memory using the research flavor.
Add this arXiv paper to my ai-evals wiki and compile a source page.
Compile a concept page on tool-use benchmarks in my agents wiki and link it from the index.
Claude will:
- Resolve the task (start, ingest, compile, query, restructure, lint, or export).
- Read the target wiki's
wiki.config.mdand prompts before making changes. - Preserve provenance for every claim using
sources.md. - Generate durable pages under
wiki/and updatewiki/index.mdandlogs/maintenance-log.md.
Each new wiki starts with this layout:
<wiki-slug>/
├── wiki.config.md
├── raw/
├── wiki/
│ └── index.md
├── derived/
├── prompts/
│ ├── compile-index.md
│ ├── compile-source-page.md
│ ├── compile-concept-page.md
│ ├── query-and-file.md
│ └── lint-wiki.md
├── logs/
│ └── maintenance-log.md
└── sources.md
Common additions per flavor: wiki/papers, wiki/concepts, wiki/people, wiki/products, wiki/organizations, wiki/timelines, wiki/questions, wiki/maps, and assets.
If you prefer to scaffold a wiki without going through Claude:
bash "${CLAUDE_PLUGIN_ROOT}/skills/wiki-builder/scripts/init_wiki.sh" \
agent-memory \
--title "Agent Memory" \
--flavor researchUse --root /custom/path to override the default ~/dair-wikis location.
- Make the first page useful immediately.
- Prefer explicit filenames and stable slugs.
- Separate raw source material from compiled interpretation.
- Link related wiki pages.
- Mark speculation and unknowns clearly.
- Avoid rewriting the same source summary in many places.
- Keep generated pages navigable for future agents and humans.
Built by DAIR.AI.