Skip to content
Development
Command

/reindex

Fully rebuild the codebase index from scratch

From plugin
codebase-index
2329 skills9 commands1 hook1 MCP
> /plugin marketplace add Helweg/open-codebase-index
> /plugin install codebase-index@helweg-plugins

Command definition

reindex.md
description: 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.
@helweg
Ships withcodebase-index

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.

2321 skill1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
232
Star history of Helweg/open-codebase-index on GitHub, a chart by star-history.com

Other commands on codebase-index.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command