From batch
Checkpoint session context to a tracking issue. Ensures ONE issue captures all active work, recent commits, uncommitted changes, and next steps. Use before /compact, at natural breakpoints, or when context is getting long. Also runs automatically via pre-compact hook.
How this skill is triggered — by the user, by Claude, or both
Slash command
/batch:checkpoint [message][message]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Keywords**: checkpoint, compact, resume, context
Keywords: checkpoint, compact, resume, context
Save session context to a single tracking issue (in whichever tracker the project uses) so it survives compaction and can be recovered by the next session or post-compact continuation.
Argument: $ARGUMENTS
Look for an existing in-progress issue that serves as the session's tracking issue. Prefer:
If you're reusing an existing tracking issue whose first paragraph is missing/weak/stale relative to the session's actual focus, refresh it before appending the checkpoint notes below.
There must be exactly ONE tracking issue. If multiple candidates exist, pick the one most relevant to the current work.
IMPORTANT: The tracking issue must be claimed by this session so the pre-compact hook can find it.
Collect ALL of these:
git status --short | head -20git log --oneline -10git branch --show-currentUpdate the tracking issue with structured notes. The first line MUST be the RESUME directive — this is what post-compact agents see first:
RESUME: <recover-command-for-your-tracker> <ISSUE_ID>
After compact, run the command above FIRST. Do not list all issues or start new work.
## Session Checkpoint
**Session:** <session-id>
**Branch:** <branch>
**Time:** <timestamp>
### What was done
<1-3 bullet summary of session work>
### Active issues
<list of in-progress issues with titles>
### Open issues (created this session)
<any new issues that need future work>
### Recent commits
<last 10 commits>
### Uncommitted changes
<git status>
### Next steps
<what should be picked up next — be specific>
<reference file paths, issue IDs, function names>
### Key context
<anything that would be lost in compaction — design decisions, failed approaches, gotchas>
If the user provided an argument (message), include it as the primary "Next steps" content.
Tell the user:
Multiple sessions share the same repo. The tracking issue is identified by a "claimed by current session" marker. The pre-compact hook searches for issues claimed by the current session — if the issue isn't claimed, the hook can't find it and context is lost.
This skill runs automatically via the pre-compact hook when the user types /compact.
It can also be invoked manually with /checkpoint at any time.
/merge — orthogonal axis. /checkpoint preserves narrative for resume; /merge integrates work back to main. They compose: /checkpoint before /compact, /merge before stopping the workday./complete — different question. /complete audits whether the work is finished; /checkpoint saves the context whether or not it's finished./discuss — /discuss checkpoints to the tracking issue automatically when entering discussion mode; uses the same machinery./recall — recovers checkpoint content in a future session by ID.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub beorn/bearly