codemap
Analyze codebase structure, dependencies, changes, cross-agent handoffs, and get code-aware intelligence. Use when user asks…
Set up or tune .codemap/config.json so Codemap focuses on code-relevant parts of the repo. Use when config is missing, boilerplate, noisy, or mismatched to the stack.
Claude Code
$ npx -y skills add JordanCoin/codemap --skill config-setup --agent claude-code
Codex
$ npx skills add JordanCoin/codemap --skill config-setup -a codex -y
Cursor
$ npx skills add JordanCoin/codemap --skill config-setup -a cursor -y
Gemini CLI
$ npx skills add JordanCoin/codemap --skill config-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add JordanCoin/codemap --skill config-setup -a github-copilot -y
OpenCode
$ npx skills add JordanCoin/codemap --skill config-setup -a opencode -y
Windsurf
$ npx skills add JordanCoin/codemap --skill config-setup -a windsurf -y
name: config-setup description: Set up or tune .codemap/config.json so Codemap focuses on code-relevant parts of the repo. Use when config is missing, boilerplate, noisy, or mismatched to the stack.
A score of 100 means a hook found the config missing, empty, malformed, or boilerplate. Fix it first; it takes under a minute and every later Codemap answer depends on it.
1. Run `codemap config show` to see the current state. If it says missing, run `codemap config init` (most commands now do this for you). 2. Write or tune `.codemap/config.json` using the workflow below: keep source extensions in `only`, add `exclude` for real noise, set `depth` if the tree is wide. 3. Rerun `codemap .` and confirm the tree is dominated by source, not assets. 4. Verify one known cross-file dependency still resolves with `codemap --importers <file>`.
Then return to the user's task. Do not skip this because the task looks small.
Write or improve `.codemap/config.json` so future Codemap calls stay focused on the code that matters for this repo.
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
1. Inspect the repo quickly before writing config
2. Decide whether config is missing, boilerplate, or tuned
3. Write a conservative code-first config
4. Prefer stack-aware defaults
5. Preserve user intent
6. Verify immediately
{
"only": ["rs", "toml", "md"],
"exclude": ["training-data", "test-pdfs", "*.pdf"],
"depth": 4
}{
"only": ["swift", "m", "mm", "h", "plist", "md"],
"exclude": [".xcassets", "Snapshots", "Screenshots", "DerivedData"],
"depth": 4
}After tuning config, briefly report:
1. Why the old config was missing or too noisy 2. What exclusions or depth choices you added 3. Whether future Codemap runs should now be materially cleaner
codemap — structural ground truth for coding agents. Resolves what your code actually imports, tells you what breaks if you change it, and is explicit about what it couldn't figure out.
Analyze codebase structure, dependencies, changes, cross-agent handoffs, and get code-aware intelligence. Use when user asks…
Systematic codebase exploration using codemap's analysis tools. Use when understanding how code works, tracing dependencies, or…
Build and consume handoff artifacts for multi-agent work. Use when switching between Claude, Codex, Cursor, or other AI agents.
Safety checks and procedures when modifying hub files (files imported by 3+ others). Activated when editing files with high…
Safe refactoring with dependency awareness. Use when restructuring, renaming, moving, extracting, or consolidating code.
TDD workflow using codemap's impact analysis. Write tests before implementation, verify with dependency awareness.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.