You have a dozen Claude Code sessions running across different git worktrees. Some are half-finished, others you won't touch for weeks. Keeping them open wastes resources; closing them makes it harder to pick up where you left off.
claude-park lets you shelve a Claude Code session and resume it whenever you're ready. It preserves your conversation, protects your worktree, and generates a concise summary of where you left off.
Two commands:
!park # inside Claude Code: park this session and close its tab
parked # in any shell: find a parked session and resume it

Install
./install.sh
This links claude-park, park, and parked into ~/.local/bin.
Requirements: macOS, Python 3.9+, and git. iTerm2 is needed to automatically close and reopen tabs; without it, parking still stops Claude but leaves the tab open.
Optional dependencies:
fzf for the interactive session picker
gh for GitHub pull request information
Optional: /park skill
If your Claude session is still warm, the optional /park skill can write its own summary using the context already available to the model, avoiding a separate Haiku summarization call.
claude plugin marketplace add hotdata-dev/claude-park
claude plugin install park@claude-park
Why park a session?
Free up your workspace. Stop idle Claude processes, close unused terminal tabs, and reclaim disk space from rebuildable dependencies.
Protect unfinished work. Lock your git worktree against accidental removal and leave a PARKED.md notice explaining that the work is parked, not abandoned.
Never lose your place. Preserve the full conversation and generate a concise park card capturing the goal, progress, next steps, and gotchas.
Resume without starting over. Return to the original conversation, or start a fresh session using the park card instead of re-sending the entire history.
How parking works
Park without re-sending your context
!park is a shell command, not a Claude slash command. Parking doesn't invoke your active Claude model or re-send its entire conversation.
Instead, a background job passes a trimmed transcript excerpt (opening request, latest compaction summary, and recent turns, up to roughly 60K characters) to Haiku, which generates a park card containing:
- The task's goal and current progress
- What has already been completed
- Next steps
- Important context and gotchas
The result is saved alongside the session's metadata, ready whenever you return.
Protect your work
Parking does more than save the conversation:
- Records session state. Saves the title, directory, branch, ahead/dirty counts, last commit, associated PR (via
gh), and last prompt in ~/.claude/parked/<session-id>.json.
- Locks the worktree. Uses
git worktree lock with a claude-park: reason. Git refuses to remove or prune locked worktrees. Existing locks are preserved.
- Leaves a notice. Writes
PARKED.md at the worktree root with the resume command and park card. The file is hidden from git status via .git/info/exclude. An existing PARKED.md not created by claude-park is never overwritten.
- Reclaims disk space. Removes gitignored, rebuildable directories such as
target, node_modules, .venv, and .next. Only paths reported as ignored by git are touched. Use --no-clean to skip cleanup.
- Preserves the transcript. Hard-links the conversation into
~/.claude/parked/transcripts/, protecting it from Claude Code's automatic transcript cleanup without duplicating its disk usage. The original is relinked on resume if necessary.
- Closes the session. Stops the Claude process and closes its iTerm2 pane.
Resuming a session
Run parked from any shell to browse your parked sessions.
The interactive fzf picker shows each session's age, repository, title, progress, and git state:
3d api-server Rate limiter for the public search API ▰▰▰▰▱ review PR #482 open
9d web-app Migrate settings page to new form library ▰▰▱▱▱ design 2 uncommitted
A lightweight Haiku pass over the park card generates a short preview with:
- A descriptive title
- Current phase (research → design → build → review → wrap-up)
- One-line status
- Top three next steps
Resume the full conversation, or start fresh
You have two ways to pick up your work.
Resume the original session to restore the full conversation exactly where you left it:
parked resume <id>
Start fresh with the park card to give a new Claude session the essential context without re-sending the entire conversation:
parked resume --fresh <id>