smart-navigator
Skill0 starsChanged 2 months agoMITView on GitHub
Structure-first repo recon: map manifests and a 2-level tree, then trace entry points instead of reading file by file. Use when in an unfamiliar codebase, finding where something lives or what calls it, or before scoping a change.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentkit-auditSkill
- chart-designSkill
- context-budgetSkill
- context-compressorSkill
- daily-standupSkill
- data-architectSkill
- data-eng-routerSkill
- data-quality-standardsSkill
- data-storytellingSkill
- debug-loopSkill
- doc-standardsSkill
- ext-archifySkill
- ext-awsSkill
- ext-azureSkill
- ext-cli-opsSkill
- ext-codegraphSkill
- ext-databricksSkill
- ext-diagramsSkill
- ext-gap-discoverySkill
- ext-gcpSkill
- ext-hallmarkSkill
- ext-meta-museSkill
- ext-reaSkill
- ext-security-auditSkill
- ext-seoSkill
- ext-slidesSkill
- ext-systems-designSkill
- ext-ui-uxSkill
- frontend-motion-3dSkill
- genai-engineeringSkill
- humanizerSkill
- mcp-security-reviewSkill
- meeting-to-actionsSkill
- memorySkill
- memory-syncSkill
- ml-lifecycleSkill
- orchestrateSkill
- pipeline-scaffoldSkill
- prompt-enhancerSkill
- pr-reviewSkill
- session-insightsSkill
- setup-guardianSkill
- skill-forgeSkill
- spec-writerSkill
- token-saverSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Very specific: line 28
Skeleton before flesh: Run the map for a 2-level tree, per-directory file counts and sizes, manifests, guessed entry points.
- Distinctive: line 39
Read by weight: the directory holding most of the KB is where understanding pays off.
- Distinctive: line 62
Stop when both are answered: Stop mapping when you can say: (1) where X lives — a path, not a guess.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Smart Navigator
Map first, read later. A repo's manifests and skeleton answer
"where does X live" and "what calls it" faster than reading code.
See reference/recon-playbook.md for the full protocol with a
worked example. No source, only a shipped build, binary or
bundle? Use ext-rea instead. Repo already indexed by CodeGraph
(.codegraph/ exists)? Prefer ext-codegraph for symbol and call-path
questions.
Procedure
Map first.
python3 scripts/map.py .already extracts manifest key fields. If you still need a manifest, bound it:head -n 40 package.json # likewise pyproject.toml, go.mod, Cargo.toml head -n 30 README.mdSkeleton before flesh. Run the map for a 2-level tree, per-directory file counts and sizes, manifests, guessed entry points. Ignored:
node_modules,.git,dist,__pycache__,.venv,target.python3 scripts/map.py . python3 scripts/map.py . --depth 3 # deeper when needed python3 scripts/map.py . --json # machine-readableRead by weight: the directory holding most of the KB is where understanding pays off. Skip generated code and lockfiles.
Trace entry points inward. Take the map's entry-point guesses (files named
main.*,cli.*,index.*,bin/*, plus manifestmain/binfields) and follow imports one hop at a time:rg -n '^(import|from .* import|const .* = require)' <entry> | head -n 40Repeat on the next hop. This builds the call spine without opening every file.
Symbol search before full reads. For a specific function, class, or route, list hits first, then read only the one you need:
rg -n -m 3 '<symbol>' <weighted-dir>/ | head -n 20 sed -n '<start>,<end>p' <file>- Stop when both are answered. Stop mapping when you can say: (1) where X lives — a path, not a guess; (2) what calls it — the 1-2 callers above it from the trace. Depth belongs to the implementation step, not reconnaissance.
Rules
- Never read a directory alphabetically. Weight by the map, then trace from entry points.
- Never read generated code for understanding.
dist/, lockfiles,node_modules/,__pycache__describe the build, not the design. - Never re-list what the map already showed. The map is the
source of truth for structure; don't
lsto confirm it.
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.

