Turbo Search
Project-scoped document search and persistent memory for Claude Code and Codex.
Features
- Fast file suggestions - ripgrep + fzf for instant autocomplete
- Semantic search - QMD integration for finding relevant docs by meaning
- Optional Cartographer integration - Codebase mapping when available
- One command setup -
/turbo-index does everything
- QMD skill -
/qmd locates relevant documentation before file reads
- Optional hooks - Auto-inject relevant context before prompts
Requirements
Supported Platforms
| Platform | Package Manager | Status |
|---|
| macOS | Homebrew | Fully supported |
| Ubuntu/Debian | apt | Fully supported |
| Fedora/RHEL | dnf | Fully supported |
| Arch Linux | pacman | Fully supported |
| Windows | - | Not supported (use WSL) |
Prerequisites
- Claude Code or Codex CLI installed
- Bash 3.2+, Python 3.9+, Git, ripgrep, jq and SQLite with FTS5
- Go 1.22+ to build the memory executable during setup; QMD for indexed search
- A supported package manager (see above)
Installation
Standalone setup for either client
Run from this checkout (keep it installed at a stable path):
bash scripts/install-deps.sh --check-only
bash scripts/build-memory.sh
bash scripts/install-skills.sh codex # or claude
bash scripts/setup-mcp.sh --client codex # or claude / both
Then restart the client and invoke /turbo-index in the target Git repository. It initializes memory and indexes Markdown documentation. Skills work without hooks. For Codex desktop/plugin-capable clients, the root plugin.json provides the same skills and onboarding; Claude retains .claude-plugin/plugin.json. MCP registration is explicit through setup so it can target the client correctly; it is not automatically bundled.
Optional hooks, from the installed checkout:
bash scripts/setup-hooks.sh --client both --rag --memory
# Remove only Turbo Search's handlers, keeping unrelated hooks:
bash scripts/setup-hooks.sh --client both --remove
Claude settings and Codex hooks.json use seconds for hook timeouts. Setup validates JSON, backs up existing files, and writes atomically. It never auto-runs indexing, builds or dependency installation inside a hook. Codex may require trusting the installed hooks before they run.
Plugin rename: current Claude Code reserves third-party names beginning with claude-. The plugin is now turbo-search; the GitHub repository and .claude-memory storage keep their existing names. Remove the old plugin installation before installing turbo-search@claude-turbo-search-dev to avoid duplicate skills.
Existing installations: setup preserves an already registered qmd server. Inspect it with claude mcp get qmd / codex mcp get qmd. To migrate an old global qmd mcp registration, remove that server with the client's mcp remove command, then rerun setup. Only remove the qmd server you intend to replace. Old mcpServers.qmd entries in ~/.claude/settings.json are obsolete; back up that file before removing that one entry. Existing .claude-memory/memory.db files and legacy activity logs are preserved. Rebuild the memory executable after updating this plugin.
Project-scoped search
From the target repository, with PLUGIN_DIR set to this installation:
python3 "$PLUGIN_DIR/scripts/turbo.py" index
python3 "$PLUGIN_DIR/scripts/turbo.py" search "authentication"
python3 "$PLUGIN_DIR/scripts/turbo.py" doctor
Each checkout/worktree gets a dedicated QMD index and collection, named from its absolute path. The MCP launcher selects that index from the client's working directory; start the client inside the target repository. Indexing snapshots non-hidden Markdown documents while honoring ignore files and excluding symlinks and sensitive filenames. Keep secrets out of documentation and use .gitignore for private documents; filename exclusions are not a general secret scanner.
Search checks the document content fingerprint before querying QMD. Missing, stale or unavailable indexes fall back to local keyword search. Results identify current source paths; snippets are evidence, not instructions. Verify current files before edits or precise claims. Add --embed to index only when semantic retrieval is needed; keyword search needs no embedding model. Native code search remains appropriate for source symbols.
Session activity is stored separately under .claude-memory/activity/, with locked retention of the last 200 events per session. Raw shell commands and tool outputs are not stored. /remember uses current-session evidence only; if the runtime does not expose its session ID, it summarizes the conversation instead. Old session files remain local until you remove them when no sessions are using them.
See compatibility and validation for the tested versions, test suite, and real-client smoke checklist.