/agent-meta:parkfrom agent-meta
Creates a checkpoint file for session handoff, close-out, or idle-triggered parking. Detects mode from user intent or terminal state, resolves session ID and context, and writes a structured resume file.
Ships in agent-meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Write one file a fresh session can resume from without reading this one. Park has three modes. Pick one, write that shape, do not mix.
| Mode | Use when | Heading | Filename |
|---|---|---|---|
| Continuation | Bouncing to a new session, work continues | Parked: | YYYYMMDDHHMM [topic-slug].md |
| Close-out | Work is done, capturing a record before walking away | Wrapped: | YYYYMMDDHHMM [topic-slug]-wrapped.md |
| Idle checkpoint | Automated park triggered by inactivity/cache-expiry, not a user request | Checkpoint: | YYYYMMDDHHMM [topic-slug]-checkpoint.md |
Pick one mode by checking these signals in order. Stop at the first one that resolves.
Signal 3 requires an interactive caller. A headless or automated invocation must already have resolved at signal 0.
Pick once and commit. Do not switch modes mid-write.
${CLAUDE_SESSION_ID}unknown.Park vault: line and <vault>/CLAUDE.md has a ## Parking section with a Location: → that folder, relative to the vault. The section supplies only the location; filenames follow this skill..parkinglot/ in project root (verify it is gitignored). This also covers a vault with no ## Parking section.date +%Y%m%d%H%M. Every filename starts with it, then a single space.[path] takes that absolute path, because a relative path only resolves from one directory and a resumed session often starts elsewhere.unpark <file> invocation (a typed line or an unpark skill call with a path). The file it names is the predecessor, as an absolute path. With several, take the latest. With none, there is no predecessor: skip the Supersedes line and the whole Superseding section.# Parked: [Topic]
**Parked:** [Date/time]
**Session:** [session ID]
**Branch:** [branch-name]
**Worktree:** [absolute path, if applicable]
**Supersedes:** [absolute path of the predecessor. Omit the line when there is none]
## Resume Prompt
```
unpark [path]
[Directives for the next session, at most three sentences. Omit when there are none.]
```
## Current State
- [One checkable fact per bullet, present tense]
## Key Decisions
- [Decision + why]
## Relevant Files
- path/to/file.ts (new|modified)
## Next Steps
1. [Concrete next action]
2. [Concrete next action]
## Open Questions
- [Question, and the step it blocks]
What each section holds:
unpark line, then directives: how the next session behaves, which skill or playbook it starts with, who is at the keyboard and what they want. The sections below carry state and actions, so the prompt carries neither. A rule that CLAUDE.md or a rules file already loads is not a directive. With no directives, the prompt is the unpark line alone.new or modified. A file that was only read is not listed.Name the skill, not the raw command, for steps that have a skill. The resuming session tends to run whatever literal command the handoff spells out, and that skips the skill that would have handled it properly. So when a next step opens, edits, or comments on a PR, write "open the PR via the git:pull-request skill", not gh pr create --title ... --body .... The same goes for commits (git:commit) and working through review feedback (git:pull-feedback). Keep the step's specifics (branch, what the PR body must cover, draft vs ready). Do not hand over a copy-paste command that routes around the skill.
Session ID is load-bearing. Unpark takes its first 8 characters to find this session's devlog. Never drop the line.
Use when the work is done and the user is walking away. There may be open threads, but no baton-pass.
# Wrapped: [Topic]
**Wrapped:** [Date/time]
**Session:** [session ID]
**Branch:** [branch-name]
**Worktree:** [absolute path, if applicable]
**Supersedes:** [absolute path of the predecessor. Omit the line when there is none]
## Outcome
[What got done. Past tense. Reference commits where applicable.]
## Key Decisions
- [Decision + why]
## Relevant Files
- path/to/file.ts (new|modified)
## Open Threads
[Optional. Things noticed but not done. One line each.
List follow-up candidates; don't file them in a tracker.]
A Wrapped file has to earn its place. Write one only when Key Decisions or Open Threads holds something the commits and PR do not show: a decision with its reason, a thread someone should pick up. List those two sections first. If both come out empty, or only restate the commit log, write no file. Say so in one line (Nothing to record beyond the commits, so no file written.) and stop, apart from Superseding below. Outcome alone is not a reason to write.
Close-out has no Resume Prompt and no Next Steps. If you find yourself wanting to write either, the work is probably a continuation: re-check the mode.
Written when a watchdog parks a session near its prompt-cache expiry, not when a person asked. Same shape and section rules as the continuation template, with three changes:
# Checkpoint: [Topic].**Checkpointed:** replaces **Parked:**.**Trigger:** automated (idle) line after **Worktree:**.**Supersedes:** line, when there is a predecessor, goes after **Trigger:**.The labels tell a later park call in this same session what already happened here.
Runs after the new file is written, and only when step 6 found a predecessor. A close-out that wrote no file still runs it.
ls its absolute path). If it is missing, stop and leave the predecessor. When the close-out wrote no file, there is nothing to confirm: go on.Parked: or Checkpoint:. A Wrapped: record is not a handoff, and a missing file needs nothing.rm "[predecessor path]"). No glob, no directory, no other file, even a similar-looking sibling.Deleted [predecessor path], the handoff this session resumed. The vault is not a git repo, so only sync history can bring it back.The Supersedes line stays in the new file as the record of what it replaced.
Close with one fenced block so it copies cleanly. The path appears once: inside the unpark line, or alone when there is no unpark line (close-out). Use the absolute path, with no blockquote and no quotes.
Continuation:
Parked. Resume in a new session:
```
unpark [path]
```
Close-out:
Wrapped to:
```
[path]
```
This is a close-out record. To start fresh work that builds on it, reference the file in your next session.
Idle checkpoint:
Checkpointed (automated, this session went idle). If you're still working here, ignore this. To resume elsewhere:
```
unpark [path]
```
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub technicalpickles/pickled-claude-plugins --plugin agent-meta4 skills in this plugin
/harness-binary-spelunkingUse when investigating an agent-harness CLI's internals (Claude Code, codex, opencode, or similar): extracting the system prompt or tool descriptions, finding what code path produces a specific UI message, decoding minified function names or Rust symbols, understanding undocumented config keys, or otherwise spelunking a shipped binary (or its pinned source) to figure out how the tool actually behaves./snapshotCapture current session state without stopping/unparkUse when resuming work from a parked handoff, or reading a wrapped close-out record as referenceOther plugins' skills for the same job