Back to catalog

codemap

by JordanCoin

Pending

a project brain for your AI. Give LLMs instant architectural context without burning tokens

417stars
37forks
Go
Added 12/27/2025
CLI Toolsclaudeclaude-codeclicodexcodex-clicontextcursordeveloper-toolsllmopenaiproject-management
Installation
# Add to your Claude Code skills
git clone https://github.com/JordanCoin/codemap
README.md

codemap šŸ—ŗļø

Run in Smithery

codemap — a project brain for your AI. Give LLMs instant architectural context without burning tokens.

License Go

codemap screenshot

Install

# macOS/Linux
brew tap JordanCoin/tap && brew install codemap

# Windows
scoop bucket add codemap https://github.com/JordanCoin/scoop-codemap
scoop install codemap

Other options: Releases | go install | Build from source

Quick Start

codemap .                    # Project tree
codemap --only swift .       # Just Swift files
codemap --exclude .xcassets,Fonts,.png .  # Hide assets
codemap --depth 2 .          # Limit depth
codemap --diff               # What changed vs main
codemap --deps .             # Dependency flow
codemap github.com/user/repo # Remote GitHub repo

Options

| Flag | Description | |------|-------------| | --depth, -d <n> | Limit tree depth (0 = unlimited) | | --only <exts> | Only show files with these extensions | | --exclude <patterns> | Exclude files matching patterns | | --diff | Show files changed vs main branch | | --ref <branch> | Branch to compare against (with --diff) | | --deps | Dependency flow mode | | --importers <file> | Check who imports a file | | --skyline | City skyline visualization | | --animate | Animate the skyline (use with --skyline) | | --json | Output JSON |

Note: Flags must come before the path/URL: codemap --json github.com/user/repo

Smart pattern matching — no quotes needed:

  • .png → any .png file
  • Fonts → any /Fonts/ directory
  • *Test* → glob pattern

Modes

Diff Mode

See what you're working on:

codemap --diff
codemap --diff --ref develop
╭─────────────────────────── myproject ──────────────────────────╮
│ Changed: 4 files | +156 -23 lines vs main                      │
╰────────────────────────────────────────────────────────────────╯
ā”œā”€ā”€ api/
│   └── (new) auth.go         āœŽ handlers.go (+45 -12)
└── āœŽ main.go (+29 -3)

⚠ handlers.go is used by 3 other files

Dependency Flow

See how your code connects:

codemap --deps .
╭──────────────────────────────────────────────────────────────╮
│                    MyApp - Dependency Flow                   │
ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤
│ Go: chi, zap, testify                                        │
╰──────────────────────────────────────────────────────────────╯

Backend ════════════════════════════════════════════════════
  server ───▶ validate ───▶ rules, config
  api ───▶ handlers, middleware

HUBS: config (12←), api (8←), utils (5←)

Skyline Mode

codemap --skyline --animate

![cod...