Agent skill

Pause And Resume

by dongshuyan in dongshuyan/compass-skills

Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue.

MITAuto-check passedAgent Workflows

Install Pause And Resume

skills CLI
$ npx skills add dongshuyan/compass-skills --skill pause-and-resume -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dongshuyan/compass-skills pause-and-resume --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dongshuyan/compass-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pause-and-resume .claude/skills/pause-and-resume && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pause-and-resume
GitHub stars
753
Token cost
~763 tokens
SKILL.md length
367 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue.

  • Works in 5 steps: Stop expanding the task. Do not begin… → Let an already-started atomic action… → Preserve facts, not guesses. Distinguish… → …
  • Later says continue
  • SKILL.md covers Pause and Resume
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pause And Resume is an agent skill from dongshuyan/compass-skills. Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue. Use only when the user explicitly requests this pause workflow. Do not use for crashes, app shutdown, new-session handoffs, or ordinary task summaries.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Session handoff. The repository describes itself as: 司南:个性化 AI 任务总控 Skills 系统 /COMPASS: Personal Alignment Skills OS for AI Agents. The licence is MIT.

When your agent uses it

  • Later says continue
  • Explicitly requests this pause workflow
  • New-session handoffs
  • Ordinary task summaries

Example prompts

  • “/pause-and-resume”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Stop expanding the task. Do not begin another subtask, retry, or optional
  2. Let an already-started atomic action finish only when interruption would
  3. Preserve facts, not guesses. Distinguish completed, in progress, blocked,
  4. If work continues independently, record its handle, observed status, and
  5. End the turn with the compact checkpoint below, in the user's language.

What it can do on your machine

Read from SKILL.md and the folder at commit 1b2e556. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pause And Resume loads about 763 tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 367 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~763

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dongshuyan/compass-skills at commit 1b2e556, republished under its MIT licence (© dongshuyan). 367 words, ~763 tokens.

Download SKILL.mdSave it as .claude/skills/pause-and-resume/SKILL.md (or your agent's skills folder).
name
pause-and-resume
description
Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue. Use only when the user explicitly requests this pause workflow. Do not use for crashes, app shutdown, new-session handoffs, or ordinary task summaries.

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.

Show full SKILL.md (160 more words)Show less

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.

© dongshuyan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/pause-and-resume of dongshuyan/compass-skills.

Open the folder on GitHubat commit 1b2e556

Compare with similar skills

Pause And Resume next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pause And Resume compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pause And Resume this skilldongshuyan/compass-skills753—~763Automated safety check: PassMIT
Orca CLIstablyai/orca89k2 repos~593Automated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Paseo Agent Handoffgetpaseo/paseo20k1 repos~606Automated safety check: PassCustom licence
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    89k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paseo Agent Handoff

    getpaseo/paseo

    Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.

    20k GitHub starsUsed in 1 repo~606 tokens
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check: notes
  • Beads

    liwp/again

    A skill your agent uses when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory.

    118 GitHub starsUsed in 6 repos~537 tokens
    Agent WorkflowsAuto-check passed

More from dongshuyan/compass-skills

All 9 skills in this repo
  • Task Forest

    dongshuyan/compass-skills

    Maintains a repo-local task forest or task DAG for the current workspace.

    753 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Run History Skill Builder

    dongshuyan/compass-skills

    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.

    753 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Run History Skill Upgrader

    dongshuyan/compass-skills

    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.

    753 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Session Handoff Prompt

    dongshuyan/compass-skills

    Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session.

    753 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • User Profile Keeper

    dongshuyan/compass-skills

    Local user-profile maintenance skill for Codex, Claude Code, OpenClaw, OpenCode, and other agent harnesses.

    753 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Assess Interview Candidate

    dongshuyan/compass-skills

    根据候选人简历与岗位要求生成可审计的后台评估、简明的候选人介绍、按岗位重要性排列的简历疑点、12–18 道可直接照读的面试题,以及支持重点标记和本机保存的离线 HTML。用于招聘方准备结构化面试、核验岗位能力和记录回答。不要用于求职者模拟面试、私人背景调查、心理或人格诊断、从敏感属性推断表现,或自动录用、淘汰、排序候选人。

    753 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Pause And Resume

What does Pause And Resume do?

Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue. Pause And Resume is an agent skill from dongshuyan/compass-skills. Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue.

When should I use Pause And Resume?

Pause And Resume fits situations like: later says continue; explicitly requests this pause workflow; new-session handoffs; ordinary task summaries.

How do I install Pause And Resume in Claude Code?

Run `npx skills add dongshuyan/compass-skills --skill pause-and-resume -a claude-code`. Or copy the skill folder (skills/pause-and-resume in dongshuyan/compass-skills) into .claude/skills/pause-and-resume in your project. Claude Code loads it when a task matches its description.

How do I install Pause And Resume in Codex?

Run `npx skills add dongshuyan/compass-skills --skill pause-and-resume -a codex`. Or copy the skill folder (skills/pause-and-resume in dongshuyan/compass-skills) into .agents/skills/pause-and-resume in your project. Codex loads it when a task matches its description.

Can I use Pause And Resume in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dongshuyan/compass-skills --skill pause-and-resume -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pause-and-resume, .gemini/skills/pause-and-resume, .github/skills/pause-and-resume and .opencode/skills/pause-and-resume in your project.

What does Pause And Resume need to run?

SKILL.md names no scripts, command-line tools or credentials: Pause And Resume is instructions for the agent only.

Does Pause And Resume access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pause And Resume safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pause And Resume use?

Pause And Resume is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pause And Resume use?

About 763 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pause And Resume?

Skills that share tags, products or a category with Pause And Resume: Orca CLI (stablyai/orca, 89k stars), Beads Task Memory (gastownhall/beads, 28k stars), Session History Search (slopus/happy, 24k stars) and Paseo Agent Handoff (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pause And Resume?

dongshuyan (a GitHub user) maintains it in dongshuyan/compass-skills, which has 753 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 26, 2026.

Source: dongshuyan/compass-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.