codebase-map

codebase-map is a skill for Claude Code from yuri-semenenko/ai-engineering-workspace. It costs 83 tokens per session (946 once invoked), scanned A, original, MIT.

A short orientation map for an unfamiliar codebase or subsystem. It explains the project’s purpose, starting points, structure, important terms, risky areas, and ways to run and test it.

In plain words
What is it for?
Use it when joining a repository, exploring an unfamiliar subsystem, or reviewing a pull request that touches unknown code.
Why use it?
It reduces the time and risk involved in changing code you do not yet understand.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it when joining a repository, exploring an unfamiliar subsystem, or reviewing a pull request that touches unknown code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuri-semenenko/ai-engineering-workspace/codebase-map
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yuri-semenenko/ai-engineering-workspace --skill codebase-map
Clone the repo
git clone --depth 1 https://github.com/yuri-semenenko/ai-engineering-workspace

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codebase-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/codebase-map/github.svg)](https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/codebase-map)
Your own site
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/codebase-map"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/codebase-map/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codebase-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/codebase-map"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/codebase-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.00946
Opus 5.5 $0.00033 $0.00378
Sonnet 5.5 $0.00017 $0.00189
Haiku 4.5 $0.00008 $0.00095

Measured 1mo ago against content hash 2b24a60825ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codebase-map scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-code/.claude/skills/codebase-map/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codebase Map

Build a fast, honest orientation to code you don't know yet, so you (or an agent you're about to point at it) can work in it safely. This is reconnaissance for comprehension: what the code is, where it starts, how it flows, and what not to touch. It is a map, not a tour — pointers over prose, evidence over guesses. To chase a known failure use /debug; this orients before you know where anything is.

How to run (keep main context lean)

  1. Scope it. If a path argument was given, map that subtree; otherwise the whole repo. Read the obvious roots first: README, package.json (scripts + deps), the top-level layout, and any existing AGENTS.md / CLAUDE.md / architecture docs.
  2. Fan out, do not grep inline. Per the persona's session-hygiene rule, dispatch Explore subagents — one per subsystem or question (entry points, data flow, domain terms, tests/tooling) — each returning a compact findings list, not file dumps. This keeps large intermediate output out of the main conversation.
  3. Assemble the map from what came back. Merge, resolve contradictions rather than smoothing them over, and cite where each fact lives.

What the map captures

  • What it is. One paragraph: the purpose and the domain it serves. From the README and the shape of the code, not the marketing.
  • Entry points. Where execution actually starts — server/main, routes or pages, CLI commands, cron/queue workers, build entry. The "start here" files.
  • Architecture sketch. The handful of layers or modules that matter and how data flows between them. A few boxes and arrows in prose, not a file tree.
  • Domain glossary. The ubiquitous language: the 5-15 domain nouns and verbs that recur, one line each. The vocabulary you need to read the code and talk to the team.
  • Key seams. The stable interfaces and boundaries where behavior is substituted or extended (see /module-design for the vocabulary). Where you would attach a test or a new implementation.
  • Risky / don't-touch areas. Load-bearing, security-sensitive, or historically fragile code, and the invariants not to regress. Mark it; do not "fix" it (Chesterton's Fence).
  • How to run and test. Build/dev/test/single-test commands, local setup, required env vars — from repo evidence, not guesses. Say so when something is unknown.
  • Known tradeoffs. Existing TRADEOFF(...) annotations, TODOs of record, and documented debt (feeds /debt-ledger).

Read the full file on GitHub · 45 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +83 tokens per session 2b24a60825ed
  2. 3mo ago First seen · 45 lines · 0 tokens per session scan A 555e4ef2fe41

Subscribe to this mod's changes

codebase-map is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (4 stars, last pushed 3d ago), licensed MIT. It adds 83 tokens to every session and 946 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

codebase-map compared with skills from other repositories

codebase-map next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codebase-mapyuri-semenenko/ai-engineering-workspaceSkill43d agoMITA83Claude Code
spec-kitty-charter-doctrinePriivacy-ai/spec-kittySkill1.7k13d agoMITA135Claude Code, Codex
110-java-maven-best-practicesjabrena/plinthSkill4702d agoApache-2.0A115Claude Code, Codex
128-java-genericsjabrena/plinthSkill4702d agoApache-2.0A147Claude Code, Codex
322-frameworks-spring-boot-testing-integration-testsjabrena/plinthSkill4702d agoApache-2.0A123Claude Code, Codex
422-frameworks-quarkus-testing-integration-testsjabrena/plinthSkill4702d agoApache-2.0A190Claude Code, Codex
521-frameworks-micronaut-testing-unit-testsjabrena/plinthSkill4702d agoApache-2.0A150Claude Code, Codex