map

map is a skill for Claude Code from Eigenwise/eigenwise-toolshed. It costs 39 tokens per session (1,394 once invoked), scanned A, original, MIT.

A tool that creates a readable map of a codebase as Claude Code rules: an always-loaded index plus separate cards for areas of the repository. The cards describe ownership, entry points, key flows, and related areas.

In plain words
What is it for?
Use it to map, document, or onboard people to a repository, including its areas, commands, and main code flows.
Why use it?
It gives an agent and new contributors a compact guide to where code lives and how important parts connect.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the codebase-mapper plugin — 2 skills shipped together

Good fit Use it to map, document, or onboard people to a repository, including its areas, commands, and main code flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eigenwise/eigenwise-toolshed/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 Eigenwise/eigenwise-toolshed --skill map
Clone the repo
git clone --depth 1 https://github.com/Eigenwise/eigenwise-toolshed

Made for: Claude Code.

Or install codebase-mapper, the plugin that ships this one along with the rest of its 2 skills.

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 map

README.md
[![agentmods](https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/map/github.svg)](https://agentmods.dev/skills/eigenwise/eigenwise-toolshed/map)
Your own site
<a href="https://agentmods.dev/skills/eigenwise/eigenwise-toolshed/map"><img src="https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/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 map

Your own site · 80×15
<a href="https://agentmods.dev/skills/eigenwise/eigenwise-toolshed/map"><img src="https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,394 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.00039 $0.01394
Opus 5.5 $0.00016 $0.00558
Sonnet 5.5 $0.00008 $0.00279
Haiku 4.5 $0.00004 $0.00139

Measured today against content hash 313a945ce45d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 today.

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.

plugins/codebase-mapper/skills/map/SKILL.md · 68 lines

How it starts

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

Map the codebase

The map is plain Claude Code rules, so Claude Code loads it for you. Nothing here is injected by a hook.

.claude/rules/codebase-map.md     the index, always loaded, 40 lines at most
.claude/rules/map/<area>.md       one card per area, loads when a file in the area is first touched

Never edit CLAUDE.md. Never write anything outside .claude/rules/.

A third kind of file exists only when an older map held guidance a person wrote: .claude/rules/guides/<name>.md. See step 1.

The files

Index (codebase-map.md), no frontmatter:

  • What the system is, in two or three lines.
  • The areas, one line each: name, what it owns, its card.
  • The three to five key flows, each as a chain of areas or files ("request -> router -> billing -> ledger").
  • Where the commands live (build, test, run), if the repo does not say so already.

Card (map/<area>.md), about 2 KB at most:

---
paths:
  - "src/billing/**"
verified-at: <output of git rev-parse HEAD>
---
# Billing
What it owns, in a sentence.
- Entry points: files an agent starts reading from.
- How it works: the few facts you cannot see from a file name.
- Touches: other areas it calls or is called by.
- Watch out: traps that cost someone time.

Rules for a card: write facts you checked in the code, with file paths. No incident history, no lessons, no guidance a person wrote (step 1 says where those go), no copied code. refresh rewrites a card from the code, so anything else on it is erased the next time. Globs use ** and must match real files. Braces work in paths (src/**/*.{ts,tsx}). Negation does not: the status script cannot read it. A name with no slash (README.md) loads at any depth. Write /README.md for the top folder only. Never start a pattern with ./: the host loads nothing for it. Keep them to the area.

Steps

  1. Check what exists. If .claude/rules/codebase-map.md exists, stop and offer refresh instead. The same when it is gone and cards exist under .claude/rules/map/: the map lost its index, and refresh writes it again. If .claude/.codebase-info/ exists (an older map), read it as source material and sort its documents before anything else:
    • A description of the system or an area (architecture, entry points, a folder's layout) is a lead for the index and cards. Verify what you use against the code. It is a lead, not a fact.
    • Guidance a person wrote (a style guide, a how-to, a convention, an evaluation guide: anything the code cannot tell you) never goes on a card. Each such document becomes .claude/rules/guides/<name>.md, in its own words, changed only where it names the old folder. Give it paths frontmatter for the files it is about, so it loads when those are touched; only a short guide that applies everywhere goes without. No verified-at: nothing checks it and refresh never touches it. A document that mixes both: the description is a lead, the guidance is copied to a guide.
    • Lessons and incident notes: when git tracks the old map they are the team's, so they go into a guide too, never into one person's memory. In a map of the person's own they go to memory.
  2. Greenfield (empty repo, scaffold or only a spec). Ask two or three questions: what the system is for, the stack, the areas the person expects. Write the index only, with the intended areas marked "planned". Add cards when code exists. Skip the investigation.
  3. Investigate.
    • Small repo: read it yourself. Entry points, top-level folders, manifests, test layout, how the pieces call each other.
    • Large repo (hundreds of source files): send read-only scouts in parallel, one per top-level area or package. If Sidequest is installed, tag each spawn [route:explore] so it runs on the cheap tier. Otherwise use plain Explore agents. Each scout returns its area's purpose, entry points, key files, neighbours and traps. Scouts never write.
  4. Propose, then ask. Put the proposal in one message: the areas with their globs, the key flows, anything you could not tell. Ask the person to confirm or correct, with your recommended answer first so "yes" accepts it. One round. If they hand it over ("you decide"), take your recommendation and say so.
  5. Write. You, the main session, write the index and the cards. Fill verified-at with the current git rev-parse HEAD. Run node "${CLAUDE_SKILL_DIR}/../../scripts/map-status.mjs" and fix any card whose globs match no file or that is over size.
  6. Show the diff (git status and git diff, or the new files). Do not commit. With an older map, list every one of its documents and where it went: a lead for which card, copied to which guide, or left out and why. Nothing disappears without a line. Say that the cards load when a file in their area is touched, and that refresh re-derives the ones that go stale.
  7. Old map. If .claude/.codebase-info/ existed, ask whether to remove it now that the map is native. Delete it only on a yes.

Read the full file on GitHub · 68 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. today Changed 313a945ce45d
  2. 4d ago First seen · 68 lines · 39 tokens per session scan A 23ea67374198

Subscribe to this mod's changes

map is a skill published in the GitHub repository Eigenwise/eigenwise-toolshed (290 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,394 once invoked, about $0.0002 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-11-26.

Related

map compared with skills from other repositories

map next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mapEigenwise/eigenwise-toolshedSkill290todayMITA39Claude Code
dummy-datasetphuryn/pm-skillsSkill28k21d agoMITA48Claude Code
retrophuryn/pm-skillsSkill28k21d agoMITA52Claude Code
release-notesphuryn/pm-skillsSkill28k21d agoMITA57Claude Code
shipping-artifactsphuryn/pm-skillsSkill28k21d agoMITA54Claude Code
porters-five-forcesphuryn/pm-skillsSkill28k21d agoMITA47Claude Code
user-segmentationphuryn/pm-skillsSkill28k21d agoMITA49Claude Code