Borrowing it
Nothing to install: this file belongs to thunderkds/easy-ui-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/thunderkds/easy-ui-mcp/main/.claude/skills/map-codebase/SKILL.mdgit clone --depth 1 https://github.com/thunderkds/easy-ui-mcpWrote 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.
[](https://agentmods.dev/skills/thunderkds/easy-ui-mcp/map-codebase)<a href="https://agentmods.dev/skills/thunderkds/easy-ui-mcp/map-codebase"><img src="https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/map-codebase/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.
<a href="https://agentmods.dev/skills/thunderkds/easy-ui-mcp/map-codebase"><img src="https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/map-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.01314 |
| Opus 5.5 | $0.00038 | $0.00526 |
| Sonnet 5.5 | $0.00019 | $0.00263 |
| Haiku 4.5 | $0.00010 | $0.00131 |
Grade A, and why
map-codebase 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: Codebase Structure Indexer
Collect directory layout, entry points, and blast-radius hotspots from the live repo and write them to memory/codebase-map.md. Writes exactly one file plus one pointer line in memory/MEMORY.md — nothing else.
Karpathy Operational Commands
- Simplicity First: Three sections, three shell commands. No symbol extraction, no import graph, no JSON. File-level structure only.
- Surgical Changes: Write only
memory/codebase-map.mdand one pointer line inmemory/MEMORY.md. Do not create, edit, or delete any other file. - Goal-Driven Execution: Success =
memory/codebase-map.mdexists, is stamped with the current commit hash, and contains all three sections with non-empty content (or explicit "none found" notes). The MEMORY.md pointer line is present.
Workflow
Step 1 — Prerequisites
| Check | Command | Fix if failing |
|---|---|---|
memory/ folder exists |
ls memory/ |
mkdir -p memory |
| Git is available | git rev-parse --short HEAD |
Emit warning: "Not a git repo — hotspots section will be empty." Continue. |
Step 2 — Gather Data (run all three in parallel)
A — Directory tree (depth 3, excludes generated/vendor folders):
find . -maxdepth 3 \
-not -path '*/.git/*' \
-not -path '*/node_modules/*' \
-not -path '*/__pycache__/*' \
-not -path '*/.venv/*' \
-not -path '*/dist/*' \
-not -path '*/build/*' \
-not -path '*/.next/*' \
| sort
B — Entry points (files whose name signals a top-level executable or module root):
find . \
-not -path '*/.git/*' \
-not -path '*/node_modules/*' \
-not -path '*/__pycache__/*' \
-type f \( \
-name "main.*" -o -name "index.*" -o -name "app.*" \
-o -name "server.*" -o -name "cli.*" -o -name "__main__.py" \
\) | sort
C — Blast-radius hotspots (most-changed files in git history — language-agnostic hub proxy):
git log --name-only --format="" | grep -v '^$' | sort | uniq -c | sort -rn | head -15
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.
- yesterday First seen · 131 lines · 96 tokens per session scan A 2d1260b8538b
map-codebase is a skill published in the GitHub repository thunderkds/easy-ui-mcp (1 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 1,314 once invoked, about $0.0004 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-10-30.
Other skills, from other repositories
knowledge-ingest
Ingest documents, articles, conversations, or supplied text into Knowledge with retained originals, sourced claims, entity updates, source notes, and cross-links; also learn durable lessons from a set of conversations, transcripts, or past sessions (/learn), including the Learn from conversations and Learn from Memory…
forget
Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…
Cortex
LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…