atlas-traverse
Skill2 starsChanged 5 months agoMITView on GitHub
Phase T (Traverse) — deterministic structural mapping of a codebase. Zero LLM calls during retrieval; only symbol index, AST, ripgrep, and git log. Emits map.md with entrypoints, modules, call graph, and heatmap. Use after mission.md is valid and before any meaning-based search. Trigger phrases — "map the repo", "what are the entrypoints", "build the call graph", "list all routes/workers/CLIs".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Rynaro/magicitetheir own version, first seen Sep 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Rynaro/magicite★ 2same name
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 repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- atlas-abstractSkill
- atlas-esl-hopSkill
- atlas-locateSkill
- atlas-rescoutSkill
- atlas-scatterSkill
- atlas-synthesizeSkill
- atlas-verify-incomingSkill
- forge-checker-handoffSkill
- forge-deliberationSkill
- forge-framingSkill
- forge-self-consistencySkill
- forge-verificationSkill
- forge-verify-incomingSkill
- gilgamesh-attestSkill
- gilgamesh-esl-hopSkill
- gilgamesh-gaugeSkill
- gilgamesh-grindSkill
- gilgamesh-verify-incomingSkill
- idg-compositionSkill
- idg-esl-hopSkill
- idg-section-parallelSkill
- idg-verificationSkill
- idg-verify-incomingSkill
- kupo-esl-hopSkill
- kupo-keep-or-kickSkill
- kupo-patch-verifySkill
- kupo-verify-incomingSkill
- ramza-criticSkill
- ramza-discoverSkill
- ramza-esl-hopSkill
- ramza-methodologySkill
- ramza-parallel-specSkill
- ramza-verify-incomingSkill
- vigil-esl-hopSkill
- vigil-graphSkill
- vigil-interveneSkill
- vigil-isolateSkill
- vigil-learnSkill
- vigil-verify-incomingSkill
- vigil-verifySkill
- vivi-context-engineeringSkill
- vivi-esl-hopSkill
- vivi-failure-recoverySkill
- vivi-loop-nativeSkill
- vivi-memory-managementSkill
- vivi-methodologySkill
- vivi-parallel-tracksSkill
- vivi-verify-incomingSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
If you find yourself reasoning about *meaning*, stop — that's Phase L.
- Distinctive: line 47
If the host provides a code-graph server (e.g.
- Distinctive: line 74
When AST is unavailable or the scope crosses languages:
- Very specific: line 82
Always use --files or -l (filenames only) at this stage.
- Distinctive: line 131
Monorepo?: Ask which package(s) the mission applies to.
- Very specific: line 139
Before emitting map.md, check:
- Distinctive: line 148
If any fails, the mission is likely out of scope or the toolchain is insufficient — halt and report.
≈ “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
SKILL: Traverse — structural mapping (Phase T)
When to use
Load when: Phase A (Assess) has produced a valid mission.md and you are
about to emit map.md.
Unload when: map.md passes exit criteria and you enter Phase L (Locate).
Memory pre-flight:
recallMUST have fired in Phase A (seeagent.md§"Memory pre-flight") before Phase T begins. If it hasn't — e.g. this skill was loaded directly — call it now with the mission objective and target paths before any structural mapping. Fold relevant prior maps and known traps into your mission context. Ifmcp__crystalium__*tools are unavailable, proceed without memory — never hard-fail.
Contract
| Field | Value |
| LLM calls permitted | Zero during retrieval. LLM used only to author the final map.md summary. |
| Tool budget | ≤ 20% of mission max_tool_calls |
| Output | map.md conforming to templates/traversal-map.md |
If you find yourself reasoning about meaning, stop — that's Phase L. Traverse is about structure.
Deterministic retrieval ladder
Try in order. Stop at the first that works for the mission scope.
1. Code-graph MCP server (preferred)
If the host provides a code-graph server (e.g. Sourcegraph, a Tree-sitter index over MCP, a Prism-based graph for Ruby):
graph.roots(scope=<globs>) # entrypoints
graph.modules(scope=<globs>, top_n=20) # centrality-ranked
graph.edges(scope=<globs>, kind=call|import|inherit)These are O(1) lookups into an indexed structure. No file reads.
2. Language-native AST
For single-language repos without a graph server:
- Ruby →
prism(Prism.parse_file, walkCallNode/DefNode) - Python → stdlib
ast - TypeScript/JavaScript →
@typescript-eslint/parserortree-sitter-typescript - Go →
go/ast+go/types - Anything else → Tree-sitter with the appropriate grammar
Emit a small script via execute_read_only_script (if the harness allows it)
or delegate to a deterministic MCP tool. Never paste file contents into the
LLM to "parse" them. That's the Inference Trap.
3. rg (ripgrep) for coarse structural signals
When AST is unavailable or the scope crosses languages:
rg --files <scope> # file enumeration
rg -l '^class |^module ' <scope> # class/module surface
rg -l 'Rails.application.routes' # routing entrypointsAlways use --files or -l (filenames only) at this stage. You are not
reading content yet.
4. git log for heatmap
git log --since='90 days' --name-only --pretty=format: <scope> | sort | uniq -c | sort -rn | head -30
git log --follow --format='%an' <file> | sort | uniq -c | sort -rnProduces MAP-HEATMAP entries: churn + primary contributors. Optional but
high-signal for risk assessment.
Entrypoint taxonomy (MAP-ROOTS)
The mission DECISION_TARGET almost always traces back to one of:
- HTTP routes (Rails routes, Express/Koa handlers, FastAPI, gRPC services)
- Background workers (Sidekiq, Celery, RQ, Temporal workflows)
- CLI entrypoints (
bin/,raketasks,click/cobracommands) - Public library API (gem top-level,
__init__.pyre-exports, packagemain) - Event handlers (webhooks, message consumers, scheduled jobs)
- Test surfaces (integration tests as executable specs of behavior)
Identify the root category relevant to the mission and enumerate exhaustively within scope. Ignore others.
What to skip by default
Hardcoded skip list (override only when mission explicitly requires):
node_modules/ vendor/bundle/ vendor/cache/
tmp/ log/ .git/
dist/ build/ public/assets/
coverage/ .bundle/ __pycache__/
*.min.js *.map *.lockGenerated code and vendored dependencies are noise at this phase.
Ambiguity handling
- Monorepo? Ask which package(s) the mission applies to. Don't guess.
- Multi-language? Build
MAP-MODULESper language; edges only within language. - Un-parseable file? Record in
MAP-GAPS, don't retry with different parsers.
Exit gate
Before emitting map.md, check:
MAP-ROOTSis non-empty and every entry is a real file.MAP-MODULEStop-N is ranked by a deterministic metric, not by LLM guess.MAP-GRAPHedges are all AST-derived or graph-server-derived, never LLM-inferred.MAP-GAPSlists every region the index couldn't parse.- Total token cost for Phase T ≤ 20% of mission budget.
If any fails, the mission is likely out of scope or the toolchain is insufficient — halt and report.
Common anti-patterns
| Anti-pattern | Why it's wrong | Fix |
"Let me read app/controllers/*.rb to understand routing" | Wastes thousands of tokens on content the router already knows | Query Rails.application.routes.routes or parse config/routes.rb with Prism |
"I'll grep for class.*Service" | Captures junk, misses the real hierarchy | Use AST to get every class declaration with its superclass |
| "Give me a summary of this module" | That's interpretation, i.e. Phase L | Traverse answers what exists, not what it means |
| Loading AST of every file "just in case" | Blows the budget before Locate starts | Build the map from structural signals; let Locate zoom in |
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.

