resume

resume is a command for coding agents from alphabravo-oss/guild. It costs 14 tokens per session (682 once invoked), scanned A, original, MIT.

A command for continuing an interrupted Crew run, where a run is a tracked multi-step agent task. It reads the run's saved files, reports its last state, and restarts the appropriate phase.

In plain words
What is it for?
It is for resuming scouting, planning, worker execution, verification, or debrief phases from the saved data in .crew/runs/.
Why use it?
It avoids losing progress when a long task stops before completion and prevents restarting from the beginning without checking what was already done.

Command

Part of the crew plugin — 5 commands, 3 agents shipped together

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.

agentmods
npx agentmods add commands/alphabravo-oss/guild/resume
Clone the repo
git clone --depth 1 https://github.com/alphabravo-oss/guild

Or install crew, the plugin that ships this one along with the rest of its 5 commands, 3 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/alphabravo-oss/guild/resume.svg)](https://agentmods.dev/commands/alphabravo-oss/guild/resume)
Your own site
<a href="https://agentmods.dev/commands/alphabravo-oss/guild/resume"><img src="https://agentmods.dev/badge/commands/alphabravo-oss/guild/resume.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 682 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00682
Opus 5 $0.00007 $0.00341
Sonnet 5 $0.00003 $0.00136
Haiku 4.5 $0.00001 $0.00068

Measured 3d ago against content hash d01550a60f6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

plugins/crew/commands/resume.md · 57 lines

How it starts

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

Crew Resume

Resume an interrupted crew run from where it left off.

RUN_ID="$ARGUMENTS"

If $ARGUMENTS is empty, list available runs from .crew/runs/ (filter to ones with state.json.status != "completed") and ask the user to pick one.

Steps

  1. Verify the run exists:
test -d ".crew/runs/$RUN_ID" || { echo "No such run: $RUN_ID"; exit 1; }
  1. Read .crew/runs/$RUN_ID/state.json. Inspect status and phase.

  2. Tell the user what state the run is in:

Run <RUN_ID>:
  status: <status>
  phase: <phase>
  intent: <intent>
  last activity: <last journal entry timestamp>
  1. Branch on phase:

    • router — restart from PHASE 1 of /crew:do. Treat as new run with same intent.
    • scout — re-run scout (PHASE 2). Brief may exist partial; scout will overwrite or extend.
    • decide_checkpoint / plan_approval — re-render plan.md if it exists and re-prompt the user (PHASE 4 from /crew:do).
    • worker_execute — re-spawn worker in last known mode with existing brief/plan/reflections/journal as inputs.
    • dual_verification — re-spawn critic + fresh-eyes (PHASE 7 from /crew:do).
    • debrief — read all verdicts and render debrief (PHASE 8 from /crew:do).
    • completed — tell user the run is already done, point them at .crew/runs/<RUN_ID>/.
    • cancelled_at_plan — tell user the run was cancelled, offer to restart with /crew:do.
  2. Update state.json with resumed_at: "<ISO timestamp>" before proceeding.

  3. Read the relevant phase logic from commands/do.md and follow it from that phase forward. You do not have to re-execute earlier phases — trust the on-disk state.

Rules

  • Don't lose work. If existing files (brief.md, plan.md, journal.md) are present, treat them as authoritative. Append, don't overwrite, unless re-running the producing phase.
  • Confirm with user before re-running expensive phases. Scout takes minutes; worker can take much longer. If you're about to re-run something the user might prefer to skip, ask via AskUserQuestion.
  • State.json is the source of truth. Trust it over your own inference.

Read the full file on GitHub · 57 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. 3d ago First seen · 57 lines · 14 tokens per session scan A d01550a60f6f

Subscribe to this mod's changes

resume is a command published in the GitHub repository alphabravo-oss/guild (2 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 682 once invoked, about $0.0001 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-08-31.