park — Claude Code command: what it does, how to install
park stores the active session in a Markdown file so work can resume after a restart. It is made for Claude Code and Codex workflows.
CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22
.claude/commands/park.mdWhat park does
/park asks for a session label when one was not supplied, then chooses a Markdown destination. The default file is ~/Desktop/parked-sessions.md; each new entry is appended, so earlier parked sessions remain.
The command records the repository path, current branch, and timestamp. It reads the project session index to locate the latest session and writes a resume command using claude --resume. When that lookup fails, the saved entry falls back to claude --continue. A project outside Git can still be recorded with its branch field handled separately.
What it helps with
- save a description of the active session
- resume work after a machine restart
- append project context to a Markdown file
- look up the latest session identifier
- keep several parked sessions together
Example prompts for the agent
- Run
/parkand save the current session to a Markdown file. - Run
/park fix JWT authenticationand append the entry to the session file. - Park this work and include the command needed to resume it.
How to install park
Manually: put the files in place
.claude/commands/park.mdCall it with /park. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/park.mdCall it with /prompts:park. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/park.prompt.mdManually: put the files in place
.gemini/commands/park.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about park
How do I install park in Claude Code?
Create the command file at .claude/commands/park.md and place the command contents there.
What does park do?
It stores a session label, project path, branch, timestamp, and resume command in Markdown. New records are appended to the selected file.
What happens when park cannot find the session ID?
The saved resume instruction uses claude --continue instead of claude --resume <session-id>.