/wiki:reindexfrom wiki
Purge the wiki vault, then re-index the entire codebase via the `wiki` MCP service.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /wiki:reindex still runs it.
What the command file sets; muted values are Claude Code's defaults
Purge the wiki vault, then re-index the entire codebase via the wiki MCP service.
Confirm with user before wiping. Wipe is irreversible — destroys all thoughts, entities, reasons, conclusions, purposes.
Purge .wiki/ vault (keep .wiki/purposes/ definitions if user wants — ask):
rm -rf .wiki/thoughts .wiki/entities .wiki/reasons .wiki/conclusions .wiki/questions .wiki/ingest.wiki/ingest/ after.Read .claude/tools/wiki/INGEST_FLOW.md for current ingest semantics.
Walk codebase — collect source files. Skip:
target/, node_modules/, dist/, build/, .git/.wiki/, .claude/tools/wiki/target/For each source file call ingest_thought({title: <relpath>, content: <file body>}). Auto-chunking handles multi-purpose splits.
Periodically (every ~25 files) run search_fulltext for emerging clusters; promote 3+ similar thoughts to entities via ingest_entity.
After batch run /learn (ingest-time mode) on the new doc IDs to wikilink mentions and dedupe.
OPENAI_API_KEY — without it everything falls into general purpose..wiki/ingest/ state.7-day visitors to each command page
2 commands in this plugin
Other plugins' commands for the same job
npx claudepluginhub yesitsfebreeze/wiki --plugin wiki