Agent skill

Codemap

by akitaonrails in akitaonrails/my-skills

Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories.

No licenceAuto-check passed

Install Codemap

skills CLI
$ npx skills add akitaonrails/my-skills --skill codemap -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install akitaonrails/my-skills codemap --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/akitaonrails/my-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/codemap .claude/skills/codemap && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codemap
GitHub stars
216
Token cost
~1.7k tokens
SKILL.md length
557 words
Files
5 (incl. scripts)
Skills in repo
18
Repo updated
First seen
Licence
None found

At a glance

Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories.

  • Works in 5 steps: Check for Existing State → Initialize (Only if no state exists) → Detect Changes (If state already exists) → …
  • Explicitly asked for codebase documentation
  • SKILL.md covers When to Use, Workflow and Codemap Content
  • Runs JavaScript and TypeScript scripts from its folder; calls node

What it does

Codemap is an agent skill from akitaonrails/my-skills. Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories. Expensive operation - only use when explicitly asked for codebase documentation or initial repository mapping

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `README.md`, `codemap.md` and `scripts/codemap.test.ts`).

The repository describes itself as: akitaonrails' personal skills (not tailored for general usage).

When your agent uses it

  • Explicitly asked for codebase documentation
  • Initial repository mapping

Example prompts

  • “/codemap”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Check for Existing State
  2. Initialize (Only if no state exists)
  3. Detect Changes (If state already exists)
  4. Finalize Repository Atlas (Root Codemap)
  5. Register Codemap in AGENTS.md

What it can do on your machine

Read from SKILL.md and the folder at commit 285ca82. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (JavaScript and TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codemap loads about 1.7k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 557 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 557 words (~1,703 tokens).

“You help users understand and map repositories by creating hierarchical codemaps.”

— opening of SKILL.md by akitaonrails
name
codemap

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts) in codemap of akitaonrails/my-skills.

  • SKILL.md
  • README.md
  • codemap.md
  • scripts/codemap.mjs
  • scripts/codemap.test.ts

Open the folder on GitHubat commit 285ca82

Compare with similar skills

Codemap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codemap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codemap this skillakitaonrails/my-skills216—~1.7kAutomated safety check: PassNone
It Operationsdavila7/claude-code-templates33k1 repos~3.7kAutomated safety check: PassMIT
Expense Accountingsickn33/agentic-awesome-skills47k1 repos~6.5kAutomated safety check: PassMIT
Agent Hierarchical Coordinatorruvnet/ruflo74k2 repos~2.8kAutomated safety check: PassMIT
Operator Approval Loopaffaan-m/ECC276k—~3.3kAutomated safety check: PassMIT
Business Operations Skillsalirezarezvani/claude-skills28k—~2.3kAutomated safety check: PassMIT

Similar skills

  • It Operations

    davila7/claude-code-templates

    Manages IT infrastructure, monitoring, incident response, and service reliability.

    33k GitHub starsUsed in 1 repo~3.7k tokens
    DevOps & CloudAuto-check passed
  • Expense Accounting

    sickn33/agentic-awesome-skills

    Expense accounting register: expense number and date, payee with PAN and VAT, bill reference, document type, amount with VAT, ledger account, approver and status.

    47k GitHub starsUsed in 1 repo~6.5k tokens
    Business, Finance & HRAuto-check passed
  • Agent skill for hierarchical-coordinator - invoke with $agent-hierarchical-coordinator

    74k GitHub starsUsed in 2 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Operator approval contract with internal filing notices for agent-drafted outbound messages, hashed drafts, epoch-keyed decisions, durable delivery claims and receipts, and a pre-draft baseline gate.

    276k GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Business Operations Skills

    alirezarezvani/claude-skills

    A skill your agent uses when running, diagnosing, or designing internal business operations — process documentation, vendor SLAs, capacity planning, internal comms, SOP/runbook authoring…

    28k GitHub stars~2.3k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Expense Management

    sickn33/agentic-awesome-skills

    Expense claim register: claim id, employee and department, amount and tax, approver and level, category, cost centre, budget line, receipt flag and status.

    47k GitHub starsUsed in 1 repo~3.8k tokens
    Documents & OfficeAuto-check passed

More from akitaonrails/my-skills

All 18 skills in this repo
  • Fact Check

    akitaonrails/my-skills

    Adversarial fact-checking of the user's articles and essays (typically blog posts from akitaonrails-hugo, any markdown/text file), verifying every claim against online primary sources via cheap…

    216 GitHub stars~2.7k tokensUpdated 17 days ago
    Auto-check passed
  • Blog Cost Charts

    akitaonrails/my-skills

    Generate dark-themed cost-vs-score bubble scatter charts and score/(costtime) value-ranking bar charts for a blog post comparing LLM benchmark results (or any dataset with a score/cost/time shape)…

    216 GitHub stars~2k tokensUpdated 17 days ago
    Auto-check passed
  • Clonedeps

    akitaonrails/my-skills

    Clone important project dependency source code into an ignored local workspace so OpenCode can inspect library internals.

    216 GitHub stars~2.1k tokensUpdated 17 days ago
    Auto-check passed
  • GitHub Resolution

    akitaonrails/my-skills

    Execute the approved outcomes of a pr-audit and/or iss-audit — fix or adjust everything the audit found necessary before merging, verify no regressions, cover every new behavior with unit tests…

    216 GitHub stars~3k tokensUpdated 17 days ago
    Auto-check passed
  • Iss Audit

    akitaonrails/my-skills

    Audit GitHub issues before implementation, including skeptical claim verification, safe reproduction, prompt-injection resistance, malicious-link and attachment handling, root-cause analysis…

    216 GitHub stars~4.1k tokensUpdated 17 days ago
    Auto-check passed
  • Post Refactor

    akitaonrails/my-skills

    Post-refactor clean-code check after recent refactors or a few merged PRs.

    216 GitHub stars~1.5k tokensUpdated 17 days ago
    Auto-check: notes

Questions about Codemap

What does Codemap do?

Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories. Codemap is an agent skill from akitaonrails/my-skills. Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories.

When should I use Codemap?

Codemap fits situations like: explicitly asked for codebase documentation; initial repository mapping.

How do I install Codemap in Claude Code?

Run `npx skills add akitaonrails/my-skills --skill codemap -a claude-code`. Or copy the skill folder (codemap in akitaonrails/my-skills) into .claude/skills/codemap in your project. Claude Code loads it when a task matches its description.

How do I install Codemap in Codex?

Run `npx skills add akitaonrails/my-skills --skill codemap -a codex`. Or copy the skill folder (codemap in akitaonrails/my-skills) into .agents/skills/codemap in your project. Codex loads it when a task matches its description.

Can I use Codemap in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add akitaonrails/my-skills --skill codemap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codemap, .gemini/skills/codemap, .github/skills/codemap and .opencode/skills/codemap in your project.

What does Codemap need to run?

Going by SKILL.md and its folder, Codemap needs JavaScript and TypeScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Codemap access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codemap safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Codemap use?

No licence was found for Codemap or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Codemap use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codemap?

Skills that share tags, products or a category with Codemap: It Operations (davila7/claude-code-templates, 33k stars), Expense Accounting (sickn33/agentic-awesome-skills, 47k stars), Agent Hierarchical Coordinator (ruvnet/ruflo, 74k stars) and Operator Approval Loop (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codemap?

akitaonrails (a GitHub user) maintains it in akitaonrails/my-skills, which has 216 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on September 23, 2026.

Source: akitaonrails/my-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.