reposcout
Skill4 starsChanged 58 days agoMITView on GitHub
Scout and query software repositories with the RepoScout CLI to plan codebase reading, locate symbols, read known definitions, measure repository health, explain files, map dependencies, assess change impact, and review diffs. Use before exploring an unfamiliar codebase, planning implementation or refactoring work, selecting files for an agent context, investigating declarations or dependencies, reviewing staged, working-tree, or branch changes, or evaluating complexity, duplication, churn, risk, and test presence.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- codebase-designSkill
- domain-modelingSkill
- grill-meSkill
- grill-with-docsSkill
- improve-codebase-architectureSkill
- reposcoutSkill
- rust-codebase-excellenceSkill
- tddSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 3 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use RepoScout to gather evidence before reading a repository broadly, or to read an explicitly known definition under a shared output …
- Very specific: line 17
When several related focus paths are already known, pass every path to one context-planning invocation with repeated --focus flags.
- Very specific: line 20
Use --profile safe for an unfamiliar or untrusted checkout.
- Very specific: line 23
Never start reposcout daemon, a frontend, or another long-running process unless the user explicitly authorizes it.
- Very specific: line 31
Do not repeat unchanged source already available in context.
- Distinctive: line 34
Use the matching focused guidance below and preserve snapshot/hash identity on follow-up reads.
- Very specific: line 57
Use ordinary -f json --summary only when the task needs a detailed graph, impact, review, baseline, directory block, or a predicate the …
- Very specific: line 77
Use a bare reposcout only when the exact zero-argument/default behavior is requested.
- Distinctive: line 83
Read only the references required by the current task.
- Very specific: line 98
Never create or modify a global/project reposcout.toml, .reposcout.toml, or .reposcoutignore without explicit user approval.
- Very specific: line 116
Use only an already-installed reposcout binary whose provenance the user trusts.
- Distinctive: line 121
Never clone, build, install, or update the CLI without explicit authorization.
- Very specific: line 123
Do not spend calls on routine command -v, --version, or capability preflights.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RepoScout
Use RepoScout to gather evidence before reading a repository broadly, or to read an explicitly known definition under a shared output budget. Ordinary scouting and context reports retain body-free facts, rankings and confidence gaps. The coding agent decides which source is needed and which validations the task requires.
Start safely
- Target the narrowest path that covers the task. Run one scan at a time, retain the cache, and keep results on stdout unless the user requests an artifact.
- When several related focus paths are already known, pass every path to one context-planning
invocation with repeated
--focusflags. They then share one token budget and file limit; do not request a separate full-budget plan for each known focus. - Use
--profile safefor an unfamiliar or untrusted checkout. It ignores repository-owned configuration and applies conservative resource guardrails.
Never start reposcout daemon, a frontend, or another long-running process unless the user
explicitly authorizes it.
Choose the smallest start
On Unix, if a file and symbol or line are already known and its source is needed, use reposcout read
directly; load the focused source-query guidance below. If the exact complete small span is
already known and no snapshot, hash or coverage evidence is needed, use a targeted native read.
Do not repeat unchanged source already available in context. Optional --outline is not a required
first step. When the entry point is unknown, use lexical find only if its declaration candidates
answer the next question. Known definitions can share a plan; known error logs can seed context.
Use the matching focused guidance below and preserve snapshot/hash identity on follow-up reads.
For a known comparison, start with bounded reposcout changes when the next
decision needs changed definitions; request --source only for bodies needed by that decision.
The change-analysis guidance describes this route and optional broader report integration.
For two committed PR revisions and their wider impact, use review-context --base REF --head REF;
load the same change-analysis guidance. Preserve configured tokenization and leave agent allocation
and task splitting entirely to the caller.
For compact agent scouting, start with:
reposcout --agent-summary <path>This JSON-only view defaults to the agent profile, caps each ranking and context tier, and keeps
the complete document under 16 KiB. Read coverage and omission counters before treating absence as
evidence. For a focused or change-seeded plan, first check context.outline_only.entries for
explicit seeds that exceed the body budget, then read context.direct_evidence; inspect
expand_if_needed only when the direct files do not answer the next decision. An unseeded context
plan has no direct evidence by design; its expansion entries are only a bounded orientation
shortlist.
Use ordinary -f json --summary only when the task needs a detailed graph, impact, review,
baseline, directory block, or a predicate the native view does not expose. Then discard unrelated
fields before stdout enters model context. Use a targeted compact projection, not bare jq (which
only pretty-prints the full payload), and preserve the producer's status with pipefail:
set -o pipefail
reposcout -f json --summary --profile agent <path> \
| jq -c '{
coverage: (.diagnostics | {
discovered_files, analyzed_files, unsupported_files,
unreadable_files, walker_errors,
scan_truncated: (.scan_truncated // false)
}),
assessment: .summary.assessment,
scope: {basis: .work_scope.basis, inventory: .work_scope.inventory}
}'Use a bare reposcout only when the exact zero-argument/default behavior is requested. A terminal
receives a human table, but captured or redirected stdout receives full JSON; read the repository
scouting guidance before interpreting that default.
Load focused guidance
Read only the references required by the current task. Load more than one only when the task spans those workflows.
| Representative task | Read |
| Repository scouting | scouting.md |
| Known definition or body-free file outline | source-queries.md |
| Context planning | context-planning.md |
| Change analysis | change-analysis.md |
| Quality assessment | quality.md |
| Conditional or compound JSON decision | decision-queries.md |
| Diagnostics and configuration | diagnostics.md |
Require configuration consent
Never create or modify a global/project reposcout.toml, .reposcout.toml, or
.reposcoutignore without explicit user approval. Before requesting approval, explain the exact
keys or patterns, affected paths/analyzers, precedence, and inventory-versus-health consequence.
Reading existing configuration and running reposcout config are non-mutating.
Report conclusions
State the scanned target, profile, and diff scope. Lead with relevant coverage gaps, then report only the findings, reading order, tests, and dependents that affect the task. Include totals, omissions, and unavailable signals; never turn a disabled analyzer into a measured zero.
Distinguish measured facts from heuristics: runner-backed test-file selection is not measured coverage, risk is a versioned ranking, graph resolution can be partial, and compact duplicate lists are projections over retained raw findings. Do not present graph components or numeric thresholds as proof that work should be delegated or split.
Trust the CLI boundary
Use only an already-installed reposcout binary whose provenance the user trusts. The official
source is gordon1210/reposcout, and official binaries
come from GitHub Releases. If provenance is
uncertain, stop and direct the user to the
verified installation flow.
Never clone, build, install, or update the CLI without explicit authorization.
Do not spend calls on routine command -v, --version, or capability preflights. Run the selected
task command directly. If the shell reports that reposcout is not installed, tell the user and
stop.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

