/reindex
Fully rebuild the codebase index from scratch
> /plugin marketplace add Helweg/open-codebase-index > /plugin install codebase-index@helweg-plugins
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/reindex
Context preview
What this command does when you run it.
Fully rebuild the codebase index from scratch
Command definition
reindex.mddescription: Fully rebuild the codebase index from scratch
Run the `index_codebase` tool with `force=true` to rebuild the index from scratch.
User input: $ARGUMENTS
Parse the input and set tool arguments:
- force=true always
- estimateOnly=false always
- verbose=false (default, for token efficiency)
- verbose=true if input contains "verbose" (for detailed output)
Examples:
- `/reindex` → force=true, estimateOnly=false, verbose=false
- `/reindex verbose` → force=true, estimateOnly=false, verbose=true
IMPORTANT: You MUST call `index_codebase` with `force=true`.
Show final statistics including files processed, chunks indexed, tokens used, and duration.
If indexing completes but the codebase still is not ready, tell the user to run `/status` next.
- If `/status` reports failed embedding batches, fix the provider/auth issue and rerun `/index` normally.
- If `/status` reports provider/model incompatibility again after a rebuild, surface that clearly as an unexpected issue.
Search a codebase by meaning, then follow the result into definitions, callers, and dependency paths. open-codebase-index is a local semantic code index for OpenCode, Jcode, Pi, Codex, Claude Code, and other MCP clients.
Repo: Helweg/open-codebase-index
Other commands on codebase-index.
- /call-graph
Trace callers, callees, or paths using the call graph
Open command - /definition
Find where a symbol is defined in the codebase
Open command - /find
Find code using hybrid approach (semantic + grep)
Open command - /peek
Quickly find likely code locations without returning full code
Open command - /pr-impact
Analyze PR or branch impact using the call graph
Open command - /search
Search codebase by meaning using semantic search
Open command

