First 10 Moves
Skill25 starsChanged 7 days agoMITView on GitHub
Read and explore unfamiliar code before asking questions. Use when new to a repo, orienting in an unfamiliar codebase, or finding where to start.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- llms.txtllms.txt
- agent-fitnessSkill
- body-checkSkill
- briefSkill
- capsule-compactSkill
- closeSkill
- codex-adapterSkill
- cognitive-updateSkill
- comms-summarizeSkill
- compact-noteSkill
- context-capsuleSkill
- context-hygieneSkill
- critique-planSkill
- decideSkill
- deep-reconSkill
- DiagnoseSkill
- digestSkill
- dreamSkill
- EnvelopeSkill
- find-weaknessSkill
- first-winSkill
- frontend-slidesSkill
- Honesty CheckSkill
- humanize-docsSkill
- impeccableSkill
- learn-from-failureSkill
- LearnSkill
- memory-bridgeSkill
- meta-improveSkill
- meta-improve-vaultSkill
- nightly-close-paritySkill
- nightly-ledger-captureSkill
- nightlySkill
- openSkill
- operator-setupSkill
- orientSkill
- pauseSkill
- ponytailSkill
- port-specSkill
- PromoteSkill
- reconcileSkill
- research-deepSkill
- resumeSkill
- Sandbox RoutingSkill
- scout-vaultSkill
- Self-ReviewSkill
- semantic-searchSkill
- setupSkill
- ship-adapterSkill
- Skill AuditSkill
- skill-huntSkill
- skill-recallSkill
- solution-huntSkill
- sprite-specSkill
- startSkill
- statusSkill
- StuckSkill
- supersedeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use on prompts like: "fix the X", "investigate", "trace this bug", "how does X work", "unfamiliar codebase", "where is X defined", "what …
- Distinctive: line 20
Look for clues. "Fix" implies a bug.
- Very specific: line 25
Read package.json / pyproject.toml / Cargo.toml (whatever the manifest is)
- Distinctive: line 26
Read README if short
- Distinctive: line 40
Search for the main exported function name.
- Distinctive: line 55
Not confirmed → loop back to step 8 with the new hypothesis.
- Distinctive: line 75
When you complete the recon, before writing any fix code, output:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
First 10 Moves
When dropped into an unfamiliar codebase or asked to fix something in code you don't know — run this sequence before doing anything else. The principle: most "clarification" questions are answered by 5 minutes in the relevant file. If the answer is in the code, the docs, or the file tree — find it there before asking.
When to use
- Fresh in an unfamiliar codebase
- Asked to fix or change code in an area you haven't worked in
- Tempted to ask "where does X live?" or "how does Y work?"
- Use on prompts like: "fix the X", "investigate", "trace this bug", "how does X work", "unfamiliar codebase", "where is X defined", "what calls Y", "navigate the code", "find the bug in"
The sequence (run top-to-bottom)
1. Re-read the user's request
Look for clues. "Fix" implies a bug. "The headline generator" implies a named module. Note any screenshots, errors, or examples included. The exact phrasing embeds most of the diagnosis — don't abstract it away.
2. Get the lay of the land (~30 seconds)
- List project root
- Identify main source directory
- Read
package.json/pyproject.toml/Cargo.toml(whatever the manifest is) - Read README if short
This rules out a lot. You learn the language, framework, build system, and entry point in 30 seconds.
3. Search for the keyword across the project
One ripgrep, filtered to relevant extensions. The matches will cluster around the real module.
4. Pick the most likely 2-3 matched files
Filenames are huge signal. aiHeadlineGenerator.ts beats headlineUtils.test.ts. Production code beats test code. Implementation beats type definitions.
5. Read the public surface of the top candidate
Imports + exports, not bodies. Shape first. What does this module take in and put out? What does it depend on?
6. Find the entry point — who calls this?
Search for the main exported function name. Call sites tell you how the module fits into the larger pipeline.
7. Read one upstream call site fully
Concrete example of "what inputs does this receive in real use?" That constrains everything downstream. Don't read 5 call sites — one is usually enough.
8. Read the main function body, focused on the symptom
- Specific symptom ("headlines are repeating") → find the path that produces it (the loop, the dedup logic, the source list)
- General "fix it" → top-to-bottom, alert for obvious issues (off-by-one, null guards, stale comparators, hardcoded values)
9. Query the data the function works with
A few DB rows, the actual config file, the recent log lines. Reality often disagrees with code's assumptions. This catches it fast.
10. Form a hypothesis, verify with one targeted read or query
"I think X because Y, confirm by checking Z."
- Confirmed → fix.
- Not confirmed → loop back to step 8 with the new hypothesis.
Hit rate at step 10: ~80% land a correct hypothesis. The remaining 20% loop back with what was learned.
What NOT to do in the first 10 moves
- ❌ Read every file in the directory
- ❌ Read tests before reading the code under test
- ❌ Ask a clarifying question (unless genuinely too vague)
- ❌ Start writing fix code (first fix attempt comes AFTER move 10)
- ❌ Run the code to "see what happens" — understand it statically first
- ❌ Open the IDE outline / class hierarchy explorer — too noisy
- ❌ Ask the user "where is X defined?" — grep is faster than asking
Most of the work is reading, not writing
A typical non-trivial change is ~80% reading, 20% writing. The edit is the result of the engineering, not the engineering itself. Agents that flip this ratio produce code that doesn't fit the surrounding system.
Output format
When you complete the recon, before writing any fix code, output:
**Recon complete:**
- Module: {path/to/file.ts}
- Entry point: {function name + caller path}
- Hypothesis: {what I think is wrong, in plain English}
- Verified by: {what I read/queried that confirms the hypothesis}
- Plan: {smallest change that solves it}Then execute the fix.
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.

