codemap

codemap is a skill for Claude Code, Codex from znlgis/my-opencode-deepseek-config. It costs 67 tokens per session (933 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

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.

agentmods
npx agentmods add skills/znlgis/my-opencode-deepseek-config/codemap
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.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.svg" alt="Measured on agentmods" 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 933 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00067 $0.00933
Opus 5 $0.00034 $0.00466
Sonnet 5 $0.00013 $0.00187
Haiku 4.5 $0.00007 $0.00093

Measured 5d ago against content hash 00bee4ea0854, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

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

How it starts

The opening of the file, as written. The whole thing — 102 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 appropriate file listing for the platform:

# 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

Step 3: Add quick-reference metadata

At the bottom, add a few lines that capture the project's essence:

Read the full file on GitHub · 102 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. 5d 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 (57 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 933 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

skill

Manage local skills - list, add, remove, search, edit, setup wizard.

Yeachan-Heo/oh-my-claudecode · 18 tokens

minimal-code-discipline

YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away.

Yeachan-Heo/oh-my-claudecode · 41 tokens

hud

Configure HUD display options (layout, presets, display elements).

Yeachan-Heo/oh-my-claudecode · 14 tokens

claude-automation-recommender

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what…

CherryHQ/cherry-studio · 77 tokens

skills-manager

搜索、安装和协调创建 Claude Code Agent Skills。当用户想要搜索技能、安装工具、创建自定义 Skill,或者说"find a skill"、"搜索技能"、"帮我做个 skill"、"create a skill"时触发。也适用于用户说"有没有做 X 的工具"、"我想扩展 Agent 能力",或当前能力不足需要先查找可复用方案的场景。.

CherryHQ/cherry-studio · 96 tokens

workflow

Use when a task is too large for turn-by-turn orchestration and should run through the big-task workflow lane: system-wide changes, large migrations, repo-wide audits, high-confidence verification, or tasks explicitly asking to run a workflow. Claude Code uses native dynamic workflows; Codex, OpenCode, and Grok use…

jeremylongshore/tons-of-skills-marketplace · 101 tokens