wiki-builder skill (dair-ai/dair-academy-plugins)
- Install
- SKILL.md (verbatim)
- Purpose
- When To Use
- Default Wiki Location
- Core Layout
- Starting A Wiki
- Operating Workflow
- 1. Resolve The Task
- 2. Use The Local Config
- 3. Preserve Provenance
- 4. Compile Pages
- 5. Maintain The Wiki
- Flavors
- Quality Bar
- Other files in this skill
- references/wiki-flavors.md (verbatim)
- Research Wiki
- Paper Wiki
- Domain Wiki
- Product Wiki
- Person Wiki
- Organization Wiki
- Project Wiki
- templates/index.md (verbatim)
- Overview
- Start Here
- Current Map
- Recent Updates
- templates/maintenance-log.md (verbatim)
- {{DATE}}
- templates/prompts/compile-concept-page.md (verbatim)
- templates/prompts/compile-index.md (verbatim)
- templates/prompts/compile-source-page.md (verbatim)
- templates/prompts/lint-wiki.md (verbatim)
- templates/prompts/query-and-file.md (verbatim)
- templates/sources.md (verbatim)
- Source Log
- templates/wiki.config.md (verbatim)
- Purpose
- Audience
- Scope
- Source Policy
- Page Types
- Style Rules
- Maintenance Rules
What it does. Start, structure, grow, query, and maintain reusable research wikis. Use when the user wants to create a new wiki, add sources to an existing wiki, compile source material into wiki pages, customize wiki structure or flavor, generate research maps, update indexes, or maintain knowledge bases for papers, topics, projects, products, people, organizations, or ongoing research areas. Part of dair-ai/dair-academy-plugins (dair-ai/dair-academy-plugins).
| Upstream | dair-ai/dair-academy-plugins |
| Skill file | plugins/wiki-builder/skills/wiki-builder/SKILL.md |
| License | MIT |
| Author | Elvis Saravia (DAIR.AI) |
| Fetched | 2026-09-10 |
Install
- Claude Code:
/plugin marketplace add dair-ai/dair-academy-pluginsthen install thewiki-builderplugin; or copyplugins/wiki-builder/skills/wiki-builder/into~/.claude/skills/wiki-builder/. - Raw file:
curl -sL https://raw.githubusercontent.com/dair-ai/dair-academy-plugins/HEAD/plugins/wiki-builder/skills/wiki-builder/SKILL.md
SKILL.md (verbatim)
name: wiki-builder
description: Start, structure, grow, query, and maintain reusable research wikis. Use when the user wants to create a new wiki, add sources to an existing wiki, compile source material into wiki pages, customize wiki structure or flavor, generate research maps, update indexes, or maintain knowledge bases for papers, topics, projects, products, people, organizations, or ongoing research areas.
Wiki Builder
Purpose
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.
When To Use
Use this skill when the user asks to:
- Start a new wiki or knowledge base.
- Create a wiki for research notes, papers, products, people, organizations, domains, projects, or events.
- Ingest source material into an existing wiki.
- Generate wiki pages, source pages, concept pages, maps, timelines, briefs, or indexes.
- Query a wiki and file the answer back into the wiki.
- Refactor or evolve a wiki's structure, requirements, or flavor.
- Maintain provenance, source notes, and update logs for a wiki.
Default Wiki Location
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.
Core Layout
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.
Starting A Wiki
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:
- Edit
wiki.config.mdto match the user's real goal. - Put copied or downloaded source material in
raw/. - Record source provenance in
sources.md. - Generate pages under
wiki/. - Record major maintenance actions in
logs/maintenance-log.md.
Operating Workflow
1. Resolve The Task
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.
2. Use The Local Config
Every wiki can have different rules. Before generating or modifying pages, read:
wiki.config.mdsources.mdwhen source provenance matters- relevant files under
prompts/when the wiki has custom prompts
The local config beats generic defaults in this skill.
3. Preserve Provenance
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.
4. Compile Pages
Prefer durable wiki pages over one-off summaries. Strong pages usually include:
- a concise overview
- source-grounded key points
- links to related wiki pages
- open questions or uncertainty
- update notes when relevant
Keep page structure consistent with the wiki's config and flavor.
5. Maintain The Wiki
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.
Flavors
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.
Quality Bar
- 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.
Other files in this skill
- agents/openai.yaml
- references/wiki-flavors.md
- scripts/init_wiki.sh
- templates/index.md
- templates/maintenance-log.md
- templates/prompts/compile-concept-page.md
- templates/prompts/compile-index.md
- templates/prompts/compile-source-page.md
- templates/prompts/lint-wiki.md
- templates/prompts/query-and-file.md
- templates/sources.md
- templates/wiki.config.md
references/wiki-flavors.md (verbatim)
Wiki Flavors
Use these as starting points. The wiki's wiki.config.md can override any structure.
Research Wiki
Best for an ongoing topic with many source types.
Suggested pages:
wiki/index.mdfor overview and navigation.wiki/maps/research-map.mdfor the conceptual map.wiki/concepts/<concept>.mdfor durable ideas.wiki/sources/<source>.mdfor important source writeups.wiki/questions/<question>.mdfor open investigations.derived/briefs/for synthesis memos and outlines.
Paper Wiki
Best for a paper, cluster of papers, or literature review.
Suggested pages:
wiki/index.mdfor paper set overview.wiki/papers/<paper-slug>.mdfor individual papers.wiki/concepts/<concept>.mdfor reusable technical ideas.wiki/comparisons/<topic>.mdfor cross-paper comparisons.wiki/questions/<question>.mdfor research gaps.
Paper pages should usually cover problem, method, results, limitations, implementation notes, and related papers.
Domain Wiki
Best for learning or tracking an entire field.
Suggested pages:
wiki/index.mdfor high-level map.wiki/landscape.mdfor actors, concepts, tools, and debates.wiki/timelines/<topic>.mdfor historical development.wiki/glossary.mdfor terms.wiki/questions/<question>.mdfor active uncertainties.
Product Wiki
Best for products, tools, APIs, or platforms.
Suggested pages:
wiki/index.mdfor product summary.wiki/features/<feature>.mdfor feature pages.wiki/use-cases/<use-case>.mdfor applied workflows.wiki/competitors/<competitor>.mdfor alternatives.wiki/questions/<question>.mdfor evaluation gaps.
Product pages should distinguish documented behavior, observed behavior, pricing or availability, limitations, and integration notes.
Person Wiki
Best for a researcher, founder, writer, or public expert.
Suggested pages:
wiki/index.mdfor profile and navigation.wiki/work/<work-slug>.mdfor papers, talks, posts, projects, or artifacts.wiki/themes/<theme>.mdfor recurring ideas.wiki/timeline.mdfor dated milestones.wiki/questions/<question>.mdfor unresolved context.
Use source-grounded language and avoid unsupported biographical claims.
Organization Wiki
Best for labs, companies, communities, or institutions.
Suggested pages:
wiki/index.mdfor overview.wiki/projects/<project>.mdfor important initiatives.wiki/people/<person>.mdfor relevant people.wiki/timeline.mdfor milestones.wiki/strategy.mdfor source-grounded strategic analysis.
Separate facts from interpretation, especially for strategy or intent.
Project Wiki
Best for an internal build, research initiative, course, or content project.
Suggested pages:
wiki/index.mdfor status and navigation.wiki/decisions/<decision>.mdfor important choices.wiki/specs/<spec>.mdfor requirements.wiki/notes/<note>.mdfor working notes.derived/briefs/for summaries and handoffs.
Project wikis should make the current state obvious to the next agent.
templates/index.md (verbatim)
{{TITLE}}
Overview
This wiki tracks source-grounded knowledge for {{TITLE}}.
Start Here
- Key concepts: add the most important concept pages.
- Source notes: add the most important source pages.
- Open questions: add active research questions.
- Derived briefs: add synthesized memos, maps, or outlines.
Current Map
Add the working structure of the wiki here after the first sources are ingested.
Recent Updates
- {{DATE}}: Wiki scaffold created.
templates/maintenance-log.md (verbatim)
Maintenance Log
Track meaningful wiki changes.
{{DATE}}
- Created the initial wiki scaffold.
templates/prompts/compile-concept-page.md (verbatim)
Compile Concept Page
Use this prompt to create or update a concept page.
Task:
- Read relevant source pages and raw sources.
- Define the concept in plain language.
- Explain why it matters for this wiki's purpose.
- Ground the explanation in specific sources.
- Link related concepts, source pages, and open questions.
- Mark uncertainty where the source base is thin.
templates/prompts/compile-index.md (verbatim)
Compile Index
Use this prompt to update wiki/index.md.
Task:
- Read
wiki.config.md,sources.md, and the currentwiki/pages. - Rewrite
wiki/index.mdas the best entry point for this wiki. - Include the most useful navigation paths, not every file.
- Surface major open questions and recent updates.
- Keep the page aligned with the wiki flavor and audience.
templates/prompts/compile-source-page.md (verbatim)
Compile Source Page
Use this prompt to turn one source into a durable wiki page.
Task:
- Read the source and
wiki.config.md. - Create a page under the most appropriate
wiki/subfolder. - Summarize the source's concrete contribution.
- Extract important claims, evidence, numbers, methods, examples, and limitations.
- Link to related wiki pages.
- End with open questions or follow-up work when useful.
templates/prompts/lint-wiki.md (verbatim)
Lint Wiki
Use this prompt to improve an existing wiki without changing its intent.
Task:
- Read
wiki.config.md,sources.md,wiki/index.md, and a representative sample of pages. - Find stale links, missing source entries, unclear page names, duplicated summaries, and unsupported claims.
- Patch focused issues when the fix is obvious.
- Leave a concise maintenance note in
logs/maintenance-log.md.
templates/prompts/query-and-file.md (verbatim)
Query And File
Use this prompt when answering a question from the wiki and saving the result.
Task:
- Read
wiki.config.md,sources.md, and relevant wiki pages. - Answer the user's question with source-grounded reasoning.
- If the answer should persist, create or update a page under
wiki/questions/,derived/briefs/, or another configured location. - Update
wiki/index.mdif the answer becomes an important entry point. - Update
logs/maintenance-log.mdfor material additions.
templates/sources.md (verbatim)
Sources
Record every major source added to this wiki.
Source Log
| Date Added | Title | Type | Path Or URL | Notes |
|---|---|---|---|---|
| {{DATE}} | Initial scaffold | setup | wiki.config.md |
Wiki created. |
templates/wiki.config.md (verbatim)
{{TITLE}} Wiki Config
Slug: {{SLUG}}
Flavor: {{FLAVOR}}
Created: {{DATE}}
Root: {{ROOT}}
Purpose
Describe what this wiki is for and what decisions, research, or creative work it should support.
Audience
Describe who the wiki is written for.
Scope
In scope:
- Add the main topics, source types, or questions this wiki should cover.
Out of scope:
- Add exclusions so future agents do not over-expand the wiki.
Source Policy
- Keep raw source material in
raw/. - Record every major source in
sources.md. - Distinguish sourced claims from interpretation.
- Mark uncertainty directly when sources conflict or evidence is thin.
Page Types
wiki/index.mdfor the main entry point.wiki/concepts/<concept>.mdfor durable concepts.wiki/sources/<source>.mdfor important source writeups.wiki/questions/<question>.mdfor open questions.derived/for briefs, outlines, and temporary synthesis.
Style Rules
- Lead with the useful takeaway.
- Use clear section headings.
- Link related wiki pages.
- Keep pages source-grounded and skimmable.
- Avoid filler summaries that do not add navigation, synthesis, or decision value.
Maintenance Rules
- Update
wiki/index.mdafter adding important pages. - Update
sources.mdafter adding sources. - Update
logs/maintenance-log.mdafter meaningful structure or content changes.
Back to dair-ai/dair-academy-plugins or Agent skills.