Saves Plan-Build-Run session state to .continue-here.md for resumption, capturing current phase, plan progress, git status, and blockers from .planning files.
From pbrnpx claudepluginhub sienklogic/plan-build-run --plugin pbrThis skill is limited to using the following tools:
templates/continue-here.md.tmplSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~7,600 tokens. Begin executing Step 1 immediately.
Before ANY tool calls, display this banner:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► PAUSING SESSION ║
╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
You are running the pause skill. Your job is to capture the current session state so the user can resume exactly where they left off in a future conversation. This creates a .continue-here.md handoff file with everything the next session needs.
This skill runs inline (no Task delegation).
Capture everything the next session needs to hit the ground running. The resume skill will read this file cold, with zero prior context. Write it as if you're handing off to a colleague who has never seen this project.
Flag: --checkpoint
If $ARGUMENTS contains --checkpoint:
Read the following files to understand where things stand:
.planning/STATE.md — Current position
╔══════════════════════════════════════════════════════════════╗
║ ERROR ║
╚══════════════════════════════════════════════════════════════╝
No Plan-Build-Run project state found. Nothing to pause.
**To fix:** Run `/pbr:begin` to initialize a project first.
.planning/config.json — Project settings
.planning/ROADMAP.md — Phase overview
From STATE.md, get the current phase number and find its directory:
.planning/phases/Collect the following information:
Scan the current phase directory for SUMMARY.md files:
Also check git log for recent commits:
git log --oneline -20 --since="8 hours ago"
This gives a reasonable window for "this session's work."
Scan for plan files without corresponding SUMMARY.md files:
Check for:
/pbr:discuss)From STATE.md blockers section and any:
Determine the logical next action (same routing logic as /pbr:status):
CRITICAL: Write pause state NOW before displaying confirmation. Do NOT skip this step.
Write the handoff file to the current phase directory:
Path: .planning/phases/{NN}-{phase-name}/.continue-here.md
Content:
Read ${CLAUDE_SKILL_DIR}/templates/continue-here.md.tmpl for the handoff file format. Fill in all {variable} placeholders with actual session data gathered in Steps 1-3.
CRITICAL -- DO NOT SKIP: Update STATE.md frontmatter AND body. Both must be updated atomically.
First, update the STATE.md YAML frontmatter:
last_command: "/pbr:pause"last_activity: {ISO datetime}Then update the Session Continuity section of STATE.md:
### Session Continuity
**Last paused:** {ISO datetime}
**Position:** Phase {N}, Plan {M}
**Continue file:** .planning/phases/{NN}-{phase-name}/.continue-here.md
**Next action:** {suggested command}
If the Session Continuity section doesn't exist, create it at the end of STATE.md.
Reference: skills/shared/commit-planning-docs.md for the standard commit pattern.
If planning.commit_docs: true in config.json:
git add .planning/phases/{NN}-{phase-name}/.continue-here.md
git add .planning/STATE.md
git commit -m "wip(planning): save session state — phase {N} plan {M}"
Commit rules:
wip(planning): prefix for pause commitsDisplay branded confirmation:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► SESSION SAVED ✓ ║
╚══════════════════════════════════════════════════════════════╝
Position: Phase {N} — {phase name}, Plan {M}
Completed: {count} plans this session
Remaining: {count} plans in this phase
╔══════════════════════════════════════════════════════════════╗
║ ▶ NEXT UP ║
╚══════════════════════════════════════════════════════════════╝
**Resume in your next session**
`/pbr:resume`
<sub>`/clear` first → fresh context window</sub>
| Information | Source | Why It Matters |
|---|---|---|
| Phase + plan position | STATE.md | Know where to start |
| Completed work | SUMMARY.md files, git log | Know what's already done |
| Remaining work | Plan files without summaries | Know what's left |
| Decisions | CONTEXT.md, SUMMARY.md | Preserve user preferences |
| Blockers | STATE.md, verification files | Don't repeat failed approaches |
| Next steps | Routing logic | Immediate action on resume |
planning.commit_docs is enabled — the WIP commit preserves the pause state in version control and ensures .continue-here.md is not lost if working tree changes occur