resume

resume is a command for Claude Code from dhslegen/digital-delivery-team. It costs 22 tokens per session (643 once invoked), scanned B, original, MIT.

A command for resuming a Digital Delivery Team project by reading its saved progress file. It reports the project stages, their status, recent activity, and a suggested next step.

In plain words
What is it for?
Checking which delivery stages are pending, active, completed, or stale, and finding the next recommended activity. It is intended for projects tracked through the Digital Delivery Team progress system.
Why use it?
It helps someone continue work after a pause or across sessions without manually reconstructing what has already happened. The command only reads progress and does not change it.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the digital-delivery-team plugin — 13 skills, 21 commands, 9 agents, 8 hooks shipped together

Good fit Checking which delivery stages are pending, active, completed, or stale, and finding the next recommended activity. It is intended for projects tracked through the Digital Delivery Team progress system.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dhslegen/digital-delivery-team/resume
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/dhslegen/digital-delivery-team

Made for: Claude Code.

Or install digital-delivery-team, the plugin that ships this one along with the rest of its 13 skills, 21 commands, 9 agents, 8 hooks.

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/dhslegen/digital-delivery-team/resume/github.svg)](https://agentmods.dev/commands/dhslegen/digital-delivery-team/resume)
Your own site
<a href="https://agentmods.dev/commands/dhslegen/digital-delivery-team/resume"><img src="https://agentmods.dev/badge/commands/dhslegen/digital-delivery-team/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/dhslegen/digital-delivery-team/resume"><img src="https://agentmods.dev/badge/commands/dhslegen/digital-delivery-team/resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 643 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00022 $0.00643
Opus 5 $0.00011 $0.00321
Sonnet 5 $0.00004 $0.00129
Haiku 4.5 $0.00002 $0.00064

Measured 8d ago against content hash 179eced06f8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

resume scanned grade B with 1 finding 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

[ -f "$DDT_PLUGIN_ROOT/bin/aggregate.mjs" ] || DDT_PLUGIN_ROOT=$(cat "${HOME}/.claude/delivery-metrics/.ddt-plugin-root" 2>/dev/null)
commands/resume.md · 65 lines

What it actually says

/resume

显示当前 DDT 项目的阶段进度与下一步建议。适用于跨会话接力或长项目断点续传。


执行

[ -f "$DDT_PLUGIN_ROOT/bin/aggregate.mjs" ] || DDT_PLUGIN_ROOT=$(cat "${HOME}/.claude/delivery-metrics/.ddt-plugin-root" 2>/dev/null)
[ -f "$DDT_PLUGIN_ROOT/bin/aggregate.mjs" ] || DDT_PLUGIN_ROOT="${HOME}/.claude/plugins/marketplaces/digital-delivery-team"
[ -f "$DDT_PLUGIN_ROOT/bin/aggregate.mjs" ] || { echo "❌ DDT plugin root 未解析。可能原因:(1) 插件未安装;(2) shell 中 DDT_PLUGIN_ROOT 指向无效路径,请 unset DDT_PLUGIN_ROOT 后重启会话;(3) 运行 /digital-delivery-team:doctor 自检"; exit 1; }
export DDT_PLUGIN_ROOT
node "$DDT_PLUGIN_ROOT/bin/resume.mjs"

输出

=== DDT Resume ===
项目 ID: proj-xxx
最后活动: 2026-04-28T07:55:00Z(5 分钟前)

阶段进度:
  ✅ prd(2026-04-28T01:00)
  ✅ wbs(2026-04-28T01:30)
  🔄 design(已 12 分钟)
  ⏸ build-web
  ⏸ build-api
  ...

已完成: 2 / 10

=== 下一步建议 ===
🔄 当前在 design 阶段,最近 12 分钟内有活动。
   建议:继续完成 design(产物:docs/arch.md, docs/api-contract.yaml, docs/data-model.md)

状态机

状态 图标 含义
pending 尚未开始
in_progress 🔄 正在进行中
completed 已完成(artifact 文件存在 + agent self-check 通过)
stale ⚠️ in_progress 但 > 30 分钟无活动

与其它命令的关系

  • /resume 只读,不改变进度
  • progress.json 由 hook 自动维护:
    • SessionStart:infer 现有 artifact 文件推断状态
    • UserPromptSubmit:检测到 phase 命令时标 in_progress
    • Stop:每个 turn 结束跑 infer,artifact 出现则标 completed
  • 若进度推断错误,可手动跑 node "$DDT_PLUGIN_ROOT/bin/progress.mjs" --update <phase> <status>

可重入

幂等只读命令,可任意多次调用。

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. 8d ago First seen · 65 lines · 22 tokens per session scan B 179eced06f8d

Subscribe to this mod's changes

resume is a command published in the GitHub repository dhslegen/digital-delivery-team (1 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 643 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.