agentleFS
vignesh-nagarajan-vnvignesh-nagarajan-vn/claude-workflow-skills/skills/repo-scout/SKILL.md

repo-scout

Skill4 starsChanged 11 days agoMITView on GitHub

Get oriented in an unfamiliar or large repo from one compact map instead of reading files. Use at the start of work in a repo with no CLAUDE.md, when asked what a codebase does or where something lives, before any broad or cross-cutting change, and whenever the alternative is opening several files just to find the entry point. Runs scripts/repo_scout.py.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 10 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.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • roronoazoroshao369Skill

    memory-compression

    Also in 5 projects that use this

  • sublimotionSkill

    agent-runtime

    Launch and manage detached agent runs on EKS via the agent-runner CLI. Use when the user says "launch an agent run", "agent runtime", "agent-runner", "run this spec on the cluster", "check run status", "agent run logs", or "stop a run". Do NOT use for writing the agent-runner code itself (edit the sibling ../agent-runner repo), Terraform of the foundation (use terraform-automation), or GPU serving deployments (use infra-deployer).

    Also in 5 projects that use this

  • KirchliveSkill

    skill-routing

    Decides which of the installed skills a task needs and loads them before the work starts. This skill should be used at the beginning of any multi-step task — build, fix, refactor, migrate, review, plan, release, research, write, design, video — and again at every phase change, after context compaction, and when work moves into a different part of the codebase. Use it for requests like "let's build X", "fix this bug", "refactor Y", "plan the migration", "review this", and also when the user asks which skill applies, why a skill did not fire, or asks to check what is available.

    Also in 5 projects that use this

  • BenjaminGSkill

    harness-review

    Turn one PR's review comments into harness fixes — classify each cause by the most solid place it can live (codebase, lint, rules, skill), then draft the fixes in a separate PR.

    Also in 5 projects that use this

  • +5 more from naman10parikh

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check for a CLAUDE.md first.

    line 12
  2. Distinctive:

    If the repo has no CLAUDE.md and you are going to work in it more than once, that is the moment to write one.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 10 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

repo-scout

Orientation is where sessions leak the most tokens. Opening eight files to learn what a repo is costs thousands and still misses the layout. One script pass costs a few hundred and answers the same question better.

Order of operations

Check for a CLAUDE.md first. If one exists and its dates look current, read that and stop, it already is the map.

Otherwise:

python <skill>/scripts/repo_scout.py

That reports the stack, entry points, directories ranked by size, the largest files, the files changed most recently, and where the docs are.

Then open the files the map points to for your question, usually two or three. Open a file for what the map cannot tell you, such as behavior and conventions, not to confirm what it already said.

Flags

FlagEffect
--dir libScope to a subtree. Use on a monorepo, one package at a time.
--since "7 days ago"Change the window for the recently-changed list. Default is 30 days.
--budget 60Cap output lines. Lower it on a huge repo.
--jsonMachine readable.

Reading the output

Recently changed is the most useful section and the least obvious. It ranks files by commit count in the window, which is where the work actually is. On an unfamiliar repo this beats the directory listing for deciding what to read.

Largest files are where the logic concentrated. A file over about a thousand lines is usually the core of whatever it belongs to.

Entry points come from manifests and framework conventions. When the list is empty the repo is a library, so read the public export surface instead.

After scouting

If the repo has no CLAUDE.md and you are going to work in it more than once, that is the moment to write one. See agent-contract. The map you just generated is most of the input.

What this does not do

It does not read code semantics, trace call graphs, or find bugs. It tells you where to look. For a targeted question about behavior, grep for the symbol instead of scouting:

git grep -n "functionName" -- "*.ts"

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.