resume

resume is a command for Claude Code from synaptiai/synapti-marketplace. It costs 63 tokens per session (2,899 once invoked), scanned A, original, Apache-2.0.

A command that reads saved state from an interrupted FlowRun and suggests the next safe action. A FlowRun is one tracked execution of a workflow.

In plain words
What is it for?
Use it to inspect the most recent interrupted run or a specific run and decide whether to resume it.
Why use it?
It lets you understand where paused or blocked work stopped without automatically continuing it or making the decision for you.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 32 skills, 21 commands, 9 agents shipped together

Good fit Use it to inspect the most recent interrupted run or a specific run and decide whether to resume it.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 32 skills, 21 commands, 9 agents.

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 resume

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/resume/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/resume)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/resume"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/resume/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 resume

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/resume"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,899 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.00063 $0.02899
Opus 5 $0.00032 $0.01450
Sonnet 5 $0.00013 $0.00580
Haiku 4.5 $0.00006 $0.00290

Measured today against content hash 3d06f453ff1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

resume 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 today.

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.

plugins/flow/commands/resume.md · 231 lines

How it starts

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

/flow:resume — pick up an interrupted FlowRun

When a session ends mid-workflow (interrupted, paused, blocked), .flow/runs/<id>/run.yaml persists with state.status: active (or blocked). This command reads that state and tells the user where to resume — without making the resume decision for them.

Required Skills

  • run-state-management — for reading the run document and computing next-action hints.
# Inline the Required Skills above so their rules are in context before the
# first phase runs (commands cannot preload skills from frontmatter). Ambient
# skills load whole; dispatched skills (context: fork / agent:) load their
# `## Contract` section and run in full when this command invokes
# Skill(<name>). Output per `references/command-output-format.md`.
"$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ echo plugins/flow;ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ echo "${__p%/}";break;};done);echo "$__fr")/bin/flow-load-skills.sh" run-state-management

true

Pre-flight

ENABLED=$("$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ echo plugins/flow;ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ echo "${__p%/}";break;};done);echo "$__fr")/bin/cascade-resolve.sh" \
  --default "true" '.flow.runtime.enabled')
if [ "$ENABLED" != "true" ]; then
  echo "flow.runtime.enabled is false — /flow:resume requires the runtime layer." >&2
  exit 0
fi

if [ ! -d .flow/runs ]; then
  echo "No FlowRuns exist (.flow/runs/ not found). Start one via /flow:start, /flow:debug, etc."
  exit 0
fi

Workflow

Step 1: Identify the run

Read the full file on GitHub · 231 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. today Changed · +11 lines 3d06f453ff1a
  2. 7d ago First seen · 220 lines · 63 tokens per session scan A 347852b68c65

Subscribe to this mod's changes

resume is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It adds 63 tokens to every session and 2,899 once invoked, about $0.0003 per session on Opus 5. 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.

Related

Other commands, from other repositories