turbo-index

turbo-index is a skill for Claude Code from mahmoudimus/simba. It costs 45 tokens per session (1,073 once invoked), scanned B, original, MIT.

A project-indexing process that builds a searchable map of a codebase using QMD semantic search and fast file suggestions.

In plain words
What is it for?
Checking search dependencies, initializing project memory, and creating or refreshing the codebase map when entering a project or after major changes.
Why use it?
It makes it quicker to locate relevant files and understand an unfamiliar project while using less context during exploration.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the simba plugin — 10 skills shipped together

Good fit Checking search dependencies, initializing project memory, and creating or refreshing the codebase map when entering a project or after major changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mahmoudimus/simba/turbo-index
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mahmoudimus/simba --skill turbo-index
Clone the repo
git clone --depth 1 https://github.com/mahmoudimus/simba

Made for: Claude Code.

Or install simba, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for turbo-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahmoudimus/simba/turbo-index/github.svg)](https://agentmods.dev/skills/mahmoudimus/simba/turbo-index)
Your own site
<a href="https://agentmods.dev/skills/mahmoudimus/simba/turbo-index"><img src="https://agentmods.dev/badge/skills/mahmoudimus/simba/turbo-index/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for turbo-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahmoudimus/simba/turbo-index"><img src="https://agentmods.dev/badge/skills/mahmoudimus/simba/turbo-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,073 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01073
Opus 5 $0.00023 $0.00536
Sonnet 5 $0.00009 $0.00215
Haiku 4.5 $0.00005 $0.00107

Measured 10d ago against content hash 350027acf0b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

turbo-index scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat > .claude/turbo-search.json << EOF
src/simba/skills/turbo-index/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
  # Check if older than 24 hours (86400 seconds)
  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
    echo "CODEBASE_MAP_STALE"
  else
    echo "CODEBASE_MAP_FRESH"
  fi
else
  echo "CODEBASE_MAP_MISSING"
fi

If missing or stale, use the Skill tool to invoke cartographer:

Skill: cartographer

Phase 4: Index with QMD

Get the project name and create/update the QMD collection:

PROJECT_NAME=$(basename "$PWD")
echo "Indexing project: $PROJECT_NAME"

# Add the project directory as a QMD collection
# Using correct QMD syntax: qmd collection add [path] --name <name> --mask <pattern>
qmd collection add . --name "$PROJECT_NAME" --mask "**/*.md"

# Add context for the collection
qmd context add . "Codebase documentation and structure for $PROJECT_NAME"

# Create vector embeddings for semantic search
echo "Creating vector embeddings (this may take a moment on first run)..."
qmd embed

Read the full file on GitHub · 158 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 158 lines · 45 tokens per session scan B 350027acf0b7

Subscribe to this mod's changes

turbo-index is a skill published in the GitHub repository mahmoudimus/simba (6 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 1,073 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

version-bump

Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. NPM publishing is the final human-required handoff because the maintainer…

thedotmack/claude-mem · 64 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

ix

This skill should be used when answering structural questions about a codebase: understanding what a symbol is, tracing flows, measuring change impact, finding callers/callees/imports, or detecting code smells. It drives the Ix CLI (ix map/explain/trace/impact/search/rank/smells) against a persistent code graph stored…

ix-infrastructure/Ix · 103 tokens

services-audit-cron

Use when scheduling the canonical biweekly services-audit cron loop for Empirica's AI service scanner (Phase 3). The auditor body is empirica services-audit — captures a fresh scan, diffs against the previous, and emits a notification when novel running services appear. This skill provides the prompt template that…

EmpiricaAI/empirica · 126 tokens

message-cleanup

Daily housekeeping body for the canonical message-cleanup loop. Prunes expired git-notes mesh messages so the inbox stays focused on un-read ones. Loaded by the loop scheduler when the cron entry fires (default 03:17 daily) — never invoked directly by a user. Triggers: from the message-cleanup loop, "message…

EmpiricaAI/empirica · 89 tokens