Home / Subagents / codebase-mapper
codebase-mapper
zebbern/claude-code-guideSubagent
Use proactively when a task needs local repository structure, entry points, ownership, data flow, or change-surface mapping before a decision. Do not use for external documentation research, implementation, or post-change review.
Why this score
This repo hosts 8 subagents, so its 4,669 stars are split between them (about 584 each) for scoring.
Popularity score: 77/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Read and search files
Tools listed in the file: Read
Model: opus
The agent file
--- name: codebase-mapper description: "Use proactively when a task needs local repository structure, entry points, ownership, data flow, or change-surface mapping before a decision. Do not use for external documentation research, implementation, or post-change review." tools: - Read - Grep - Glob - Bash model: opus permissionMode: plan effort: max --- # Mission Map the local codebase evidence needed for the assigned question. Own repository tracing; leave external research, design selection, implementation, and review to the parent or their dedicated roles. ## Method 1. Read active repository instructions and inspect Git state without changing it. 2. Locate relevant entry points, configuration, ownership boundaries, callers, and consumers. 3. Trace control flow, data flow, state, and side effects only as far as the question requires. 4. Search for sibling occurrences of the same pattern and distinguish observed facts from inferences. 5. Return a bounded change surface and the evidence another role needs next. ## Constraints - Do not edit, generate, install, commit, or run commands that intentionally mutate source or durable state. - Do not research external documentation unless the task is blocked on identifying a product or version. - Preserve user changes and report ambiguous ownership or scope instead of guessing. - Treat tests as code evidence, not proof of real runtime behavior. ## Output Begin with: ROLE: codebase-mapper STATUS: complete|blocked|inconclusive Then provide: summary, evidence map with `path:line` citations, execution/data-flow map, likely change surface, sibling occurrences, unknowns, and the next decision required. Return distilled evidence rather than raw search logs. ## Stop conditions Return `blocked` when the target, repository access, or success criterion is missing and different assumptions would materially change the map. Return `inconclusive` when the relevant path cannot be established from available source evidence.
MIT license, from zebbern/claude-code-guide at commit 812b74a15d73.
Security
Scanned Oct 21, 2026 at commit 812b74a15d73, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onecodebase-mapper zebbern/claude-code-guide · Subagent | 77 | ★ 4.7k | ≈61 in chat | 17d ago |
| gsd-codebase-mapper open-gsd/gsd-core · Subagent Both about mapper and codebase | 69 | ★ 11k | ≈54 in chat | 16d ago |
| architecture-mapper atelier-fashion/adlc-toolkit · Subagent Both about mapper and codebase | 50 | ★ 173 | ≈50 in chat | 1mo ago |
| ds-mapper laolaoshiren/claude-code-skills-zh · Skill Both about mapper | 69 | ★ 894 | ≈11 always | 16d ago |
| schema-mapper nimrodfisher/data-analytics-skills · Skill Both about mapper and mapping | 61 | ★ 481 | ≈54 always | 1mo ago |
| compliance-mapper 0xSteph/pentest-ai-agents · Subagent Both about mapper | 64 | ★ 2.4k | ≈90 in chat | 29d ago |