Skip to content
cccskills
FreePublished on GitHub

wiki-builder

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (14)

  • SKILL.md4.0 KB
  • agents/openai.yaml276 B
  • references/wiki-flavors.md3.5 KB
  • scripts/init_wiki.sh2.7 KB
  • scripts/wiki-cli.js6.8 KB
  • templates/index.md384 B
  • templates/maintenance-log.md128 B
  • templates/prompts/compile-concept-page.md715 B
  • templates/prompts/compile-index.md549 B
  • templates/prompts/compile-source-page.md759 B
  • templates/prompts/lint-wiki.md639 B
  • templates/prompts/query-and-file.md539 B
  • templates/sources.md263 B
  • templates/wiki.config.md1.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

FlavorUse for
researchongoing topic exploration
paperone-paper deep dive
domainbroad subject area
productproduct/tool KB
personresearcher/founder dossier
organizationcompany/lab profile
projectinternal project KB
codebasesymbol/file-aware KB tied to a repo
incidentpost-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

node $SKILL_ROOT/scripts/wiki-cli.js init <slug> --title "X" --flavor research [--scope project] [--root <path>]
node $SKILL_ROOT/scripts/wiki-cli.js list
node $SKILL_ROOT/scripts/wiki-cli.js page <slug> <rel-path> --title "X" [--type concept|paper|person|...] [--from-file path]
node $SKILL_ROOT/scripts/wiki-cli.js reindex <slug>
node $SKILL_ROOT/scripts/wiki-cli.js info <slug>

init runs init_wiki.sh (mirrors dair layout) AND registers the wiki in SQLite. page writes markdown + upserts FTS row.

Workflow when invoked

  1. Resolve action (init / ingest / compile / list / reindex / info).
  2. Read wiki.config.md of the target wiki before any compile.
  3. Every claim that lands in wiki/ must cite a row in sources.md (one citation = one source row).
  4. After page write, call wiki-cli.js page so FTS index stays in sync.
  5. Append a one-line entry to logs/maintenance-log.md per change.
  6. Update wiki/index.md if new top-level page.

Quality bar

  • First page useful immediately, not stub.
  • Stable slug filenames (tool-use-benchmarks.md, not 2026-05-08-notes.md).
  • Separate raw source from compiled interpretation.
  • Cross-link related pages in same wiki via relative links.
  • Mark speculation with > SPECULATION: block.
  • No duplicate summaries — link existing page instead.
  • Generated pages stay navigable for future agents.

Privacy

Wikis with private: true in config never get fetched from web sources by wiki-research-loop. Local raw/ only.

Auto-research opt-in

Phase 3.3.0 ships builder + query only. Loop arrives in 3.3.1. To prep, wiki.config.md may include:

auto_research:
  enabled: false        # flip in 3.3.1
  max_pages_per_run: 5
  max_depth: 3
  budget_usd: 0.50
  fetchers: [web, arxiv, github]

Templates

See templates/ for wiki.config.md, index.md, prompt files. init_wiki.sh copies these into the new wiki root.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team sizing, task decomposition, and when to use teams vs sub-agents vs worktrees.

The English summary is being prepared. Showing the original description.

rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use when onboarding a new codebase.

The English summary is being prepared. Showing the original description.

rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.

The English summary is being prepared. Showing the original description.

rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Capture a user-reported defect as a durable GitHub issue written in the project's own domain language. Explores the codebase in parallel for context but never leaks file paths or line numbers into the issue. Use when the user reports a bug conversationally, runs a QA pass, or says "file an issue", "log this as a bug", "capture this".

The English summary is being prepared. Showing the original description.

rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction, restores after. Use before manual compact or when auto-compact triggers.

The English summary is being prepared. Showing the original description.

rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction strategies, and context partitioning to keep AI sessions sharp and efficient.

The English summary is being prepared. Showing the original description.

rohitg00/pro-workflow2.9KUpdated Sep 29, 2026

See all skills by rohitg00

Report a problem with this skill