Skip to content
Documentation
Command

/wiki-compile

Compile all configured markdown source files into a topic-based wiki.

From plugin
llm-wiki-compiler
33212 skills12 commands
> /plugin marketplace add ussumant/llm-wiki-compiler
> /plugin install llm-wiki-compiler@llm-wiki-compiler

Command definition

wiki-compile.md

Compile Knowledge Base Wiki

Compile all configured markdown source files into a topic-based wiki.

Instructions

1. **Read configuration** from `.wiki-compiler.json` in the project root (or nearest parent directory). If not found, tell the user to run `/wiki-init` first.

2. **Validate configuration:**

  • `sources[]` must have at least one entry
  • `output` must be set
  • Source paths must exist

3. **Read schema** from `{output}/schema.md` if it exists. Use it to guide topic/concept classification and naming. If it doesn't exist (first run), it will be generated in Phase 3.7.

4. **Invoke the `wiki-compiler` skill** to run the compilation:

  • Pass `article_sections` from config to the skill (if present — legacy configs may not have this field)
  • Phase 1: Scan sources
  • Phase 2: Classify and discover topics (respecting schema if present)
  • Phase 3: Compile topic articles using `article_sections` for structure (use parallel agents when possible)
  • Phase 3.5: Discover and compile concept articles (cross-cutting patterns)
  • Phase 3.7: Generate or update schema.md
  • Phase 4: Update INDEX.md (now includes concepts section)
  • Phase 5: Update state and log

5. **Show completion summary** with topics created/updated, concepts discovered, source count, and schema changes.

Arguments

  • No arguments: incremental compilation (recompile changed topics)
  • `--full`: force recompile all topics regardless of changes
  • `--topic {slug}`: recompile only the specified topic
  • `--dry-run`: show what would be compiled without writing files
Read more
@ussumant
Ships withllm-wiki-compiler

A Claude Code and Codex-compatible plugin that compiles knowledge into a topic-based wiki — from scattered markdown files or entire codebases. Reduce context costs by ~90% and give your agent a synthesized understanding of any project. Documentation

Stars on GitHub

Momentum

stars in total
332
Star history of ussumant/llm-wiki-compiler on GitHub, a chart by star-history.com

Other commands on llm-wiki-compiler.

fetch-bookmarks

fetch-bookmarks

Command

Pull bookmarks from an external service (X/Twitter today; Readwise, Pocket, GitHub stars planned) into a local directory that…

wiki-capture

wiki-capture

Command

Capture a URL plus user context, normalize it into a durable markdown source, then connect it to the global wiki, local project…

wiki-ingest

wiki-ingest

Command

Interactive workflow for adding one source file to the wiki. The LLM reads the file, discusses key takeaways with the user, then…

wiki-init

wiki-init

Command

Interactive, conversational setup for a new knowledge base wiki. One question at a time, multiple choice when possible.

More commands from other plugins.