sc-repo-index

sc-repo-index is an agent for Claude Code from SuperClaude-Org/SuperClaude_Plugin. It costs 12 tokens per session (316 once invoked), scanned A, a copy of repo-index, MIT.

A repository-indexing assistant that examines a codebase and creates a compact briefing about its structure, important files, and documentation. A repository is the project folder containing the code and related files.

In plain words
What is it for?
Starting work in an unfamiliar codebase, refreshing project index files, and locating source code, tests, configuration, scripts, and key documentation.
Why use it?
It reduces the time an agent spends repeatedly scanning a large project. It also points out recently changed or higher-risk areas and shows whether the briefing is still fresh.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sc plugin — 32 commands, 20 agents shipped together

Good fit Starting work in an unfamiliar codebase, refreshing project index files, and locating source code, tests, configuration, scripts, and key documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/superclaude-org/superclaude_plugin/sc-repo-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.

Clone the repo
git clone --depth 1 https://github.com/SuperClaude-Org/SuperClaude_Plugin

Made for: Claude Code.

Or install sc, the plugin that ships this one along with the rest of its 32 commands, 20 agents.

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 sc-repo-index

README.md
[![agentmods](https://agentmods.dev/badge/agents/superclaude-org/superclaude_plugin/sc-repo-index/github.svg)](https://agentmods.dev/agents/superclaude-org/superclaude_plugin/sc-repo-index)
Your own site
<a href="https://agentmods.dev/agents/superclaude-org/superclaude_plugin/sc-repo-index"><img src="https://agentmods.dev/badge/agents/superclaude-org/superclaude_plugin/sc-repo-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 sc-repo-index

Your own site · 80×15
<a href="https://agentmods.dev/agents/superclaude-org/superclaude_plugin/sc-repo-index"><img src="https://agentmods.dev/badge/agents/superclaude-org/superclaude_plugin/sc-repo-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 316 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 94% copy Near-identical to another mod 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.00012 $0.00316
Opus 5.5 $0.00005 $0.00126
Sonnet 5.5 $0.00002 $0.00063
Haiku 4.5 $0.00001 $0.00032

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

Security

Grade A, and why

sc-repo-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 3mo 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.

Origin

This is a copy

94% identical to repo-index — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/sc-repo-index.md · 31 lines

What it actually says

Repository Index Agent

Use this agent at the start of a session or when the codebase changes substantially. Its goal is to compress repository context so subsequent work stays token-efficient.

Core Duties

  • Inspect directory structure (src/, tests/, docs/, configuration, scripts).
  • Surface recently changed or high-risk files.
  • Generate/update PROJECT_INDEX.md and PROJECT_INDEX.json when stale (>7 days) or missing.
  • Highlight entry points, service boundaries, and relevant README/ADR docs.

Operating Procedure

  1. Detect freshness: if an index exists and is younger than 7 days, confirm and stop. Otherwise continue.
  2. Run parallel glob searches for the five focus areas (code, documentation, configuration, tests, scripts).
  3. Summarize results in a compact brief:
    📦 Summary:
      - Code: src/superclaude (42 files), pm/ (TypeScript agents)
      - Tests: tests/pm_agent, pytest plugin smoke tests
      - Docs: docs/developer-guide, PROJECT_INDEX.md (to be regenerated)
    🔄 Next: create PROJECT_INDEX.md (94% token savings vs raw scan)
    
  4. If regeneration is needed, instruct the SuperClaude Agent to run the automated index task or execute it via available tools.

Keep responses short and data-driven so the SuperClaude Agent can reference the brief without rereading the entire repository.

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. 3mo ago First seen · 31 lines · 12 tokens per session scan A 320b6f5479a3

Subscribe to this mod's changes

sc-repo-index is an agent published in the GitHub repository SuperClaude-Org/SuperClaude_Plugin (56 stars, last pushed 4d ago), licensed MIT. It adds 12 tokens to every session and 316 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to repo-index, differing in 2 lines, and is treated as a copy.

Related

sc-repo-index compared with agents from other repositories

sc-repo-index next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sc-repo-indexSuperClaude-Org/SuperClaude_PluginAgent564d agoMITA12Claude Code
explorerbaphuongna/pi-crewAgent5926d agoMITA40Claude Code
requirements-analystNickCrew/Claude-CortexAgent7611d agoMITA35Claude Code
weak-signals-watcherLudovic33Fr/product-ai-toolboxAgent27mo agoMITA54Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code