pratos/clanker-setup/codebase-map
Claude Code and agent skill by pratos/clanker-setup
- community
Checking that the SKILL.md file is still in the repository.
Generate an interactive, inspectable HTML map of a codebase with architecture nodes, source evidence, runtime/data-flow edges, and animated payload particles. Use when the user asks to visualize, map, explain, explore, or discuss a repository's architecture or execution flow.
Install
npx vskill@latest install pratos/clanker-setup/codebase-mapSKILL.md
The same SKILL.md was published earlier as pratos/clanker-setup/codebase-map.
Codebase Map
Turn a repository into one focused interactive HTML diagram that the user can inspect and use as shared context in later discussion.
Principles
- Investigate before drawing. Every architectural claim must be grounded in files you inspected.
- Show the smallest useful model: normally 6–20 nodes and 1–3 important flows.
- Model responsibilities and runtime boundaries, not every directory or symbol.
- Make animation meaningful. A moving particle represents a concrete payload or state transition and exposes that data when selected.
- Distinguish observed facts from inference. Put uncertainty in the node or flow notes.
- Never send repository content to a remote service. The artifact is standalone and offline.
Workflow
1. Establish scope
Infer or ask which question the map should answer, for example:
- How does a request travel through the system?
- Where is state owned and persisted?
- Which modules would a proposed change cross?
- How do processes, packages, or services communicate?
If no question is given, map the primary user-facing execution path and the major ownership boundaries.
2. Investigate the repository
Read repository instructions first. Then inspect targeted evidence:
- manifests and package/workspace definitions
- entrypoints and command/router registration
- core domain/state modules
- persistence and external integration boundaries
- tests that reveal intended behavior
Prefer targeted search and call-site tracing over reading every file. Ignore generated output, vendored dependencies, caches, and lockfiles unless they answer the scope question.
Keep a small evidence table while investigating:
Use exact line numbers only when verified. Otherwise cite the file path without inventing a range.
3. Build the model
Read references/model-schema.md, then create a JSON model. Default location:
Requirements:
- stable, short IDs using lowercase letters, digits, and hyphens
- unique nodes with verified source paths
- groups that reflect real ownership/runtime boundaries
- explicit directed flow steps
- concise
responsibility,implementation, andevidencetext - concrete payload labels such as
ValidatedCommand,{ userId, query }, ordomain event - canvas coordinates that avoid overlap and leave room for edge labels
Use kind consistently to communicate boundaries:
entry— user/process entrypointprocess— computation or orchestrationstate— in-memory state or queuestore— durable persistenceexternal— service or system outside the repositoryoutput— user-visible or emitted result
4. Render and validate
Resolve paths relative to this skill directory, then run:
The renderer validates IDs and flow references before writing the standalone HTML file. Fix all validation errors rather than editing the generated HTML.
Open the result:
Inspect the artifact yourself before presenting it. Check that:
- nodes do not overlap
- labels fit at the initial zoom
- important edges are understandable
- clicking nodes and flows populates the inspector
- animated particles follow the correct direction
- payload details are useful rather than decorative
- source paths and claims match the code
- the map remains usable at a narrow viewport
5. Present it briefly
Tell the user:
- the artifact path
- the question the map answers
- the primary flow shown
- any important uncertainty or omitted subsystem
Do not narrate every node. Let the artifact carry the detail.
Updating an existing map
When the user asks a follow-up or the code changes:
- reuse the existing JSON model
- re-check only the affected evidence
- update nodes and flow steps
- rerun
scripts/render.mjs - summarize what changed
Keep the JSON model beside the HTML so the diagram remains cheap to revise.
Safety and quality boundaries
- Do not include secrets, tokens, personal data, full production payloads, or sensitive configuration values.
- Summarize payload shapes and redact examples.
- Do not embed repository files wholesale.
- Do not use CDNs, analytics, remote fonts, or network requests.
- Do not claim dynamic runtime behavior solely from naming; trace the implementation or mark it inferred.
- Prefer a clear partial map over a comprehensive but speculative one.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codebase-map/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pratos/clanker-setup/codebase-map)