By JanSmrcka
Claude Plan Tracker - Persist and track implementation plans across Claude Code sessions
Track and persist implementation plans across Claude Code sessions.
Download the latest release for your platform from Releases.
go install github.com/jansmrcka/cpt@latest
git clone https://github.com/jansmrcka/cpt
cd cpt
make build
cd your-project
cpt init
This creates the necessary hooks in .claude/settings.json.
cpt status
Shows the plan for the current branch, including tracked commits.
cpt list
Lists all tracked plans in the repository.
cpt sync
Manually sync a plan from Claude's session storage. Use --force to overwrite an existing plan.
cpt uses Claude Code hooks to:
Plans are stored in .claude/plans/ in your repository with YAML frontmatter containing metadata.
---
branch: feature/my-feature
source: claude-session
last_updated: 2024-01-15T10:00:00Z
commits:
- abc123
- def456
---
## Plan
1. Implement feature X
2. Add tests
3. Update documentation
cpt can be installed as a Claude Code plugin. Run these commands inside a Claude Code session:
/plugin marketplace add jansmrcka/cpt
/plugin install cpt@jansmrcka-cpt
If you cloned the repository locally:
/plugin marketplace add /path/to/cpt
/plugin install cpt@cpt
cpt initIf you prefer not to use the plugin system, you can set up hooks manually:
# Install the binary first (see Installation section above)
cd your-project
cpt init
This adds the necessary hooks directly to .claude/settings.json in your project.
| Command | Description |
|---|---|
cpt init | Initialize hooks in the current project |
cpt status | Show plan status for current branch |
cpt list | List all tracked plans |
cpt sync | Sync plan from Claude session storage |
cpt --version | Show version |
cpt stores plans in .claude/plans/ in your repository root. This directory is created automatically when you run cpt init.
You may want to add .claude/plans/ to your .gitignore if you don't want to commit plans:
# Claude Plan Tracker plans
.claude/plans/
Or commit them if you want to share plans with your team.
# Build
make build
# Run tests
make test
# Run linter
make lint
# Build for all platforms
make build-all
MIT
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub JanSmrcka/cpt --plugin cptIterative plan review and execution workflow for Claude Code
Structured implementation planning, interactive annotation review, and autonomous plan execution
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.