scout
Skill96 starsChanged 7 months agoMITView on GitHub
Fast codebase scanner. Use when any skill needs codebase context. Finds files, patterns, dependencies, project structure. Pure read-only — never modifies files.
52 other projects use a version of this.
Adopted by
Most recently taken up by
- harsh-ai-tools/hook-radartheir own version, first seen Nov 29, 2026
- duthaho/skillhubtheir own version, first seen Nov 28, 2026
- oscout/scouttheir own version, first seen Nov 26, 2026
- baekenough/oh-my-customcodetheir own version, first seen Nov 23, 2026
- DogodaBjorn/pbi-ateliertheir own version, first seen Nov 22, 2026
- cemtpc/claude-skillstheir own version, first seen Nov 22, 2026
Used with
Projects with it also use markdown-novel-viewer, expand and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAnalystIncSkillmarkdown-novel-viewer
Also in 3 projects that use this
andrewclark88Skillexpand
Expand a project's scope by updating its foundation documents. Reads existing north-star.md (or north-star-<project>.md), architecture.md, and roadmap.md, understands the codebase state, then interviews the user about the expansion. Updates foundation docs and roadmap so design can consume them in the next phase. Use when adding a major capability, new subsystem, or architectural shift — not for small one-offs (use feature for those).
Also in 3 projects that use this
mrgoonieSkillweb-testing
Web testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.
Also in 3 projects that use this
mrgoonieSkillweb-frameworks
Build modern full-stack web applications with Next.js (App Router, Server Components, RSC, PPR, SSR, SSG, ISR), Turborepo (monorepo management, task pipelines, remote caching, parallel execution), and RemixIcon (3100+ SVG icons in outlined/filled styles). Use when creating React applications, implementing server-side rendering, setting up monorepos with multiple packages, optimizing build performance and caching strategies, adding icon libraries, managing shared dependencies, or working with TypeScript full-stack projects.
Also in 3 projects that use this
VercelSkillremotion-best-practices
Best practices for Remotion - Video creation in React
Also in 6 projects that use this
- +4 more from mrgoonie
Other versions52 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 52
- huytieu/COG-second-brain★ 1.3ksame name
- HazAT/pi-config★ 451same name
- OneWave-AI/claude-skills★ 378same name
- typv/nest-turbo-starter★ 224same name
- QinghongLin/data2story-skill★ 155same name
- andrew-yangy/gru-ai★ 153same name
- simota/agent-skills★ 106same name
- vaayne/agent-kit★ 54same name
- anton-abyzov/vskill★ 47same name
- baekenough/oh-my-customcode★ 47same name
42 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- llms.txtllms.txt
- adversarySkill
- asset-creatorSkill
- auditSkill
- autopsySkill
- baSkill
- brainstormSkill
- browser-pilotSkill
- completion-gateSkill
- constraint-checkSkill
- context-engineSkill
- context-packSkill
- convergeSkill
- cookSkill
- councilSkill
- dbSkill
- debugSkill
- dependency-doctorSkill
- deploySkill
- designSkill
- diagramSkill
- doc-processorSkill
- docs-seekerSkill
- docsSkill
- fixSkill
- gitSkill
- graftSkill
- hallucination-guardSkill
- improve-architectureSkill
- incidentSkill
- integrity-checkSkill
- journalSkill
- launchSkill
- logic-guardianSkill
- marketingSkill
- mcp-builderSkill
- neural-memorySkill
- onboardSkill
- perfSkill
- planSkill
- preflightSkill
- problem-solverSkill
- quarantineSkill
- rescueSkill
- researchSkill
- retroSkill
- review-intakeSkill
- reviewSkill
- safeguardSkill
- sastSkill
- scaffoldSkill
- scope-guardSkill
- sentinel-envSkill
- sentinelSkill
- sequential-thinkingSkill
- session-bridgeSkill
- skill-forgeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 11 are distinctive, and 14 are very specific to this project.
0
Common
Most of the 48 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
When invoked, perform these steps:
- Very specific: line 31
Use Glob with /* to understand directory structure
- Very specific: line 32
Use Bash to run ls on key directories (root, src, lib, app)
- Distinctive: line 53
Search-first principle: Before building anything new, scout checks if a solution already exists — in the codebase, in package registries, …
- Distinctive: line 57
When scout finds the caller's target domain, classify the situation:
- Very specific: line 70
Check package.json / pyproject.toml / Cargo.toml for relevant installed packages
- Distinctive: line 71
If the task involves external data/APIs: note available MCP servers that might help
- Very specific: line 75
Use Glob to find files matching the target domain:
- Very specific: line 79
Use Grep to search for specific patterns:
- Very specific: line 82
Import statements: pattern: "import.*<module>" or "from <module>"
- Very specific: line 83
Use Read to examine the most relevant files (max 10 files, prioritize by relevance)
- Very specific: line 110
Use Grep to find import/require/use statements in identified files
- Very specific: line 116
Check for config files using Glob:
- Distinctive: line 121
Check naming conventions by reading 2-3 representative source files
- Distinctive: line 129
When activated, scout produces a 3-layer ascent map:
- Distinctive: line 153
After emitting the map, scout returns to its normal Phase 6 (Generate Report) with the zoom-out section as the primary output.
- Very specific: line 159
When called by cook, team, onboard, or autopsy (skills that need full project understanding), generate a structured codebase map:
- Distinctive: line 194
Skip this phase: when called by skills that only need targeted search (debug, fix, review, sentinel).
- Very specific: line 202
Read-only: NEVER use Edit, Write, or Bash with destructive commands.
- Distinctive: line 204
Focused: Only scan what is relevant to the request, not the entire codebase
- Distinctive: line 205
No side effects: Do not cache, store, or modify anything
- Very specific: line 209
If Glob returns 0 results: try broader pattern, then report "not found"
- Very specific: line 210
If a file fails to Read: skip it, note in report, continue with remaining files
- Distinctive: line 211
If project type is ambiguous: check multiple config files, report all candidates
- Very specific: line 307
Scope guardrail: Do not expand the scan to unrelated modules or write files beyond .rune/codebase-map.md unless explicitly delegated by the …
“Common” is measured: kept by at least 6 in 10 of the 48 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
scout
Fast, lightweight codebase scanning. Scout is the eyes of the Rune ecosystem.
Instructions
When invoked, perform these steps:
Phase 1: Structure Scan
Map the project layout:
- Use
Globwith**/*to understand directory structure - Use
Bashto runlson key directories (root, src, lib, app) - Identify framework by detecting these files:
package.json→ Node.js/TypeScriptCargo.toml→ Rustpyproject.toml/setup.py→ Pythongo.mod→ Gopom.xml/build.gradle→ Java
TodoWrite: [
{ content: "Scan project structure", status: "in_progress" },
{ content: "Run targeted file search", status: "pending" },
{ content: "Map dependencies", status: "pending" },
{ content: "Detect conventions", status: "pending" },
{ content: "Generate codebase map (if full scan)", status: "pending" },
{ content: "Generate scout report", status: "pending" }
]Phase 2: Targeted Search (Search-First)
Search-first principle: Before building anything new, scout checks if a solution already exists — in the codebase, in package registries, or in available MCP servers.
Adopt / Extend / Compose / Build decision matrix:
When scout finds the caller's target domain, classify the situation:
ADOPT — Exact match exists (in codebase, npm, PyPI, MCP). Use as-is.
EXTEND — Partial match exists. Extend/configure existing solution.
COMPOSE — Multiple pieces exist. Wire them together.
BUILD — Nothing suitable exists. Build from scratch.Report the classification to the calling skill. This informs Phase 2 (PLAN) in cook — ADOPT and EXTEND are vastly cheaper than BUILD.
Quick checks before deep search:
Grepthe codebase for existing implementations of the target functionality- Check
package.json/pyproject.toml/Cargo.tomlfor relevant installed packages - If the task involves external data/APIs: note available MCP servers that might help
Based on the scan request, run focused searches:
- Use
Globto find files matching the target domain:- Auth domain:
**/*auth*,**/*login*,**/*session* - API domain:
**/*.controller.*,**/*.route.*,**/*.handler.* - Data domain:
**/*.model.*,**/*.schema.*,**/*.entity.*
- Auth domain:
- Use
Grepto search for specific patterns:- Function names:
pattern: "function <name>"or"def <name>" - Class definitions:
pattern: "class <Name>" - Import statements:
pattern: "import.*<module>"or"from <module>"
- Function names:
- Use
Readto examine the most relevant files (max 10 files, prioritize by relevance)
Verification gate: At least 1 relevant file found, OR confirm the target does not exist.
Info Saturation Detection (Know When to Stop)
Scout's default is "max 10 file reads" — but the real question is whether additional reads are productive. Track saturation across Phase 2 searches:
Entity tracking: As you scan files, extract key entities (function names, class names, imports, API endpoints, config keys). Maintain a running set of discovered entities.
| Signal | Threshold | Meaning | Action |
| New entity ratio | Last 2 file reads added <2 new entities | Search is exhausted for this domain | STOP scanning, move to Phase 3 |
| Content similarity | Last 2 files share >70% of the same imports/patterns | Files are in the same module, redundant reads | Skip remaining files in this directory |
| Query variation | 3+ Glob/Grep queries with different patterns all return the same files | All search angles converge | Domain is fully mapped, proceed |
When saturation detected: Emit in Scout Report:
### Saturation
- Reached after [N] file reads — last 2 reads added [M] new entities
- Recommendation: synthesize_and_report (further scanning unlikely to yield new insights)Why: Without saturation detection, scout reads its full budget of 10 files even when 3 files already contain everything needed. This wastes context tokens and delays the calling skill. Early saturation detection returns control faster.
Phase 3: Dependency Mapping
- Use
Grepto find import/require/use statements in identified files - Map which modules depend on which (A → imports → B)
- Identify the blast radius of potential changes: which files import the target file
Phase 4: Convention Detection
- Check for config files using
Glob:.eslintrc*,eslint.config.*→ ESLint rulestsconfig.json→ TypeScript config.prettierrc*→ Prettier configruff.toml,.ruff.toml→ Python linter
- Check naming conventions by reading 2-3 representative source files
- Find existing tests with
Glob:**/*.test.*,**/*.spec.*,**/test_* - Determine test framework:
jest.config.*,vitest.config.*,pytest.ini
Phase 4.5: Zoom-Out Mode
Triggered by mode="zoom-out" from the caller, OR auto-triggered by listening on agent.stuck signal (emitted by fix after 2+ failed attempts on the same file, or by debug after 3+ disproved hypothesis cycles).
When activated, scout produces a 3-layer ascent map:
| Layer | What it includes | Cap |
| L0 (target) | The stuck file's symbols + immediate imports | unlimited |
| L1 (siblings) | Files in the same directory + their public exports | 8 files |
| L2 (callers/neighbors) | Modules that import L0's exports + neighboring modules in the same domain | 8 modules |
Output is a Mermaid diagram, NOT just a file list — visual is the value-add when an agent is stuck.
graph LR
target[src/auth/login.ts]:::stuck
target --> dep1[crypto.compare]
target --> dep2[db.users.get]
caller1[src/routes/auth.ts] --> target
caller2[src/middleware/protect.ts] --> target
sibling1[src/auth/refresh.ts] -.same-dir.- target
sibling2[src/auth/logout.ts] -.same-dir.- target
classDef stuck fill:#ff6b6bBounded — L2 ascent caps at 8 modules. If exceeded, collapse to "showing top 8 by import-frequency". Never blow past the cap silently.
After emitting the map, scout returns to its normal Phase 6 (Generate Report) with the zoom-out section as the primary output.
The Mermaid map is a working artifact for a stuck agent. When a polished visual is needed for docs or a handoff,
diagramcan redraw the same graph as editorial HTML —suggested_next: diagram.
Phase 5: Codebase Map (Optional)
When called by cook, team, onboard, or autopsy (skills that need full project understanding), generate a structured codebase map:
- Create
.rune/codebase-map.mdwith:
## Codebase Map
Generated: [timestamp]
### Module Boundaries
| Module | Directory | Public API | Dependencies | Domain |
|--------|-----------|-----------|--------------|--------|
| auth | src/auth/ | login(), logout(), verify() | database, config | Authentication |
| api | src/api/ | routes, middleware | auth, database | HTTP Layer |
### Dependency Graph (Mermaid)
```mermaid
graph LR
api --> auth
api --> database
auth --> database
auth --> config
```
### Domain Ownership
| Domain | Modules | Key Files |
|--------|---------|-----------|
| Authentication | auth, session | src/auth/login.ts, src/auth/verify.ts |
| Data Layer | database, models | src/db/schema.ts, src/models/ |- Derive modules from directory structure (top-level
src/subdirectories, or detected framework conventions) - Public API = exported functions/classes from each module's index/entry file
- Dependencies = import statements between modules (from Phase 3)
- Domain = inferred from module name + file contents (auth, payments, frontend, infra, data, config, etc.)
Skip this phase when called by skills that only need targeted search (debug, fix, review, sentinel).
Phase 6: Generate Report
Produce structured output for the calling skill. Update TodoWrite to completed.
Constraints
- Read-only: NEVER use Edit, Write, or Bash with destructive commands. Exception: Phase 5 may write
.rune/codebase-map.mdwhen called by cook, team, onboard, or autopsy - Fast: Max 10 file reads per scan. Prioritize by relevance score
- Focused: Only scan what is relevant to the request, not the entire codebase
- No side effects: Do not cache, store, or modify anything
Error Recovery
- If
Globreturns 0 results: try broader pattern, then report "not found" - If a file fails to
Read: skip it, note in report, continue with remaining files - If project type is ambiguous: check multiple config files, report all candidates
Calls (outbound)
None — pure scanner using Glob, Grep, Read, and Bash tools directly. Does not invoke other skills.
Called By (inbound)
plan(L2): scan codebase before planningdebug(L2): find related code for root cause analysisreview(L2): find related code for context during reviewfix(L2): understand dependencies before changing codecook(L1): Phase 1 UNDERSTAND — scan codebaseteam(L1): understand full project scopesentinel(L2): scan changed files for security issuespreflight(L2): find affected code pathsonboard(L2): full project scan for CLAUDE.md generationautopsy(L2): comprehensive health assessmentsurgeon(L2): scan module before refactoringmarketing(L2): scan codebase for feature descriptionssafeguard(L2): scan module boundaries before adding safety netaudit(L2): Phase 0 project structure and stack discoverydb(L2): find schema and migration filesdesign(L2): scan UI component library and design tokensperf(L2): find hotpath files and performance-critical codereview-intake(L2): scan codebase for review contextskill-forge(L2): scan existing skills for patterns when creating new skillsba(L2): scan existing codebase for context before requirements elicitationretro(L2): scan commit history and codebase for retrospective analysisgraft(L2): scan target codebase before grafting code from external repodocs(L2): scan codebase structure for documentation generationlogic-guardian(L2): scan business logic modules for protection mappingadversary(L2): scan codebase before red-team analysisimprove-architecture(L2): re-scan target module + callers when input context is stale
Output Format
## Scout Report
- **Project**: [name] | **Framework**: [detected] | **Language**: [detected]
- **Files**: [count] | **Test Framework**: [detected]
### Relevant Files
| File | Why Relevant | LOC |
|------|-------------|-----|
| `path/to/file` | [reason] | [lines] |
### Dependencies
- `module-a` → imports → `module-b`
### Conventions
- Naming: [pattern detected]
- File structure: [pattern]
- Test pattern: [pattern]
### Search-First Assessment
- **Classification**: ADOPT | EXTEND | COMPOSE | BUILD
- **Existing solution**: [what was found, if any]
- **Recommendation**: [brief rationale]
### Observations
- [pattern or potential issue noticed]Returns
| Artifact | Format | Location |
| Scout Report | Markdown (inline) | Emitted to calling skill |
| Codebase map | Markdown | .rune/codebase-map.md (when called by cook, team, onboard, autopsy) |
Sharp Edges
Known failure modes for this skill. Check these before declaring done.
| Failure Mode | Severity | Mitigation |
| Reading all files instead of targeted search (50+ files scanned) | MEDIUM | Max 10 file reads enforced — prioritize by relevance to the caller's domain |
| Reporting "nothing found" without trying a broader pattern | MEDIUM | Try broader glob first (e.g. **/*auth* → **/auth* → **/*login*), then report not found |
| Wrong framework detection affects all downstream planning | HIGH | Check multiple config files; report all candidates if ambiguous, don't guess |
| Missing dependency blast radius in Phase 3 | MEDIUM | Phase 3 is mandatory — callers need to know what else imports the target |
Done When
- Project structure mapped (directory layout, entry points)
- Framework detected from config files (or "ambiguous" with candidates listed)
- Targeted file search completed for the caller's domain
- Dependency blast radius identified for target files
- Conventions detected (naming, test framework, linting config)
- Codebase map written to
.rune/codebase-map.md(when called by cook, team, onboard, autopsy) - Scout Report emitted in structured format with Relevant Files table
Cost Profile
~500-2000 tokens input, ~200-500 tokens output. Always haiku. Cheapest skill in the mesh.
Scope guardrail: Do not expand the scan to unrelated modules or write files beyond .rune/codebase-map.md unless explicitly delegated by the parent agent.
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.

