Skip to main content

Scan, map, and visualize your Claude Code setup: agents, skills, slash commands, and memory files.

Project description

🗺️ Claude Atlas

Audit your Claude Code setup. Find duplicate agents, conflicting triggers, and orphaned memory files before they silently break your workflow.

Languages: English · Português 🇧🇷

Claude Atlas logo


If you've been building out ~/.claude/ for a while, you probably have:

  • Two agents that do nearly the same thing, competing for the same triggers.
  • A CLAUDE.md you wrote for a project you abandoned months ago.
  • A global skill quietly shadowed by a project-scoped version in one of your repos.
  • No clear picture of how many artifacts you've accumulated total.

Claude Atlas scans your setup and surfaces these in seconds. Run it in your terminal for a quick health check, or generate an interactive HTML report for deeper triage.

# Install (from GitHub — not yet on PyPI)
uv tool install git+https://github.com/grippado/claude-atlas

# 5-second health check
claude-atlas check

# Full interactive report
claude-atlas scan

Offline by default. MIT licensed. Docs in EN + PT-BR.

Install

Prerequisites: Python 3.11+ and uv. Install uv with:

# macOS (Homebrew)
brew install uv

# macOS / Linux (official installer)
curl -LsSf https://astral.sh/uv/install.sh | sh

Then install claude-atlas. It's not on PyPI yet — install directly from GitHub:

# Recommended: isolated tool install from GitHub
uv tool install git+https://github.com/grippado/claude-atlas

# Or from a local clone
git clone https://github.com/grippado/claude-atlas.git
cd claude-atlas
uv tool install .

# Or for development (editable install)
uv sync --all-extras
uv run claude-atlas --help

To upgrade later: uv tool upgrade claude-atlas.

Quick start

# Scan ~/.claude + current dir, output to ./claude-atlas.html
claude-atlas scan

# Scan specific trees
claude-atlas scan --paths ~/work/arco --paths ~/work/flagbridge -o /tmp/atlas.html

# Auto-discover nested .claude/ dirs under several trees
claude-atlas scan --auto-discover ~/work --auto-discover ~/personal

# Refine duplicate candidates with Claude (needs ANTHROPIC_API_KEY)
claude-atlas scan --semantic

Open the resulting HTML in a browser. Click nodes to inspect, switch to the Issues tab to see what needs attention.

What it detects

Edge kind Meaning
duplicate_exact Identical SHA-256 body hash — one is a literal copy of the other.
duplicate_semantic Jaccard similarity ≥ 0.60 (suspicious) / ≥ 0.85 (probable).
overrides Project artifact shadows a same-named global one.
trigger_collision Two artifacts share ≥ 2 distinctive trigger tokens.
references One artifact's body mentions another's name.
contains Memory file groups artifacts in the same .claude/ root (UI only).

Thresholds live in src/claude_atlas/analysis/graph.py if you want to tune them.

Optional: LLM-as-judge

With --semantic, pairs flagged by Jaccard are sent to the Anthropic API for a structured verdict (duplicate / overlap / distinct). Pairs the model calls "distinct" are dropped from the graph; the rest get the model's reasoning attached to the edge detail.

Requires ANTHROPIC_API_KEY. Reinstall with the semantic extra to pull the anthropic SDK:

uv tool install "git+https://github.com/grippado/claude-atlas[semantic]"

Commands

claude-atlas scan        full scan + report
claude-atlas report      alias for scan with default flags
claude-atlas version     print version

Run any command with --help for full flags.

CI / pre-commit usage

Use claude-atlas check for lint-style health checks in scripts and CI:

# Default: fail on any HIGH-severity issue
claude-atlas check

# Pre-commit hook: only fail on duplicates and overrides
claude-atlas check --max-severity high --quiet

# CI with GitHub Actions annotations
claude-atlas check --format github

# Get everything as JSON for custom tooling
claude-atlas check --top 0 --format json

Exit codes: 0 (clean), 1 (issues found at threshold), 2 (error).

Project layout

src/claude_atlas/
├── cli.py                 # typer CLI
├── models.py              # dataclasses + enums
├── scanner/
│   ├── discovery.py       # find .claude/ dirs and CLAUDE.md files
│   └── parsers.py         # frontmatter → Artifact
├── analysis/
│   ├── graph.py           # heuristics → Edge list
│   └── llm_judge.py       # optional Anthropic refinement
└── report/
    ├── renderer.py        # ScanResult → HTML
    └── templates/report.mustache

Roadmap

Claude-atlas is in active evolution. See the full ROADMAP.md for principles, released versions, and what's planned.

Next up: v0.4.0 — HTML triage dashboard. The graph view becomes a secondary tab; the primary view becomes a card-based triage dashboard with health score, side-by-side previews, and per-issue actions. Follow progress in #1.

Considering: interactive fix-prompt export (claude-atlas fix), scan history diffing, pre-commit hook templates, editor status-bar plugin.

Won't do: automatic editing/deletion of artifacts, cloud sync, accounts, or support for non-Claude-Code AI tools. See the anti-roadmap for why.

Contributing

PRs welcome. Before opening one:

uv sync --all-extras
uv run pytest
uv run ruff check .
uv run mypy

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_atlas-0.3.0.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_atlas-0.3.0-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file claude_atlas-0.3.0.tar.gz.

File metadata

  • Download URL: claude_atlas-0.3.0.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_atlas-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1b51388927ce8d7b4648f30c1a54cbb2c62140110f5334d9d67dcff23db4b6c6
MD5 afe065eecf7b6954af080cfa2f15e6ce
BLAKE2b-256 2013c8caa621fdc61b757aa3037aebbf18707aacea41f8c9ef2c71ef113fa643

See more details on using hashes here.

File details

Details for the file claude_atlas-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: claude_atlas-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_atlas-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed30739b1557acbdbcbad7a80d612ab7eacb34976f766383081f94743d9218b
MD5 83f4518504e4ca6287d91d513efe136d
BLAKE2b-256 9e5fc24cd68fa7f367be58a5f96f1e1c90927d20646191a3fb233a8ea79af265

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page