indxr: Skill for Cursor

.cursor/skills/explore-codebase-index/SKILL.md

explore-codebase-index is a skill for Cursor from bahdotsh/indxr. It costs 67 tokens per session (477 once invoked), scanned A, original, MIT.

A guide for exploring the indxr code repository through an index that maps files, declarations, imports, and relationships.

In plain words
What is it for?
Use it to locate modules, functions, types, and cross-file connections before reading or editing source code. indxr is the repository this guide is designed for.
Why use it?
It helps you understand a large codebase and find relevant code without opening many unrelated files.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is bahdotsh/indxr's own configuration. It tells Cursor how to work on indxr itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything indxr configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bahdotsh/indxr. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bahdotsh/indxr/main/.cursor/skills/explore-codebase-index/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bahdotsh/indxr

Made for: Cursor.

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 explore-codebase-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahdotsh/indxr/explore-codebase-index/github.svg)](https://agentmods.dev/skills/bahdotsh/indxr/explore-codebase-index)
Your own site
<a href="https://agentmods.dev/skills/bahdotsh/indxr/explore-codebase-index"><img src="https://agentmods.dev/badge/skills/bahdotsh/indxr/explore-codebase-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 explore-codebase-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/bahdotsh/indxr/explore-codebase-index"><img src="https://agentmods.dev/badge/skills/bahdotsh/indxr/explore-codebase-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 477 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00067 $0.00477
Opus 5.5 $0.00027 $0.00191
Sonnet 5.5 $0.00013 $0.00095
Haiku 4.5 $0.00007 $0.00048

Measured 1mo ago against content hash e74864b5b602, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

explore-codebase-index scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/explore-codebase-index/SKILL.md · 35 lines

What it actually says

Explore codebase via INDEX.md

When to use

Apply this skill when exploring this repository and the user (or task) needs a structural picture: files, functions, types, classes, and imports across the project.

Instructions

  1. Start with the index — Read .cursor/INDEX.md early. It aggregates what would otherwise require many file opens: tree layout, per-file summaries, declarations, and import relationships (generated from the project indexer).

  2. Use it to route next steps — Pick files and symbols from the index, then open only those regions (e.g. via read_source, symbol search, or the Read tool for edits). Avoid reading large unrelated areas when the index already answers “what lives where.”

  3. If the index looks stale — Timestamps and counts appear at the top of INDEX.md. After substantial code changes, the maintainer may regenerate it (see project guidance such as regenerate_index / indexer docs in-repo). If sections clearly mismatch the tree on disk, say so briefly and fall back to directory listing plus targeted reads.

Relationship to other tooling

Project rules may require indxr MCP tools for surgical queries. INDEX.md is the offline, whole-repo structural digest; MCP tools are ideal for precise symbol lookup and line-scoped reads. Use both: index for orientation and breadth, MCP (or direct reads) for depth on chosen symbols.

Examples

User: “Where is Rust query logic for TypeScript?”

  1. Open .cursor/INDEX.md, find the directory tree and declaration sections for src/parser/queries/.
  2. Note typescript.rs (and related modules), then read only those files or the relevant symbols.

User: “What does the MCP server expose?”

  1. Scan INDEX.md for mcp, src/mcp.rs, and linked declarations.
  2. Drill into the named functions/types from there.
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. 1mo ago First seen · 35 lines · 67 tokens per session scan A e74864b5b602

Subscribe to this mod's changes

explore-codebase-index is a skill published in the GitHub repository bahdotsh/indxr (73 stars, last pushed 6mo ago), licensed MIT. It adds 67 tokens to every session and 477 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

audio-transcriber-development

Develop and maintain the Audio Transcriber connector while preserving its Whisper backend boundary, MCP tool surface, typed transcript ingestion, optional hardware behavior, package resources, and public-first evidence.

Knuckles-Team/audio-transcriber · 40 tokens

audio-transcriber-knowledge-graph

Native knowledge-graph ingestion of Whisper transcripts on the audio-transcriber MCP server — transcribe an audio/video file and push it into the epistemic-graph in one call: the raw audio as a shared :MediaAsset blob, the transcript text as a :Document, and each Whisper segment as a :TranscriptSegment node linked…

Knuckles-Team/audio-transcriber · 121 tokens

audio-transcriber-transcription

Speech-to-text on the audio-transcriber MCP server — run Whisper (faster-whisper, falling back to openai-whisper) over a local audio/video file or a microphone recording, and export txt/srt/vtt/json captions. Use when the agent must transcribe or translate spoken audio, generate subtitle/caption files, or pick a…

Knuckles-Team/audio-transcriber · 119 tokens

Pets

API operations for pets (6 endpoints).

liliang-cn/mcp-swagger-server · 10 tokens

Search

Provides Search for pets.

liliang-cn/mcp-swagger-server · 6 tokens

audio-transcriber-operations

Operate audio-transcriber through its governed MCP and Arbora capabilities, including audio transcriber knowledge graph, audio transcriber transcription. Use when a request requires this provider's read, change, automation, ingestion, troubleshooting, or evidence workflows.

Knuckles-Team/audio-transcriber · 53 tokens