codemap

codemap is a skill for Claude Code from jellydn/my-ai-tools. It costs 19 tokens per session (2,756 once invoked), scanned A, original, MIT.

A skill that studies a codebase and creates seven planning documents covering its technologies, integrations, architecture, layout, conventions, testing, and concerns.

In plain words
What is it for?
Use it for onboarding, feature planning, architecture discovery, convention checks, and identifying technical debt, bugs, security risks, or performance issues.
Why use it?
It gives developers a structured overview of an unfamiliar repository before they plan changes or investigate problems.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex; built for cline; mentions OpenCode.

Good fit Use it for onboarding, feature planning, architecture discovery, convention checks, and identifying technical debt, bugs, security risks, or performance issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jellydn/my-ai-tools/codemap
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 jellydn/my-ai-tools --skill codemap
Clone the repo
git clone --depth 1 https://github.com/jellydn/my-ai-tools

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 codemap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jellydn/my-ai-tools/codemap"><img src="https://agentmods.dev/badge/skills/jellydn/my-ai-tools/codemap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,756 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00019 $0.02756
Opus 5.5 $0.00008 $0.01102
Sonnet 5.5 $0.00004 $0.00551
Haiku 4.5 $0.00002 $0.00276

Measured 20d ago against content hash 73d8f630d94a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codemap 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 20d 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.

configs/amp/plugins/my-ai-tools-skills/skills/codemap/SKILL.md · 310 lines

How it starts

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

Codemap

What I do

Analyze your entire codebase and create 7 comprehensive documentation files in .planning/codebase/:

  • STACK.md - Technologies, dependencies, configuration
  • INTEGRATIONS.md - 3rd party providers, APIs, databases, auth providers
  • ARCHITECTURE.md - System patterns, layers, data flow
  • STRUCTURE.md - Directory layout, key locations, naming conventions
  • CONVENTIONS.md - Code style, patterns, error handling
  • TESTING.md - Framework, structure, mocking, coverage
  • CONCERNS.md - Tech debt, bugs, security, performance issues

When to use me

Use this skill when you need to:

  • Onboard new developers to understand the codebase quickly
  • Plan new features with full context of existing patterns
  • Understand code conventions before making changes
  • Identify technical debt and areas of concern
  • Document the current state of the project

How it works

This skill runs four focus passes. Use parallel file-reading and file-writing workers when the runtime provides them. If suitable workers are unavailable, perform the same passes sequentially in the current context:

  1. Tech → Analyzes stack and integrations → STACK.md, INTEGRATIONS.md
  2. Architecture → Analyzes patterns and structure → ARCHITECTURE.md, STRUCTURE.md
  3. Quality → Analyzes conventions and testing → CONVENTIONS.md, TESTING.md
  4. Concerns → Identifies tech debt and issues → CONCERNS.md

Each pass:

  • Explores the codebase for its focus
  • Uses templates from $SKILL_PATH/templates/
  • Writes documents directly to .planning/codebase/
  • Returns only confirmation (not document contents)

The orchestrator:

  • Creates .planning/codebase/ directory
  • Runs the four passes in parallel only when suitable workers are available
  • Otherwise runs those passes sequentially in the current context
  • Collects confirmations
  • Verifies all documents created
  • Commits the codebase map (if configured)

Process

Scope and Runtime

Accept an optional --paths <p1,p2,...> for an incremental map. Validate repository-relative prefixes before use: reject absolute paths, .. components, and shell metacharacters (;, backticks, $, &, |, <, >). If no supplied path is valid, stop and ask for a corrected scope; do not silently expand to the whole repository. Pass the same normalized scope to every mapper and every sequential pass. Do not interpolate unchecked input into shell commands.

Read the full file on GitHub · 310 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago Changed · +19 lines 73d8f630d94a
  2. 1mo ago Changed · -3 tokens per session 3d891f5e0d88
  3. 1mo ago First seen · 291 lines · 22 tokens per session scan A 489017623cc7

Subscribe to this mod's changes

codemap is a skill published in the GitHub repository jellydn/my-ai-tools (124 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 2,756 once invoked, about $0.0001 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-30.