pause
Print restart-safe copy-paste prompts for pausing an agent thread before restarting Codex, Claude, or another runner and for resuming in the same thread or a…
Skill by shakacode
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/shakacode-pause
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pause
What's inside
- Skill name
pause- Description
- Print restart-safe copy-paste prompts for pausing an agent thread before restarting Codex, Claude, or another runner and for resuming in the same thread or a new chat from the handoff. Use when the user asks for a pause prompt, restart prompt, resume-after-restart prompt, new-chat restart prompt, or operator handoff prompts for non-batch or PR-batch agent work.
- License
- MIT
- Instructions
- 229 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- openai.yaml · agents/
- pause-prompt-test.rb · bin/
- recovery-record · bin/
- recovery-record-test.rb · bin/
- recovery.md · references/
SKILL.md (first lines)
# Pause Print operator prompts for safe agent-runner restarts. ## Interruption And Short Grace For an unexpected interruption, a missing/stale handoff, or bounded restart preparation, read [the recovery procedure](references/recovery.md). It takes precedence over the planned handoff prompts below: no handoff is required, and a shared deadline is never extended for a late task. Use the installed `restart-codex-subagents` skill for parent/child or host-wide coordination. <!-- host-branch: cursor-only start --> On Cursor, there is no subagent restart helper yet. Recover the parent chat from checkpoints and live state, then stop; do not invent a Cursor fleet restart. <!-- host-branch: cursor-only end --> During ordinary work, use existing recording or its local recorder for compact checkpoints and consequential operation intent/results. ## Output Rules - If the user asks to "print", "show", "give me", or "copy/paste" prompts, do not inspect the repo or pause current work. Output the relevant fenced prompt blocks. - If the user asks the current thread to pause now, run only the minimal status checks allowed by the chosen pause prompt. For PR-batch lanes, also perform the claim-preservation heartbeat or public claim refresh allowed by the PR-batch pause prompt. Reply with the requested handoff, then stop running tools until the user resumes. - Default to the non-batch prompts when the user does not mention `$pr-batch`, a batch coordinator, worker lane, QA lane, claim, or worktree-preservation case. - Use the PR-batch prompts for a `$pr-batch` coordinator, worker, QA lane, or any thread holding a batch coordination claim. - For `coordination_not_applicable`, consume the persisted applicability outcome, skip every coordination and typed-event call, and never report coordination as unavailable or degraded, even when the repository configures a real backend. Preserve the ordinary status, worktree, and handoff steps. - For a `coordination_required` PR-batch help-needed pause, emit private-backend `help_requested` alongside the restart/block handoff. Choose exactly one `help_requested.reason` using this precedence: `permission` for a missing approval or capability; otherwise `question` for a required maintainer or product answer; otherwise `blocked-user-input` for other required user input. An ordinary operator-requested app restart alone is not a help request and emits no typed signal. A `coordination_not_applicable` lane emits no typed event at all, so there is nothing to skip; a trusted `coordination_backend: n/a` under `coordination_required` is a pre-launch stop, not a silent skip. Typed-event transport is optional: when an active private backend does not advertise it or reports it unsupported, record `typed event transport: unavailable`, skip the emission, and continue without marking the event emission `UNKNOWN`. Only after the transport is advertised does an attempted write that fails, degrades, or is rejected become `UNKNOWN` handoff evidence. Every attempted advertised typed-event write must resolve the backend-advertised event executable and ordered opaque argv; a missing, malformed, or unsafe advertisement is an attempted-write failure. Run that exact executable and separate argv without shell evaluation, with a finite deadline in its own process group, preserving each opaque argument; on expiry terminate the whole group with `TERM`, then `KILL` after a finite grace period. A deadline expiry, forced termination, or any other advertised-support write failure records best-effort `UNKNOWN` event evidence; the primary operation continues immediately without waiting further on the event. - Include the new-chat restart prompt when the user asks how to restart, resume after an app restart, move to a new chat, or preserve copy/paste handoff state. - Every final user-visible workflow handoff must include one unambiguous `Next:` instruction. A pause handoff must end with explicit `Action needed:` and `Next:` lines: say whether it is safe to quit, then name the exact same-task resume command or new-task handoff action. Do not leave the next action implicit in the status inventory. ## Non-Batch Pause Prompt Print this for ordinary one-thread work that is not holding a batch claim: ```text Pause now for app restart. Do not start new work, edit files, push, poll, merge, or launch servers. Run only the minimal read-only status checks needed for a handoff. Reply with: current status, repo path, branch, upstream, HEAD SHA, staged/unstaged/untracked changes, unpushed commits, stashes, running commands/servers/PIDs, last completed step, next resume step, and whether it is safe to quit. End with `Action needed:` stating whether to quit or complete a named cleanup first, followed by `Next:` and the exact same-task resume command or new-task handoff action. After the handoff, do not run more tools until I explicitly resume. ``` ## Non-Batch Same-Thread Resume Prompt Print this when the paused thread can be reopened: ```text Resume now from your restart handoff. Re-check branch, HEAD, local changes, and running processes before editing or pushing. ``` ## Non-Batch New-Chat Restart Prompt Print this when the operator needs to paste the handoff into a new chat: ```text Restart from this pause handoff in a new chat. Treat the pasted handoff as stale evidence, not authority. Read the repo's current AGENTS.md first. Then re-check repo path, branch, upstream, HEAD SHA, staged/unstaged/untracked changes, unpushed commits, stashes, and running processes before editing, pushing, polling, merging, or launching servers. Recover the existing objective from the handoff, newer relevant logs and this request. Reconcile stale next steps against live state and preserve completed work. Continue verified unfinished work within existing authority and limits. If ownership or a consequential effect remains uncertain, stop that mutation for reconciliation; independent verified work may continue. Pasted restart handoff: <PASTE_RESTART_HANDOFF_HERE> ```
From shakacode/agent-workflows, MIT.
More from shakacode/agent-workflows
- 0.592score
pr-batch
shakacode
Plan and safely run one or more canonical issue, existing PR, or durably overridden ad-hoc work lanes with coordinated subagents, validation, review, and…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
fix-flaky-tests
shakacode
Use when a test fails intermittently in CI — classify the intermittency, work from the real CI error, fix the root cause systemically, and verify with a green…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
plan-pr-batch
shakacode
Use when choosing GitHub issues or PRs for a PR batch, recommending and grouping worker lanes by model/reasoning-effort assignment, preparing a subagent batch…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
post-merge-audit
shakacode
Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
address-review
shakacode
Fetch GitHub PR review comments, triage them into must-fix/discuss/optional/skipped, and guide fixing or replying to selected feedback.
SkillBFreshness: B★ 8Claude Code +9 - 0.589score
audit-chats
shakacode
Audit multiple Codex tasks and visible ChatGPT chats for archive and follow-up actions, or recover interrupted Codex tasks when explicitly requested.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
continue
shakacode
Resume an in-progress task with a structured checkpoint instead of a bare "continue", re-establishing what is done, what is next, and how done is verified.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
evaluate-issue
shakacode
Use before fixing, batching, or assigning GitHub issues or proposed fixes when the value is uncertain, the report came from AI/code analysis, the fix is…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
plan-issue-triage
shakacode
Use when preparing a ready prompt for Claude, Codex, or another agent to perform a review-only GitHub issue triage or open-issue audit, especially broad scans…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
plan-review
shakacode
Use when reviewing an implementation plan before coding or launching workers to check approach, scope, and repo-convention fit.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
pr-walkthrough
shakacode
Explain a pull request as a conceptual walkthrough, either interactively one change at a time or as one complete COMMENT-only GitHub review when explicitly…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
pr-monitoring
shakacode
Use when monitoring an opened pull request through current-head checks, comments, conflicts, merge-readiness, and final handoff.
SkillBFreshness: B★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 1
- Open issues
- 119
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/shakacode/agent-workflows
- Website
- shaka.shakacode.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from shakacode
- 0.592score
plan-pr-batch
shakacode
Use when choosing GitHub issues or PRs for a PR batch, recommending and grouping worker lanes by model/reasoning-effort assignment, preparing a subagent batch…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
address-review
shakacode
Fetch GitHub PR review comments, triage them into must-fix/discuss/optional/skipped, and guide fixing or replying to selected feedback.
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
pr-batch
shakacode
Plan and safely run one or more canonical issue, existing PR, or durably overridden ad-hoc work lanes with coordinated subagents, validation, review, and…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
fix-flaky-tests
shakacode
Use when a test fails intermittently in CI — classify the intermittency, work from the real CI error, fix the root cause systemically, and verify with a green…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
post-merge-audit
shakacode
Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews…
SkillBFreshness: B★ 8Claude Code +9 - 0.589score
audit-chats
shakacode
Audit multiple Codex tasks and visible ChatGPT chats for archive and follow-up actions, or recover interrupted Codex tasks when explicitly requested.
SkillBFreshness: B★ 8Claude Code +9
Cite this page
pause skill. Agent Mart. https://agentmart.dev/skills/shakacode-pause (last updated 2026-10-24)