pause

pause is a command for Claude Code from catlog22/Claude-Code-Workflow. It costs 0 tokens per session (626 once invoked), scanned A, original, MIT.

A command that saves the current work session and exits so it can be continued later.

In plain words
What is it for?
Use it when you need to stop during roadmap discussion or execution and resume from the saved state later.
Why use it?
It preserves the current phase, step, and unfinished tasks instead of losing the session's progress.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when you need to stop during roadmap discussion or execution and resume from the saved state later.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/catlog22/claude-code-workflow/pause
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/catlog22/Claude-Code-Workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pause

README.md
[![agentmods](https://agentmods.dev/badge/commands/catlog22/claude-code-workflow/pause/github.svg)](https://agentmods.dev/commands/catlog22/claude-code-workflow/pause)
Your own site
<a href="https://agentmods.dev/commands/catlog22/claude-code-workflow/pause"><img src="https://agentmods.dev/badge/commands/catlog22/claude-code-workflow/pause/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pause

Your own site · 80×15
<a href="https://agentmods.dev/commands/catlog22/claude-code-workflow/pause"><img src="https://agentmods.dev/badge/commands/catlog22/claude-code-workflow/pause.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00626
Opus 5.5 $0.00000 $0.00250
Sonnet 5.5 $0.00000 $0.00125
Haiku 4.5 $0.00000 $0.00063

Measured 1mo ago against content hash befb7e387e9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pause scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/team-roadmap-dev/roles/coordinator/commands/pause.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Command: pause

Save session state and exit cleanly. Allows resumption later via resume command.

Purpose

Persist the current execution state (phase, step, pending tasks) to state.md so the session can be resumed from exactly where it stopped. This is the coordinator's mechanism for handling user "Stop" requests at phase boundaries or gap closure gates.

When to Use

  • User selects "Stop" at any interactive gate in monitor.md
  • User requests pause during roadmap discussion
  • External interruption requires graceful shutdown

Parameters

Parameter Source Description
sessionFolder From coordinator Session artifact directory
currentPhase From monitor loop Phase number at pause time
currentStep From monitor loop Step within phase (plan/exec/verify/gap_closure)
gapIteration From monitor loop Current gap closure iteration (0 = none)

Execution Steps

Step 1: Capture Current State

const state = Read(`${sessionFolder}/state.md`)
const timestamp = new Date().toISOString().slice(0, 19)

// Capture pending task states
const allTasks = TaskList()
const pendingTasks = allTasks.filter(t =>
  t.status === 'pending' || t.status === 'in_progress'
)

Step 2: Update state.md with Pause Marker

// Find the current phase status line and update it
Edit(`${sessionFolder}/state.md`, {
  old_string: `- Status: in_progress`,
  new_string: `- Status: paused
- Paused At: ${timestamp}
- Paused Phase: ${currentPhase}
- Paused Step: ${currentStep}
- Gap Iteration: ${gapIteration}
- Pending Tasks: ${pendingTasks.map(t => t.subject).join(', ')}`
})

Step 3: Log Pause Event

mcp__ccw-tools__team_msg({
  operation: "log", session_id: sessionId,
  from: "coordinator", to: "all",
  type: "phase_paused",
  data: { ref: `${sessionFolder}/state.md` }
})

Step 4: Report to User

// Output pause summary
const summary = `[coordinator] Session paused.
- Phase: ${currentPhase}
- Step: ${currentStep}
- Gap Iteration: ${gapIteration}
- Pending Tasks: ${pendingTasks.length}

To resume: Skill(skill="team-roadmap-dev", args="--resume ${sessionFolder}")
`

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 91 lines · 0 tokens per session scan A befb7e387e9f

Subscribe to this mod's changes

pause is a command published in the GitHub repository catlog22/Claude-Code-Workflow (2,123 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 626 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.