Subagent Directive: SuperClaude Subagent: Repo Index
Subagent Directive: SuperClaude Subagent: Repo Index is a verified SUBAGENT blueprint on Promptally in Specialized Subagents optimized for leading AI models. Repository indexing and codebase briefing assistant. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | SUBAGENT (Specialized Subagents) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 334 |
| Source file | repo-index.agent.md |
| Access tier | Free public (MIT) |
Pre-Filled Template
# 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.How to use this subagent
- Review the pre-filled example and source files above.
- Copy the template or download
repo-index.agent.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Subagent Directive: SuperClaude Subagent: Repo Index?
Open the subagent on Promptally, review the pre-filled example, then copy the template or download repo-index.agent.md and paste it into your model, IDE or workflow tool. Subagent Directive: SuperClaude Subagent: Repo Index is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Subagent Directive: SuperClaude Subagent: Repo Index free?
Yes. Subagent Directive: SuperClaude Subagent: Repo Index is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Subagent Directive: SuperClaude Subagent: Repo Index need?
Subagent Directive: SuperClaude Subagent: Repo Index is a static blueprint with no dynamic variables. Copy it and use it as-is.