| name | turbo-index |
| description | Index the current project for optimized search with QMD semantic search and fast file suggestions. Run this when entering a new codebase or after significant changes. Saves 60-80% tokens on exploration tasks. |
Turbo Index
You are running the turbo-index skill to set up optimized search for this project.
Instructions
Follow these phases in order. Use the Bash tool to run commands. Report progress to the user after each phase.
Phase 1: Check Dependencies
Run the dependency checker:
uv run python -c "
import simba.search.deps
missing = simba.search.deps.check_deps()
if missing:
print('Missing dependencies:')
for name, info in missing.items():
print(f' {name}: {info}')
else:
print('All dependencies satisfied.')
"
If dependencies are missing, ask the user if they want to install them. If yes, run:
uv run python -c "import simba.search.deps; simba.search.deps.install_deps()"
Phase 2: Initialize Project Memory
Initialize the SQLite memory database for this project:
uv run python -m simba.search init
Phase 3: Run Cartographer (if needed)
Check if codebase map exists and its age:
if [ -f docs/CODEBASE_MAP.md ]; then
AGE=$(($(date +%s) - $(stat -f %m docs/CODEBASE_MAP.md 2>/dev/null || stat -c %Y docs/CODEBASE_MAP.md 2>/dev/null)))
if [ $AGE -gt 86400 ]; then