codemap

codemap is a skill for Claude Code, Codex from znlgis/my-opencode-deepseek-config. It costs 67 tokens per session (1,086 once invoked), scanned A, original, MIT.

A repository map that summarizes a project’s folders and important files in a structured hierarchy.

In plain words
What is it for?
Use it to inspect project structure, locate key directories, and orient work in a new repository.
Why use it?
It gives an agent a quick overview of an unfamiliar codebase before it searches through individual files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to inspect project structure, locate key directories, and orient work in a new repository.

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

Made for: Claude Code, Codex.

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/znlgis/my-opencode-deepseek-config/codemap/github.svg)](https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/codemap)
Your own site
<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/codemap"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/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/znlgis/my-opencode-deepseek-config/codemap"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/codemap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,086 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.00067 $0.01086
Opus 5.5 $0.00027 $0.00434
Sonnet 5.5 $0.00013 $0.00217
Haiku 4.5 $0.00007 $0.00109

Measured yesterday against content hash f9828527015e, 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 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.

opencode/skills/codemap/SKILL.md · 108 lines

How it starts

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

Codemap

Generate a compact, annotated directory tree that helps any agent quickly understand what a codebase contains and where key things live. One well-crafted codemap can replace dozens of exploratory globs and reads across a session.

When to use me

  • First time entering a new repository or unfamiliar subdirectory
  • The user asks "what's in this project?" or "show me the project structure"
  • You need to understand the lay of the land before deciding where to search
  • An agent keeps globbing the same directories — a codemap saves those tokens

How to generate

Step 1: Build the raw tree

Use the glob tool first — it needs no shell permission, so read-only agents (e.g. explore) can run it:

  • glob("**/*") for a full walk, then keep the first three path segments and drop noise (node_modules, .git, dist, build, .next, coverage, __pycache__, .venv).
  • For a large repo, enumerate depth 2/3 with glob("*"), glob("*/*"), glob("*/*/*") instead of walking everything.

When the active agent's shell allowlist permits it, a depth-limited Get-ChildItem/find produces the same tree more compactly:

# Windows (PowerShell)
Get-ChildItem -Recurse -Depth 3 -Name | Where-Object { $_ -notmatch 'node_modules|\.git|dist|build|\.next|coverage|__pycache__|\.venv' }

# Unix
find . -maxdepth 3 -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/dist/*' -not -path '*/build/*' | sort

Adjust the depth and exclusions based on repo size. For very large repos, start at depth 2 and expand specific directories on demand.

Step 2: Annotate the tree

After generating the raw tree, annotate key directories with one-line purpose descriptions. Only annotate directories whose purpose isn't obvious from the name.

project-root/
├── src/                       # main source
│   ├── app/                   # Next.js App Router pages + layouts
│   ├── components/            # shared React components
│   ├── lib/                   # utilities, API clients, shared logic
│   └── server/                # server-only code (DB, auth)
├── prisma/
│   └── schema.prisma          # database schema
├── public/                    # static assets
├── tests/                     # integration + e2e tests
├── package.json               # Node dependencies + scripts
└── tsconfig.json              # TypeScript config

Read the full file on GitHub · 108 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. yesterday Changed · +10 lines f9828527015e
  2. 1mo ago Changed · -4 lines ce7c4de2d396
  3. 3mo ago First seen · 102 lines · 67 tokens per session scan A 00bee4ea0854

Subscribe to this mod's changes

codemap is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (66 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 1,086 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-30.

Related

codemap compared with skills from other repositories

codemap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codemapznlgis/my-opencode-deepseek-configSkill66yesterdayMITA67Claude Code, Codex
orca-clistablyai/orcaSkill159ktodayMITA216Claude Code, Codex
refitYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA61Claude Code
ketchup-videoYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA40Claude Code
minimal-code-disciplineYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA41Claude Code
ketchupYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA45Claude Code
workflowjeremylongshore/tons-of-skills-marketplaceSkill3.0ktodayMITB101Claude Code