← Docs hub

AGENT MODE — uses your existing Claude Code / Codex CLI session.

Mode B · Agent

Runs synthesis + query inside the Claude Code or Codex CLI session that's already open on your machine — no separate Anthropic API key.

Status (v1.4.0+)

Slash commands (/wiki-sync, /wiki-ingest, /wiki-query, /wiki-reflect, /wiki-update, /wiki-lint) still drive the agent workflow.

For synthesis, set synthesis.backend to claude (synchronous claude -p CLI). The old agent / agent-delegate backend (pending-prompt files + synthesize --list-pending / --complete) was removed in v1.4.0.

{
  "synthesis": {
    "backend": "claude",
    "claude_model": "sonnet"
  }
}

Then run llmwiki synth (or llmwiki add / llmwiki all). One configured backend serves every command.

Setup

mkdir -p ~/.claude/commands
cp .claude/commands/wiki-*.md ~/.claude/commands/

Open Claude Code, type /wiki-sync, and it runs. Ensure claude is on $PATH (or set synthesis.claude_path).

Daily flow

You: /wiki-sync
Claude: (runs python3 -m llmwiki sync, ingests new pages)

You: /wiki-query when did I last change the convert pipeline?
Claude: (reads wiki/index.md + the relevant source pages, synthesizes)

You: llmwiki synth   # or /wiki-all

Keyboard shortcuts

⌘K / Ctrl+KOpen command palette
/Focus search
g hGo to home
g pGo to projects
g sGo to sessions
j / kNext / prev row (tables)
?Show this help
EscClose dialogs

Structured queries

Mix key:value filters with free text in the palette:

type:sessionOnly session pages
project:llm-wikiFilter by project name (substring)
model:claudeFilter by model name (substring)
date:>2026-03-01Sessions after a date
date:<2026-04-01Sessions before a date
tags:rustPages mentioning a tag/topic
sort:dateSort results by date (newest first)

Example: type:session project:llm-wiki date:>2026-04 sort:date