codemap-config-setup
Skill3 starsChanged 3 months agoMITView on GitHub
Configure and tune .codemap/config.json. Trigger this skill ONLY when codemap CLI output is overwhelmed by irrelevant files (like assets, generated code, or vendor folders), or when the prompt-submit hook explicitly suggests config-setup.
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- adzic-bddSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- bddSkill
- branch-doctorSkill
- c4-architectureSkill
- c4Skill
- claude-sub-agentSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- commitSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- debugSkill
- design-thinkingSkill
- doctorSkill
- docx-word-processorSkill
- farley-tddSkill
- forensicsSkill
- gemini-sub-agentSkill
- git-commit-formatterSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- github-cliSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- humanizeSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lessonsSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- modern-cli-overridesSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Write or improve .codemap/config.json so future Codemap calls stay focused on the code that matters for this repo.
- Very specific: line 23
If needed, run codemap --deps .
- Distinctive: line 32
Write a conservative code-first config
- Very specific: line 33
Keep primary source-language only values when they help
- Very specific: line 34
Add exclude entries for obvious non-code noise
- Distinctive: line 36
Avoid overfitting or excluding real source directories
- Distinctive: line 46
If config already looks curated, do not replace it wholesale
- Very specific: line 51
If the repo still looks noisy, refine exclude and possibly depth
- Very specific: line 52
Only rerun codemap --deps .
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
.codemap/config.jsonis missing- The existing config looks like a bare bootstrap instead of a real project policy
- Codemap output is dominated by assets, fixtures, generated files, vendor trees, PDFs, screenshots, models, or training data
- The project stack is obvious, but Codemap is not prioritizing the right parts of the repo
Workflow
- 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
- Run
- Decide whether config is missing, boilerplate, or tuned
- Missing: no
.codemap/config.json - Boilerplate: only generic
onlyvalues, no real shaping, no excludes despite obvious noise - Tuned: contains intentional project-specific includes/excludes, depth, or routing hints
- Missing: no
- Write a conservative code-first config
- Keep primary source-language
onlyvalues when they help - Add
excludeentries for obvious non-code noise - Set a moderate
depthwhen the repo is broad - Avoid overfitting or excluding real source directories
- Keep primary source-language
- 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-prioritizedist,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
- Rust: focus
- Preserve user intent
- If config already looks curated, do not replace it wholesale
- Make minimal edits and explain why
- Verify immediately
- Rerun
codemap . - If the repo still looks noisy, refine
excludeand possiblydepth - Only rerun
codemap --deps .after tree output looks reasonable
- Rerun
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

