# Wiki Builder

Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite...

- Repository: https://github.com/rohitg00/pro-workflow (2940 stars)
- Category: Writing
- License: see repository
- Last updated: 2026-09-29
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add rohitg00/pro-workflow --skill wiki-builder -g -a claude-code -y`
Codex: `npx skills add rohitg00/pro-workflow --skill wiki-builder -g -a codex -y`
Cursor: `npx skills add rohitg00/pro-workflow --skill wiki-builder -g -a cursor -y`
Gemini CLI: `npx skills add rohitg00/pro-workflow --skill wiki-builder -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add rohitg00/pro-workflow`

## Description

Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base. Each wiki is a folder of markdown pages with provenance, plus a shadow FTS5 index so any session can recall it. Use when the user says "start a wiki", "add to wiki", "compile a page", "wiki on X", or wants a long-lived knowledge base on a topic, paper, product, person, project, or codebase.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Wiki Builder

Persistent knowledge base for any topic. Markdown on disk + SQLite FTS5 shadow index.

## When to use

- "Start a wiki on <topic>"
- "Add this paper / link / note to the <slug> wiki"
- "Compile a concept page on X in <slug>"
- "What does the <slug> wiki say about Y?" (delegates to wiki-query)
- "List my wikis"

## Locations

- **Global**: `~/.pro-workflow/wikis/<slug>/`, default, never committed
- **Project**: `<project>/.claude/wikis/<slug>/`, pass `--scope project`, committable

Both register in the same `~/.pro-workflow/data.db`.

## Flavors

| Flavor | Use for |
|--------|---------|
| `research` | ongoing topic exploration |
| `paper` | one-paper deep dive |
| `domain` | broad subject area |
| `product` | product/tool KB |
| `person` | researcher/founder dossier |
| `organization` | company/lab profile |
| `project` | internal project KB |
| `codebase` | symbol/file-aware KB tied to a repo |
| `incident` | post-mortem KB |

## Layout

```
<slug>/
├── wiki.config.md         # purpose, audience, page types, style, auto_research block
├── raw/                   # untouched source material (PDFs, scrapes, transcripts)
├── wiki/
│   └── index.md           # entry point, hand-curated TOC
├── derived/               # generated artifacts (surveys, charts, summaries)
├── prompts/               # per-task prompts (compile-page, lint, query)
├── logs/maintenance-log.md
└── sources.md             # one row per source: id | url | title | hash | fetched_at
```

Flavor adds folders: `wiki/papers`, `wiki/concepts`, `wiki/people`, `wiki/products`, `wiki/timelines`, `wiki/questions`.

## CLI surface

The rest: https://github.com/rohitg00/pro-workflow/blob/HEAD/skills/wiki-builder/SKILL.md
