plan-atlas

mcp
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • rm -rf — Recursive force deletion command in scripts/bench-memory.sh
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

A local workspace for the implementation plans Claude Code writes: organize them by project, read them as documents, track tasks and watch Claude's subagents work live. Single Rust binary, runs on your machine.

README.md

Plan Atlas

Don't just watch your coding agent work: verify it did what the spec asked.

CI
License: MIT
Platforms
Website

English · Tiếng Việt

A plan rendered as a document in Plan Atlas

Plan Atlas collects the plans Claude Code produces, organizes them by project and presents each one as a structured document with tasks you can track. While Claude works, it shows which task is in progress and what each subagent is doing, in plain language that non-developers can follow. Each requirement of a feature gets a state derived from evidence (commits that exist, check commands seen passing, your own confirmation), not from the agent saying it is done. Everything runs on your machine from a single binary.

Contents

Features

  • Central plan store. Plans from every project live in one place, grouped by project. Plans already in ~/.claude/plans are imported automatically, and plans stored anywhere else can be imported from a file or folder. Source files are never modified.
  • Spec-driven workflow. For work users will see, Claude follows specify, plan, tasks, implement and converge, with optional clarify, checklist and analyze steps. Specs, plans, checklists and the notes written during each task are stored together per feature. See what Plan Atlas sets up.
  • Evidence-based coverage. Claude completes a task with the commits it made and the exact check commands it ran. Plan Atlas looks the commits up in git and matches each check against the command results its hooks saw, then labels every piece of evidence observed or declared. A Coverage tab shows each requirement as uncovered, planned, claimed, implemented or verified, and you can confirm one by hand. A feature converges only when every requirement is verified. See Evidence and coverage.
  • Feature flow map. A Flow tab for each feature shows the current workflow step, the documents each step produced and the converge rounds. Tick checklist items and confirm the proposed steps on the web.
  • Plans as documents. A consistent structure (Overview, Requirements & Scope, Technical Analysis, Task Breakdown, Risks & Rollback) with a section outline that follows your reading position.
  • Task tracking. Each task carries a status, a complexity score from 1 to 5 and a recommended model and effort level. Update tasks from a board by drag and drop.
  • Flow view. Each plan has a Flow tab showing which tasks depend on each other, which can run in parallel and the critical path.
  • Live activity. See which task Claude is working on and what each subagent is doing, nested under the relevant plan. Raw tool calls are available on demand.
  • Knowledge map. Topics come from a shared, editable taxonomy. A graph shows how plans relate through dependencies and shared topics.
  • Search. Full-text search across plans, tasks and topics, insensitive to diacritics.
  • Bilingual interface. English and Vietnamese, selected from the browser language.
  • Lightweight. A single binary of about 9 MB that uses roughly 16 MB of memory at idle with 1,000 plans.

Installation

Prebuilt packages are published starting with v0.1.0.

Platform Command
macOS, Linux curl --proto '=https' --tlsv1.2 -LsSf https://github.com/wik1ngst-1103/plan-atlas/releases/latest/download/plan-atlas-installer.sh | sh
Windows (PowerShell) powershell -ExecutionPolicy Bypass -c "irm https://github.com/wik1ngst-1103/plan-atlas/releases/latest/download/plan-atlas-installer.ps1 | iex"
Homebrew brew install wik1ngst-1103/tap/plan-atlas
npm npm install -g plan-atlas

Install globally. Running through npx is not supported, because Claude Code needs a stable path to the binary.

Build from source

Requires Rust 1.89 or later and Node.js 22 or later. The web interface is compiled into the binary.

git clone https://github.com/wik1ngst-1103/plan-atlas.git
cd plan-atlas
(cd web && npm ci && npm run build)
cargo build --release
# binary: target/release/plan-atlas

Getting started

plan-atlas

On first launch, Plan Atlas:

  1. offers to connect to Claude Code (see Claude Code integration),
  2. imports existing plans from ~/.claude/plans,
  3. opens the interface at http://127.0.0.1:7420.

Running the command again while Plan Atlas is already running opens a new browser tab instead of starting a second instance.

Usage

Commands

Command Description
plan-atlas Start the application and open the browser. Options: --port <n>, --no-open.
plan-atlas setup [--yes] Connect Plan Atlas to Claude Code.
plan-atlas uninstall-claude [--yes] Remove everything setup added. Other settings are left untouched.
plan-atlas import [PATH]... [--project <name>] Import plans. Without a path, imports ~/.claude/plans.
plan-atlas task start|done <plan-id> <task-id> Update a task's status from the command line.
plan-atlas task done <plan-id> <task-id> [--commit <sha>]... [--check "<command>"]... [--note <text>] Complete a task with evidence; prints the level it reached (claimed, implemented, verified).
plan-atlas mcp Run the MCP server over stdio. Started by Claude Code.
plan-atlas hook Handle a Claude Code hook event. Invoked by Claude Code.

Importing plans

Plans kept outside ~/.claude/plans can be imported from the interface or the command line. Imports are idempotent: importing an unchanged file again has no effect.

  • Interface: select Import plans below the project list, choose Markdown files or a folder, select a target project and confirm.

  • Command line:

    plan-atlas import ~/notes/plans --project my-app
    

    Folders are searched recursively for *.md files. Hidden directories, node_modules and target are skipped. Without --project, each plan is assigned to the Git repository that contains it, then to the project of the Claude Code session that wrote it, and otherwise to unsorted.

What Plan Atlas sets up when you install it

Installing the binary and running plan-atlas setup (offered on first launch) does three things in Claude Code, and nothing else:

What Where What it is for
10 Skills ~/.claude/skills/plan-atlas/ and ~/.claude/skills/atlas-*/ plan-atlas is the coordinating skill; nine atlas-* skills guide one workflow step each
Hooks, 6 events ~/.claude/settings.json (timestamped backup first, existing hooks kept) PreToolUse, SubagentStart, SubagentStop, SessionEnd: show live what Claude and each subagent do; PostToolUse and PostToolUseFailure (Bash only): record whether each command succeeded, as evidence for the task in progress
MCP server, 18 tools claude mcp add --transport stdio --scope user plan-atlas -- plan-atlas mcp The only way Claude writes plans, specs and notes; it never writes into ~/.plan-atlas directly

The 18 MCP tools:

  • Plans: list_plans, search_plans, get_plan, get_taxonomy, create_plan, update_plan
  • Tasks: start_task, complete_task
  • Features: create_feature, update_spec, set_track, get_feature, list_features, write_doc, write_checklist, record_converge
  • Constitution: get_constitution, update_constitution

The workflow it applies

The workflow adapts github/spec-kit (spec-driven development: spec, plan, tasks, US/FR/SC/CHK codes, checklists that test the requirements text) and the way obra/superpowers asks questions and verifies work. The atlas-* skills tell Claude to keep the superpowers question-and-answer style, but to save every spec, plan and document in Plan Atlas instead of in your repository.

specify ──► plan ──► tasks ──► implement ──► converge
   │         │                                  │  gaps found → new tasks ─┐
 clarify   checklist  analyze   (optional)      └──────────── repeat ◄─────┘

The five steps in the top row are the short path, always used for a feature. Three steps are optional and are switched on by signals in the spec; Claude proposes them with a reason, and you confirm on the web or in chat before the plan step starts:

Optional step Switched on when
clarify the spec still has [NEEDS CLARIFICATION] markers or vague scope (asks up to 5 questions, one at a time)
checklist it touches security, API, UI, performance or data (one checklist per domain, "unit tests for the requirements text")
analyze 2 or more user stories, more than about 15 tasks, or the project has a constitution (read-only consistency report)

A project can also have a constitution (core principles and governance, once per project) that the workflow checks against. It is optional and not part of the per-feature flow.

Converge compares the finished work with the spec and plan. Each gap becomes a new task (converge, gap, covers fields); implement and converge repeat until a round finds 0 gaps and every requirement is verified (see below). The checklists gate implement: if any are not fully ticked, Claude stops and asks before going on.

You do not have to run all nine steps. Small work (a bug fix, a config change, a dependency bump, cleanup) skips the workflow and stays a plain plan created with create_plan, shown like any other plan. When it is unclear, Claude asks you.

Evidence and coverage

When Claude completes a task it can pass evidence: the commits it made and each check command (tests, lint, build) exactly as it ran it. Plan Atlas checks what it can and labels each item observed (seen by Plan Atlas: a commit found in the repository, a check command its hook saw succeed since the task was started) or declared (stated by the agent, not checked). If the last observed run of a declared check failed, the completion is refused and the task stays in progress. The result is appended to a file next to the plan, so it survives rebuilding the index.

A completed task reaches one of three levels: verified (a declared check was seen passing), implemented (a verified commit or observed file edits) or claimed (nothing could be checked). Each requirement (FR-…, SC-…) gets a state from the tasks that cover it; the first matching row wins:

State When What it means
verified you confirmed it on the Coverage tab a person confirmed it
uncovered no task covers it nobody plans to do it yet
planned a covering task is not done work in progress
claimed every covering task is done, one of them only claimed the agent says it is done; nothing was checked
implemented every covering task is done, the lowest level is implemented real changes, no check seen
verified every covering task is done and verified a check passed while the work was done

claimed is what other tools call "done". A feature becomes converged only when a converge round finds 0 gaps and every requirement is verified.

Limits. verified means "a check command named by the agent ran successfully while a task covering this requirement was being done". It does not prove the software is correct, so check commands are always shown verbatim for you to judge (a command ending in || true always passes). Also:

  • A piped command (cargo test | tail) reports the exit code of its last command, so the skills ask Claude to run checks without pipes.
  • Checks match the exact text: declaring cargo test after running cargo test --lib gives unobserved. Commands run before the task was started are not recorded.
  • A session is linked to one task at a time. When one session works on several tasks in parallel, commands are recorded for the task started last, and the other tasks' checks come out unobserved. The error is always towards recording too little, never towards recording something that did not happen.

Other agents can use the MCP server or the plan-atlas task done flags; without the hooks, evidence stops at declared checks and verified commits.

Where everything is stored

Only in ~/.plan-atlas. Plan Atlas writes nothing into your project repositories, and it keeps no copies there. Back up ~/.plan-atlas yourself if you need to.

~/.plan-atlas/plans/<project>/
  constitution.md                  optional, one per project
  2026-11-20-old-plan.md           a plain plan, unchanged
  003-product-reviews/             a feature: the folder contains spec.md
    spec.md                        user stories, FR-001…, SC-001…, Clarifications
    plan.md                        the feature's one plan, tasks inside
    research.md  data-model.md  quickstart.md  contracts/*.md
    checklists/<domain>.md         requirements.md, security.md, api.md, ui.md, ...
    analysis.md                    report of the analyze step
    docs/*.md                      notes and reports written while doing a task
    evidence/confirmations.jsonl   requirements you confirmed or revoked on the web
    evidence/<plan-id>.jsonl       completion evidence of the feature plan's tasks
  evidence/<plan-id>.jsonl         completion evidence of a plain plan's tasks

Markdown files stay the source of truth; the SQLite index can be deleted and rebuilt. Plans you already have keep their ids, paths and content.

In the web app

The Flow tab of a feature: one box per workflow step with the documents it produced

A feature page has the tabs Flow, Coverage, Spec, Plan, Checklists and Documents. The Flow tab is a map of the workflow: which step the feature is in now, which steps are done, skipped or waiting, the documents each step produced (documents written during a task hang under that task), the converge rounds and their gaps. Click a requirement code such as FR-003 to highlight the tasks that cover it; requirements no task covers are marked. The Coverage tab lists every requirement with its state, the covering tasks and their evidence labelled observed or declared, with check commands shown verbatim. A few quick actions are available, and nothing else is editable on the web:

  • tick checklist items (written straight into the file),
  • confirm or revoke one requirement on the Coverage tab (there is deliberately no "confirm all"),
  • confirm or adjust the optional steps Claude proposed,
  • change a task's status.

Answering clarify questions stays in the Claude Code conversation.

Credits

The workflow, its step names, the US/FR/SC/CHK codes and the checklist idea come from github/spec-kit; the brainstorm-spec-plan-execute-verify discipline comes from obra/superpowers. Both are MIT-licensed, and the skills credit them as sources. Thank you to both projects.

Claude Code integration

plan-atlas setup makes three changes to your Claude Code configuration:

Change Location
Installs 10 Skills: plan-atlas tells Claude where and how to write plans and specs, and nine atlas-* skills guide the workflow steps ~/.claude/skills/plan-atlas/, ~/.claude/skills/atlas-*/
Adds hooks for PreToolUse, SubagentStart, SubagentStop, SessionEnd, and for PostToolUse and PostToolUseFailure with the Bash matcher ~/.claude/settings.json (a timestamped backup is written first; existing hooks are preserved)
Registers the MCP server claude mcp add --transport stdio --scope user plan-atlas -- plan-atlas mcp

With the integration in place, Claude creates plans through the MCP server, records task progress, and links related plans. Plans written in Claude Code's plan mode are registered after you approve them. To revert all changes, run plan-atlas uninstall-claude.

Upgrading: when the Skills are already installed, launching a new version of plan-atlas updates them in place, and adds any hook events the new version needs (a backup of settings.json is written first). Run plan-atlas setup again if skills are missing.

Configuration

Setting Default Override
Data directory ~/.plan-atlas PLAN_ATLAS_HOME environment variable
Port 7420, falling back up to 7430 --port or PLAN_ATLAS_PORT
Claude Code directory ~/.claude CLAUDE_CONFIG_DIR
Interface language Browser language (English or Vietnamese) Language switch in the top bar
Topic taxonomy ~/.plan-atlas/taxonomy.toml Edit the file, then run plan-atlas setup to update the Skill

Plan format

Plans are Markdown files with YAML front matter. Claude creates them through the MCP server, so writing them by hand is rarely necessary. Manual edits are supported: files are re-indexed on save, and structural problems appear as warnings in the interface rather than errors.

Example
---
id: PLAN-auth-gateway-001
project: auth-gateway
title: Migrate sessions to JWT + RBAC
tags: [type/feature, domain/security, tech/jwt]
related:
  - { to: PLAN-auth-gateway-000, type: depends_on }
created: 2026-11-20
---
## 01. Overview
## 02. Requirements & Scope
## 03. Technical Analysis
### Current Architecture
### Existing Problems
### Proposed Architecture
## 04. Task Breakdown
### TASK-001: Authentication Service
- complexity: 4
- model: opus
- effort: medium
- status: todo
- tags: [tech/jwt]

Description and acceptance criteria.
## 05. Risks & Rollback

Supported relation types: depends_on, extends, relates_to. Task statuses: todo, in_progress, review, done.

A feature's plan.md uses the same format, plus optional task fields written by the workflow:

### TASK-011: Limit comment length
- story: US1
- covers: [FR-002, SC-001]
- converge: 1
- gap: partial

story links a task to a user story, covers lists the requirement and success-criteria codes it satisfies, and converge (round number) and gap (missing, partial, contradicts or unrequested) mark tasks created by a converge round.

Architecture

Claude Code ── MCP (stdio) ── plan-atlas mcp ──┐
Claude Code ── hooks ──────── plan-atlas hook ─┼──► SQLite index ◄── plan-atlas server (127.0.0.1)
~/.plan-atlas/plans/**/*.md ◄── file watcher ────┘                            ▲
                                                                        browser
  • A single Rust binary provides the web server, MCP server, hook handler and installer. The Svelte interface is embedded in it.
  • Markdown files are the source of truth. The SQLite database is an index that can be deleted and rebuilt at any time.
  • Live updates reach the browser over Server-Sent Events.
  • A feature is a folder (NNN-name/) containing spec.md; its plan.md is indexed as a normal plan, and the other Markdown files (checklists, documents) get their own readers. Step status on the Flow map is derived from the files, never stored separately.

Security and privacy

  • No telemetry. The server listens only on 127.0.0.1 and makes no outbound connections.
  • Requests are rejected unless the Host header names the local server, which protects against DNS rebinding. Write requests also require a custom header.
  • Plan content is sanitized before rendering.
  • For Bash commands the hook stores only whether the command succeeded and a hash of its text, never the command itself or its output, because commands can contain tokens.
  • The hook handler is designed never to interfere with Claude Code: it always exits with code 0, prints nothing and finishes within 200 ms.

To report a vulnerability, see SECURITY.md.

Contributing

Contributions are welcome, including code, translations, taxonomy topics, documentation and bug reports. See CONTRIBUTING.md for the development setup and guidelines. All participants are expected to follow the Code of Conduct.

Roadmap

  • Run as a background service (launchd, systemd, Windows service)
  • Per-task cost and token usage
  • Export a plan as a shareable static page
  • Additional interface languages

License

Released under the MIT License.

Yorumlar (0)

Sonuc bulunamadi