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 $0.00006 $0.00158
Sonnet 5 $0.00002 $0.00063
Haiku 4.5 $0.00001 $0.00032

Measured 10d ago against content hash 320b6f5479a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 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.

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. 10d 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 (55 stars, last pushed 19d ago), licensed MIT. It adds 12 tokens to every session and 316 once invoked, about $0.0001 per session on Opus 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

Other agents, from other repositories

requirements-analyst

Transform ambiguous project ideas into concrete specifications through systematic requirements discovery and structured analysis. Ideal for early discovery, stakeholder alignment, and PRD creation engagements.

NickCrew/Claude-Cortex · 35 tokens

weak-signals-watcher

Utiliser pour détecter en continu les signaux faibles utilisateurs (verbatims, support, mentions externes) et alimenter le journal de discovery, avec une synthèse hebdomadaire au format du skill weak-signals-weekly.

Ludovic33Fr/product-ai-toolbox · 54 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens