> ## Documentation Index
> Fetch the complete documentation index at: https://saydo-5cd0e3d7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Go from install to a working wiki in four steps.

This guide walks through the full first-time setup: initializing your wiki, running the first compile, browsing the output, and wiring it into your agent instructions so Claude uses it automatically every session.

<Steps>
  <Step title="Initialize">
    Open Claude Code in your project directory and run:

    ```bash theme={null}
    /wiki-init
    ```

    The plugin scans your project for markdown-heavy directories, samples 10–15 representative files, and proposes a custom article structure that fits your domain. For example:

    * A product team's wiki might get: **Summary — Timeline — Key Decisions — Experiments & Results — Gotchas — Open Questions — Sources**
    * A research wiki might get: **Summary — Key Findings — Methodology — Evidence — Gaps & Contradictions — Open Questions — Sources**

    You approve (or tweak) the proposed sections before anything is written. Once confirmed, the plugin writes `.wiki-compiler.json` to your project root and creates the output directory structure.
  </Step>

  <Step title="Compile">
    Run the compiler to build your first wiki:

    ```bash theme={null}
    /wiki-compile
    ```

    The compiler reads all your source files, classifies them into topics, and writes one article per topic into your output directory. It also generates a `schema.md` that defines your wiki's structure and naming conventions.

    <Note>
      The first compile takes 5–10 minutes depending on how many files you have. After that, `/wiki-compile` is incremental — it only recompiles topics whose source files changed.
    </Note>

    When it finishes, you'll see a summary showing how many topics were created, how many source files were processed, and any concept articles discovered (cross-cutting patterns that span three or more topics).
  </Step>

  <Step title="Browse the wiki">
    Open the output directory in Obsidian (or any markdown viewer) and start with `INDEX.md`. It lists all compiled topic articles with a one-line summary of each.

    Each topic article includes coverage indicators so you know how thoroughly the wiki covers that section:

    ```markdown theme={null}
    ## Summary [coverage: high -- 15 sources]
    ...trust this, it's well-sourced...

    ## Experiments & Results [coverage: medium -- 3 sources]
    ...decent overview, check raw files for details...

    ## Gotchas [coverage: low -- 1 source]
    ...read the raw sources listed in this section directly...
    ```

    Spot-check a few articles to confirm they accurately reflect your knowledge before wiring the wiki into your agent instructions.
  </Step>

  <Step title="Add to AGENTS.md">
    Once you're satisfied with the output, add the following to your project's `AGENTS.md` (or `CLAUDE.md`). Replace `{your output path}` with the path you configured during `/wiki-init`.

    ```markdown theme={null}
    ## Knowledge Base

    A compiled knowledge wiki is available at `{your output path}/`.

    **Session startup:** Read `wiki/INDEX.md` for a topic overview, then read
    specific topic articles relevant to your current task.

    **Using coverage indicators:** Each section has a coverage tag:
    - `[coverage: high]` -- trust this section, skip the raw files.
    - `[coverage: medium]` -- good overview, check raw sources for granular questions.
    - `[coverage: low]` -- read the raw sources listed in that section directly.

    **When you need depth:** Check the article's Sources section for links to
    raw files. Only read raw sources for medium/low coverage sections or when
    you need very specific detail.

    **Never modify wiki files directly** -- they are regenerated by `/wiki-compile`.
    ```

    After saving, Claude automatically reads the wiki at the start of every session — no extra commands needed. High-coverage sections save tokens by replacing raw file reads. Low-coverage sections point Claude to the exact raw files it needs.

    <Tip>
      Only add this after running `/wiki-compile` at least once and confirming the topic articles accurately reflect your knowledge base.
    </Tip>
  </Step>
</Steps>

## What's next

<CardGroup cols={2}>
  <Card title="Commands" icon="terminal" href="/commands/wiki-init">
    Full reference for all `/wiki-*` commands, including `/wiki-ingest`, `/wiki-search`, and `/wiki-lint`.
  </Card>

  <Card title="Adoption modes" icon="sliders" href="/configuration/adoption-modes">
    Graduate from `staging` to `recommended` to `primary` as your trust in the wiki grows.
  </Card>

  <Card title="AGENTS.md integration" icon="file-lines" href="/guides/agents-md-integration">
    Detailed guide to wiring the wiki into your agent instructions.
  </Card>

  <Card title="Incremental updates" icon="rotate" href="/guides/incremental-updates">
    Keep the wiki current as your source files change.
  </Card>
</CardGroup>
