rc-codemap

rc-codemap is a skill for Claude Code from rodolfochicone/rc-project. It costs 36 tokens per session (670 once invoked), scanned A, original, MIT.

Písaná mapa štruktúry zdrojového kódu, uložená ako codemap.md v jednotlivých priečinkoch. Koreňová mapa odkazuje na mapy podpriečinkov a obnovujú sa len časti zmenené od poslednej aktualizácie.

In plain words
What is it for?
Na prvotné preskúmanie veľkého repozitára, vytvorenie alebo obnovenie máp priečinkov a zistenie, ktoré časti treba po zmene kódu znovu opísať.
Why use it?
Pomáha rýchlo pochopiť veľký repozitár bez opakovaného prehľadávania všetkých súborov. Zobrazuje aj priečinky, ktorých mapa môže byť po zmenách zastaraná.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the rc plugin — 32 skills, 2 commands, 4 agents, 5 hooks shipped together

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/rodolfochicone/rc-project/rc-codemap
Any agent
npx skills add rodolfochicone/rc-project --skill rc-codemap
Clone the repo
git clone --depth 1 https://github.com/rodolfochicone/rc-project

Made for: Claude Code.

Or install rc, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 4 agents, 5 hooks.

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 rc-codemap

README.md
[![agentmods](https://agentmods.dev/badge/skills/rodolfochicone/rc-project/rc-codemap.svg)](https://agentmods.dev/skills/rodolfochicone/rc-project/rc-codemap)
Your own site
<a href="https://agentmods.dev/skills/rodolfochicone/rc-project/rc-codemap"><img src="https://agentmods.dev/badge/skills/rodolfochicone/rc-project/rc-codemap.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 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.1 $0.00036 $0.00670
Opus 5 $0.00018 $0.00335
Sonnet 5 $0.00007 $0.00134
Haiku 4.5 $0.00004 $0.00067

Measured 6d ago against content hash 4cfeeeb1ed55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

rc-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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/stale.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/promoted/rc-codemap/SKILL.md · 56 lines

How it starts

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

Codemap

Maintain a hierarchical, per-directory map of the repository so every exploration-heavy task starts from a written summary instead of re-scanning source. Each significant directory gets a codemap.md; a root codemap.md links them. Regeneration is incremental — only directories that changed since the last run are rebuilt.

Store & staleness

  • Maps live as codemap.md inside each mapped directory (committed alongside the code).
  • State lives at .rc/codemap/last-commit (the git SHA at the last generation).
  • scripts/stale.sh [root] prints the directories that changed since that SHA — or every directory when there is no state yet (first build). scripts/stale.sh --record [root] records the current HEAD after a successful generation. Both fail open: on any git problem they behave as if everything is stale, which is safe.

Workflow

  1. Scope. Run scripts/stale.sh to get the stale directories. If it returns everything, you're doing a first full build.
  2. Regenerate stale maps. For each stale directory — skipping vendored/generated dirs (.git, node_modules, vendor, build output, fixtures) — read its files enough to summarize, then (re)write its codemap.md with: the directory's responsibility, its key files and their roles, notable patterns, and how it connects to sibling directories. Anchor claims to real paths.
  3. Update the index. Refresh the root codemap.md so it links every directory map.
  4. Record state. Run scripts/stale.sh --record so the next run only rebuilds what changes after this point.

Rules

  • A codemap is a map, not a copy: summarize roles and wiring; never paste large code blocks.
  • Keep each map short and skimmable — a reader should grasp a directory in under a minute.
  • Do not map throwaway directories (build output, vendored deps, fixtures, generated code).
  • On a first build of a large repo, map top-down: root + top-level directories first, then descend only into directories that hold real logic.

Read the full file on GitHub · 56 lines

Files

What ships with it

1 file 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. 6d ago First seen · 56 lines · 36 tokens per session scan A 4cfeeeb1ed55

Subscribe to this mod's changes

rc-codemap is a skill published in the GitHub repository rodolfochicone/rc-project (19 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 670 once invoked, about $0.0002 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

autonomous-loops

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

affaan-m/ECC · 26 tokens

mle-workflow

Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback. Use when building, reviewing, or hardening ML systems beyond one-off notebooks.

affaan-m/ECC · 44 tokens

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

affaan-m/ECC · 49 tokens

verification-loop

A comprehensive verification system for Claude Code sessions. Use when verifying a Claude Code session's work before claiming it is complete.

affaan-m/ECC · 27 tokens

content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC · 55 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens