prtr edit [files]
Start a focused edit session.
prtr saves your goal, the files you care about, and the current git SHA. It builds a structured prompt, copies it to your clipboard, and opens Claude.
AI Work Session Manager
prtr keeps track of your task goal, the files you care about, your progress notes, and the git diff — and builds the right prompt when you need it. Switch from Claude to Gemini without rebuilding context by hand.
Start → Checkpoint → Hand off → Done.
prtr edit internal/app/app.go
# Claude opens with your goal and context
prtr checkpoint "split help.go done"
prtr @gemini
# Gemini gets the full diff + your note
prtr done Session workflow
Each command does one thing clearly. Together they take a task from first intent to final handoff without requiring you to paste context by hand at every step.
prtr edit [files]
prtr saves your goal, the files you care about, and the current git SHA. It builds a structured prompt, copies it to your clipboard, and opens Claude.
prtr checkpoint
Each checkpoint records your note and the current git SHA. Checkpoints are included in every handoff prompt so the next AI knows exactly where you stopped.
prtr @gemini
prtr computes the git diff since the session started, folds in your last AI response, and builds a handoff prompt with full context — no manual reconstruction needed.
prtr done
Mark the session complete. It stays in your history so you can reference what was accomplished and when.
prtr save
Capture the current branch, HEAD SHA, last run, and open todos so you can resume days later — on the same machine or a different one — with drift detection built in.
prtr take --deep
Planner, patcher, critic, tester, and reconciler process the clipboard answer as structured evidence. Writes a plan, diff, risk report, and test plan as local artifacts.
Key concepts
prtr is not a prompt template library. It is a session layer that holds your work state and builds the right prompt for each step automatically.
A focused work block tied to a git repo. Stores your goal, files, mode (review/edit/fix/design), base git SHA, and checkpoints. One active session per repo at a time.
prtr @gemini or prtr @codex computes the git diff since the session started, adds your last AI response, and delivers a structured context prompt to the next model.
A full work-state snapshot beyond a single session: branch, HEAD SHA, last run, and open todos. Resume with drift detection after days away or a branch switch.
Write your goal in Korean or any language. prtr translates via DeepL, routes to Claude/Codex/Gemini, and protects project terms from being translated away.
Version story
Each release made prtr a little less like a one-shot prompt helper and a little more like a full session layer that holds context across tools and time.
v1.0.1
When Claude Code or Codex exits, prtr reads the conversation log automatically. No manual paste needed — the last response is always in the next handoff.
v1.0.0
Sessions become the primary unit of work. Start with review, edit, fix, or design — checkpoint progress, hand off between models, and resume without rebuilding context.
v0.8.x
prtr save and resume snapshot full work state across sessions and tools. Drift detection warns when the branch or HEAD changed since the last save.
v0.7.x
take --deep runs a five-worker pipeline (planner, patcher, critic, tester, reconciler) and writes structured local artifacts for every run.
v0.3–0.6
go, swap, take, again, learn, and inspect built the reusable command-layer loop that sessions now sit on top of.
Docs hub
The docs hub has everything you need to go from install to a real first session: platform-specific install instructions, a full usage guide, and a complete command reference.
Included in /docs
Built as a second page so the homepage stays focused on the product story while the docs page works as the operator-facing entry point.
Start here
Install with Homebrew, run doctor to verify the setup, then start your first session. No API key required for English-only flows — add DeepL later for multilingual routing.
brew tap helloprtr/homebrew-tap
brew install prtr
prtr doctor
prtr edit myfile.go