Code Indexer
Manually rebuild the code index for the current project.
Note: The index builds automatically when you start a Claude Code session in a git repository. You only need this command to force a rebuild.
Usage
bash
~/.chippery/bin/chippery-indexer index-dir "$(pwd)" && echo "Index built successfully"
When to Run
Run /chippery-index when:
- •After major code changes (new files, large refactoring)
- •If
/chippery-funcreturns stale or missing results - •To force an immediate rebuild instead of waiting for background indexing
What It Does
- •Scans the current directory for code files
- •Parses and indexes functions, classes, and their relationships
- •Builds call graphs for caller/callee analysis
- •Stores index in
.chippery/index/directory
Index Location
The index is stored in .chippery/index/ in the project root. This directory can be added to .gitignore.
Supported Languages
- •TypeScript/JavaScript
- •Python
- •Go
- •Rust
- •Java/Kotlin
- •C/C++
- •And more...
After Indexing
Once indexed, you can use:
- •
/chippery-func <name>- Get function details - •
/chippery-orient <query>- Navigate the codebase