map
Skill323 starsChanged 7 days agoMITView on GitHub
Map every action a branch or program performs into a page where the owner ticks keep or cut and leaves a comment per row. Three read-only passes (sub-agent slices, a second model, your own line-by-line read) consolidated into one verified list, published as an artifact with a shared decision store. Use when the owner wants to strip, refocus or audit a branch and needs the whole inventory first.
35 other projects use a version of this.
Adopted by
Most recently taken up by
- 3rd-Brain/AI-Operations-Consultanttheir own version, first seen Nov 29, 2026
- musahyderr/mainseattheir own version, first seen Nov 29, 2026
- duthaho/skillhubtheir own version, first seen Nov 28, 2026
- Nexus-Organization-Infosec/ClaudeSkillstheir own version, first seen Nov 21, 2026
- BilLogic/uno-blueprinttheir own version, first seen Nov 15, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 9, 2026
Used with
Projects with it also use ultragoal, cost 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.
Yeachan-HeoSkillultragoal
Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
Also in 3 projects that use this
maxvaegaSkillcost
Estimate what Claude Cowork / Claude Code conversations would cost if run on the pay-per-token Claude API instead of the subscription. Reports token counts and cache-aware API cost in USD and EUR, for the current conversation or for the whole history (cost per conversation). Trigger when the user asks things like "how much would this conversation cost on the API", "API cost of my Cowork conversations", "token usage / token count", "cost per conversation", "/cost", or wants to compare subscription vs API pricing.
Also in 3 projects that use this
marylinSkillrecover
Recover work from a crashed or interrupted session. Use when Claude crashed mid-task, after an unexpected exit, when you see 'stale sessions detected', or when you lost context and need to figure out what was happening.
Also in 3 projects that use this
iovisorSkillevolve
Evolve uBPF through a gated spec-first workflow that propagates approved changes through requirements, design, validation, implementation, and RFC alignment artifacts.
Also in 5 projects that use this
thoughtbotSkilltrace
Run a scenario and record what actually happened.
Also in 4 projects that use this
meow7758Skillconsult
咨询天团 — 多位商业顾问数字分身的会诊系统。
Also in 3 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- baojie/shiji-kb★ 3.9ksame name
- SethGammon/Citadel★ 927same name
- zeuikli/claude-code-workspace★ 155same name
- mbwsims/claude-universe★ 71same name
- yha9806/academic-writing-toolkit★ 54same name
- sea-gold/skills★ 26same name
- myclaude-sh/myclaude-creator-engine★ 25same name
- ilanbm/kpopper★ 12same name
25 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/AGENTS.mdAGENTS.md
- compassSkill
- memoSkill
- prepSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
0
Distinctive
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 35
Read-only on the target: no install, no fix, no create or adopt without --dry-run, nothing that writes.
“Common” is measured: kept by at least 6 in 10 of the 25 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
Keep or cut map
Purpose: before a branch is stripped or refocused, lay out everything it does, one row per action, in plain English, and hand the owner a page to decide on: a green tick keeps, a red tick cuts, a comment box carries the why. The words after the command name the target (a branch path or a program) and the owner's question ("strip aipass to the install path"). The target is never changed: mapping reads code, runs --help and --dry-run, nothing else.
What comes out
- A scratch folder
<scratchpad>/<target>_map/:brief.md,slice_*.json,codex_result.json,r3/*.json,items.json,map.html. - One artifact URL, republished in place each round. The page stores decisions in its
decisionscollection, one document per row id:{verdict: "keep" | "cut" | "", comment, updated}. - A report in chat: counts, the bugs the read turned up, which second-pass corrections were accepted or rejected, what was not read line by line and why. Then a session entry and a todo to read the decisions back.
Execution
Paths below are relative to the AIPass repo root; the skill folder is .agents/skills/map/.
- Brief. Copy
assets/brief.mdinto the scratch folder and fill the angle-bracket slots: target root, entry points, the groups, the commands that write (forbidden). The item shape and theFLUFF?convention live in it; every sub-agent and the second reader get the same file. - First pass, slices. Split the target by folder into at most three slices and give each to one background opus sub-agent: the brief, its file list, its output path
slice_<L>.json, ids<L>01onward. A sub-agent validates its JSON before it reports. Thenpython3 -I .agents/skills/map/scripts/merge.py <dir> "<target>", copyassets/map.htmlbesideitems.json, load theartifact-capabilitiesskill and publish the page withfiles: {"items.json": ...}andcapabilities: {db: {}, user: {}}. Give the owner the link now; the first list is already useful. Second pass, another model. Fill
assets/second_pass.md(item count, paths, the read order, the forbidden list), copyassets/second_pass_schema.jsonbeside it, and run it from the target directory in the background:codex exec --sandbox read-only -m gpt-6.1-sol --output-schema <dir>/second_pass_schema.json -o <dir>/codex_result.json - < <dir>/second_pass.md > <dir>/codex_run.log 2>&1The result is
{summary, missed[], corrections[]}: missed rows get idsX01onward, corrections nameid,field,was,should_be,why. No codex on the machine: an opus sub-agent with the same prompt writes the same shape. Re-merge and republish: corrections show as overlays under the row, missed rows wear a "2nd pass found" pill.- Third pass, yourself. Read every file of the target, file by file, and write one
r3/NN_<group>.jsonper group:verify(ids confirmed as written),fix({id: {field: new text, r3: "what changed and where in the code"}}),add(new rowsR01onward, full item shape plussource: "round3"),drop({id: "the id it merged into"}).show.py <dir> <substring> [full]prints the rows for a file;left.py <dir>prints the rows no r3 file has touched yet, the ids two files both touch, and any unknown id: you are done when left is 0. Every second-pass correction gets an explicit answer: accepted by folding it into the field, rejected by afixthat restates the original with anr3saying why. Tests are inventoried by class and test count, not read line by line; the owner's.archive/is listed, never processed; scratch underdocs.local/is listed with sizes. - Consolidate.
merge.pyagain: withr3/present it folds the overlays away, marks every row verified, adds the third-pass summary and prints the rows still unverified (must be none). Republish to the same URL with the same file path and nocapabilitiesargument. A dropped id loses its stored decision, so readArtifactData list decisionsbefore dropping one that has been ticked. - Report and remember. The counts table, the bugs (each with its row id), accepted and rejected corrections, what was skipped. Session entry, a todo "read the decisions back, plan the strip", a learning if the read taught one.
Rules
- Read-only on the target: no install, no fix, no create or adopt without
--dry-run, nothing that writes; the brief names the forbidden commands and every prompt carries them. No test runs, no coverage, no git. - Sub-agents run in the background, opus, at most four at once, briefed with the file and nothing from the chat.
- One row per distinct action: each command, each flag that changes behaviour, each step of a flow, each file write, each prompt to the user, each printed banner, each hook, schedule or outside caller, each helper another branch imports.
doesis plain English, no code in prose. Hand-holding getsFLUFF?innote; the owner decides. - The scratch folder stays in the scratchpad. Nothing of the map lands in the tree; the artifact is the deliverable.
Reading the decisions back
ArtifactData with action: "list", the artifact url, collection: "decisions", query: {"limit": 1000}. Each document id is a row id. Join on items.json to list the cuts with their comments; that list is the brief for the strip plan.
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.

