codemap

Generate hierarchical code maps from a root directory using LSP tools.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cmtkdot/arc --skill codemap-cmtkdot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codemap
Source: https://github.com/cmtkdot/arc/tree/main/skills/codemap
Command: npx skills add https://github.com/cmtkdot/arc --skill codemap-cmtkdot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code exploration and architecture comprehension for large codebases is time-consuming; this skill generates a visual, hierarchical map using LSP analysis to reveal structure and dependencies.

Core Features & Use Cases

  • LSP-powered analysis maps functions, classes, variables, and imports into a nested tree.
  • Create mode builds a fresh map from a root directory; Update mode refreshes an existing map after changes.
  • Use cases include onboarding new contributors, architecture audits, and change-tracking over time.

Quick Start

Point Claude to your project root and run the codemap workflow to create the initial code map.

Frequently Asked Questions about codemap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a hierarchical code map for a large codebase?

You can generate a hierarchical code map by running the create mode workflow from your project root, which uses LSP analysis to map functions, classes, and imports into a nested tree.

How does LSP code map visualization help with architecture comprehension?

LSP code map visualization reveals codebase structure and dependencies by mapping functions, classes, variables, and imports into a nested tree, making architecture comprehension and onboarding faster.

What is the best way to update a code map after modifying files?

The best way to update a code map after modifying files is using the update mode, which refreshes the existing map to track changes over time while maintaining the hierarchical structure.

Can I use this code map generation tool for onboarding new contributors?

Yes, you can use this code map generation tool for onboarding new contributors because it outputs a visual, hierarchical map that reveals project structure and dependencies clearly.

Where does the generated code map file get saved?

The generated code map file is saved as a JSON file at `.claude/maps/code-map-<name>-<hash5>.json`, containing the full hierarchical structure and metrics for directories, files, and symbols.

Do I need any external dependencies to create a code map with LSP insight?

You do not need any external dependencies to create a code map with LSP insight; the skill relies solely on Claude Code's built-in LSP tools and requires no additional setup.