Source: dair-ai/dair-academy-plugins (MIT).
Create and maintain configurable research wikis. Each wiki is a standalone folder with its own sources, compiled pages, derived artifacts, prompts, and local configuration.
By default, wikis live under ~/dair-wikis/. Override the location with the WIKI_ROOT environment variable or the --root flag on init_wiki.sh.
This skill is intentionally general. Do not hard-code every wiki into the AI papers structure. Use each wiki's wiki.config.md as the source of truth for purpose, audience, page types, style rules, and update workflow.
Use this skill when the user asks to:
Store wikis here unless the user explicitly gives a different path:
${WIKI_ROOT:-$HOME/dair-wikis}/<wiki-slug>
Use lowercase kebab-case slugs, for example agent-memory, ai-evals, open-source-models, or company-research.
New wikis should start 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
Add more folders only when the wiki's config needs them. Common additions include wiki/papers, wiki/concepts, wiki/people, wiki/products, wiki/organizations, wiki/timelines, wiki/questions, wiki/maps, and assets.
For new wikis, use the bundled script (resolve its path via the plugin install location, typically ${CLAUDE_PLUGIN_ROOT}/skills/wiki-builder/scripts/init_wiki.sh):
bash "${CLAUDE_PLUGIN_ROOT}/skills/wiki-builder/scripts/init_wiki.sh" <slug> --title "Readable Title" --flavor research
Pass --root /custom/path to put the wiki somewhere other than ~/dair-wikis.
Supported default flavors are research, paper, domain, product, person, organization, and project. Use research when unsure.
After scaffolding:
wiki.config.md to match the user's real goal.raw/.sources.md.wiki/.logs/maintenance-log.md.Identify whether the user is asking to start, ingest, compile, query, restructure, lint, or export. If the request names an existing wiki, inspect its wiki.config.md before making changes.
Every wiki can have different rules. Before generating or modifying pages, read:
wiki.config.md
sources.md when source provenance mattersprompts/ when the wiki has custom promptsThe local config beats generic defaults in this skill.
Do not convert loose claims into wiki facts without a source. When using web pages, papers, transcripts, notes, or repository files, record enough provenance that a future agent can find the original source again.
At minimum, sources.md entries should include title, source path or URL, date added, and a short note about what it contributes.
Prefer durable wiki pages over one-off summaries. Strong pages usually include:
Keep page structure consistent with the wiki's config and flavor.
When adding or changing many pages, update wiki/index.md, relevant maps, and logs/maintenance-log.md. If the user's request changes the wiki's purpose or structure, update wiki.config.md first.
Use references/wiki-flavors.md when choosing or adapting wiki types. The reference gives suggested page types and structures for research, paper, domain, product, person, organization, and project wikis.