codemap: Skill for Claude Code

.claude/skills/config-setup/SKILL.md

config-setup is a skill for Claude Code from JordanCoin/codemap. It costs 44 tokens per session (628 once invoked), scanned A, original, MIT.

A setup tool for Codemap, which creates a configuration file describing which parts of a code repository matter most. A repository is the folder containing a project's source code and related files.

In plain words
What is it for?
Use it when Codemap lacks a configuration or focuses on the wrong files. It inspects the project, identifies its programming stack and noisy directories, and prepares a code-focused .codemap/config.json file.
Why use it?
It reduces noisy code maps caused by generated files, assets, test data, vendor folders, documents, or other material that is not central to the code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is JordanCoin/codemap's own configuration. It tells Claude Code how to work on codemap itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codemap configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JordanCoin/codemap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JordanCoin/codemap/main/.claude/skills/config-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JordanCoin/codemap

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 config-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jordancoin/codemap/config-setup"><img src="https://agentmods.dev/badge/skills/jordancoin/codemap/config-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 628 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.00044 $0.00628
Opus 5.5 $0.00018 $0.00251
Sonnet 5.5 $0.00009 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured 1mo ago against content hash 5c63e115f6ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

config-setup 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 1mo 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.

.claude/skills/config-setup/SKILL.md · 53 lines

How it starts

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

Codemap Config Setup

Goal

Write or improve .codemap/config.json so future Codemap calls stay focused on the code that matters for this repo.

Use this when

  1. .codemap/config.json is missing
  2. The existing config looks like a bare bootstrap instead of a real project policy
  3. Codemap output is dominated by assets, fixtures, generated files, vendor trees, PDFs, screenshots, models, or training data
  4. The project stack is obvious, but Codemap is not prioritizing the right parts of the repo

Workflow

  1. Inspect the repo quickly before writing config

    • Run codemap .
    • If needed, run codemap --deps .
    • Note the stack markers (Cargo.toml, Package.swift, *.xcodeproj, go.mod, package.json, pyproject.toml, etc.)
    • Identify large non-code directories and noisy extensions
  2. Decide whether config is missing, boilerplate, or tuned

    • Missing: no .codemap/config.json
    • Boilerplate: only generic only values, no real shaping, no excludes despite obvious noise
    • Tuned: contains intentional project-specific includes/excludes, depth, or routing hints
  3. Write a conservative code-first config

    • Keep primary source-language only values when they help
    • Add exclude entries for obvious non-code noise
    • Set a moderate depth when the repo is broad
    • Avoid overfitting or excluding real source directories
  4. Prefer stack-aware defaults

    • Rust: focus src, tests, benches, examples; de-prioritize corpora, sample PDFs, training data, large generated artifacts
    • iOS/Swift: focus app/framework source, tests, package/project manifests; de-prioritize .xcassets, screenshots, snapshots, vendor/build outputs
    • TS/JS: focus src, apps, packages, tests; de-prioritize dist, coverage, Storybook assets, large fixture payloads
    • Python: focus package roots, tests, tool config; de-prioritize notebooks, data dumps, models, fixtures when they overwhelm code
    • Go: focus packages, cmd, internal, tests; de-prioritize generated assets, sample data, vendor-like noise

Read the full file on GitHub · 53 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. 1mo ago First seen · 53 lines · 44 tokens per session scan A 5c63e115f6ee

Subscribe to this mod's changes

config-setup is a skill published in the GitHub repository JordanCoin/codemap (703 stars, last pushed 16d ago), licensed MIT. It adds 44 tokens to every session and 628 once invoked, about $0.0002 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.