git clone --depth 1 https://github.com/dongshuyan/compass-skills /tmp/pause-and-resume && cp -r /tmp/pause-and-resume/skills/pause-and-resume ~/.claude/skills/pause-and-resumeSKILL.md
# Pause and Resume Keep this workflow in the current session. Store its state in the pause response; do not create files, commits, or new tasks solely to checkpoint it. ## Pause 1. Stop expanding the task. Do not begin another subtask, retry, or optional check. 2. Let an already-started atomic action finish only when interruption would leave inconsistent state. Otherwise stop at the nearest safe boundary. Use only the smallest necessary read-only check or already-authorized cleanup to record an accurate, safe state. 3. Preserve facts, not guesses. Distinguish completed, in progress, blocked, and unknown work. Record exact non-sensitive paths, parameters, job IDs, and receipts when they are needed to continue. Never expose secrets. 4. If work continues independently, record its handle, observed status, and how to reconcile it. Do not cancel, restart, or dispatch it again merely to pause. 5. End the turn with the compact checkpoint below, in the user's language. Keep the marker exact, omit irrelevant detail, and state explicitly when there is no known non-repeatable effect. ```text PAUSE_CHECKPOINT: ACTIVE - Goal and done condition: - Completed: - Current stopping point: - Remaining work: - First action on resume: - Do not repeat: - Constraints and settled decisions: - Live state, running work, and facts to recheck: ``` Finish with the equivalent of: `Paused. When you return, say "continue".` Then stop. Do not perform the first resume action in the pause turn. If there is no unfinished task, say so and stop without emitting an active checkpoint. ## Resume When the user later asks to continue the paused work: 1. Use the newest unconsumed `PAUSE_CHECKPOINT: ACTIVE` in this session. A checkpoint is consumed once substantive work has resumed from it. If none exists, interpret the request from the immediate conversation normally. 2. Apply later user instructions over the checkpoint. Recheck only mutable or high-risk state that could have changed while paused, especially files, worktree state, running jobs, and external side effects. 3. Reconcile recorded in-flight work before starting replacements. Never repeat an item under `Do not repeat` unless current evidence proves it did not occur and repeating it is authorized. 4. Resume directly from `First action on resume`, then continue the recorded remaining work. Do not ask the user to restate known context or produce a new plan unless material drift makes a decision necessary. This workflow cannot recover a killed process, missing conversation, or a different session; use a handoff or persistent checkpoint workflow for those cases.
>-
Maintains a repo-local task forest or task DAG for the current workspace. Use when the user asks to initialize or update a task forest, close a session, summarize evolving project work, align a request with a global goal, track progress/history/deviations/todos, save or apply a task proposal, or export the client-readable task-forest HTML. Do not use for executing the tracked tasks themselves or for generic HTML work.
Local user-profile maintenance skill for Codex, Claude Code, OpenClaw, OpenCode, and other agent harnesses. Use only when the user explicitly invokes $user-profile-keeper to create, initialize, update, query, correct, delete, export, or audit a local persistent user profile. It can extract durable collaboration preferences, requirement-expression habits, capability boundaries, recurring omissions, risk preferences, privacy boundaries, and typical events from the current session into auditable, confirmable, retractable local profile data. Do not auto-invoke, upload profile data, or replace task-clarifier's normal clarification flow.
Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session. Use when the user asks for a handoff prompt, restart prompt, continuation prompt, context transfer, fresh-session resume, or a compact summary for opening a new session. Do not use for ordinary summaries, task-forest maintenance, durable user-profile updates, automatic session creation, code execution, or external publishing.
>-
>-
Turn a completed task, browser flow, artifact pipeline, failure-recovery trace, or repeatedly refined workflow into a new reusable skill package or a reviewed skill-design plan. Use when the user asks to make a new skill from real run history, extract a reusable workflow from conversation/logs/files, summarize lessons into a new skill, or produce a plan before writing files. Do not use to upgrade an existing skill or to execute the business workflow itself.
Use real run evidence, validation failures, source drift, platform drift, and user feedback to plan and, only after explicit approval, apply structural upgrades to an existing skill. Use when the user asks to improve an existing skill from recent runs, recurring failures, outdated sources, excessive bloat, changed platform behavior, or validated workflow feedback. Do not use to create a brand-new skill or to execute the business workflow itself.