wf-resume

wf-resume is a skill for Claude Code from dioptx/weft. It costs 37 tokens per session (398 once invoked), scanned A, original, MIT.

A resume command for a Weft workflow that stopped at a human decision point while running unattended.

In plain words
What is it for?
Checking why a workflow is waiting, resolving the issue it reported, and resuming it from the stopped step.
Why use it?
It lets a parked workflow continue after you fix the reported problem or answer its question, without starting the workflow again.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 weft plugin — 13 skills, 4 hooks shipped together

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 dioptx/weft
Claude Code
/plugin install weft

Made for: Claude Code.

Or install weft, the plugin that ships this one along with the rest of its 13 skills, 4 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 wf-resume

README.md
[![agentmods](https://agentmods.dev/badge/skills/dioptx/weft/wf-resume.svg)](https://agentmods.dev/skills/dioptx/weft/wf-resume)
Your own site
<a href="https://agentmods.dev/skills/dioptx/weft/wf-resume"><img src="https://agentmods.dev/badge/skills/dioptx/weft/wf-resume.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 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.1 $0.00037 $0.00398
Opus 5 $0.00018 $0.00199
Sonnet 5 $0.00007 $0.00080
Haiku 4.5 $0.00004 $0.00040

Measured 6d ago against content hash 104733a7e0b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

wf-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 6d 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.

skills/wf-resume/SKILL.md · 45 lines

What it actually says

Resume a Parked Weft Workflow

When weft runs unattended (WEFT_UNATTENDED=1, e.g. via shim) and a step's on_fail: block gate fires, the workflow parks in waiting and emits wf.needs_human instead of failing/hanging. The detached session stops cleanly. This skill resumes it once you've resolved the gate.

Steps

  1. See what it's waiting on:
python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" status --json

Look for "status": "waiting". The most recent wf.needs_human event names the parked step and the reason:

python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" query --type wf.needs_human --last 1
  1. Resolve whatever the gate flagged (fix the code, answer the question, etc.).

  2. Resume — flips the workflow back to running at the parked step:

python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" resume "<what you resolved>"
  1. Advance the (now running) step as normal with /wf-step complete (or /wf-run-step if it has an executor).

Notes

  • resume only works on a waiting workflow; it errors otherwise.
  • waiting is a valid stop state, so a parked workflow never blocks a session from ending.
  • It survives weft rebuild (replayed from wf.needs_human / wf.resumed).
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. 6d ago First seen · 45 lines · 37 tokens per session scan A 104733a7e0b0

Subscribe to this mod's changes

wf-resume is a skill published in the GitHub repository dioptx/weft (24 stars, last pushed 21d ago), licensed MIT. It adds 37 tokens to every session and 398 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

development

开发语言能力索引。Python、Go、Rust、TypeScript、Java、C++、Shell。当用户提到编程、开发、代码、语言时路由到此。.

fengshao1227/ccg-workflow · 41 tokens

tencent-docs

腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill。支持能力:(1) 创建各类在线文档(文档/Word/Excel/幻灯片/思维导图/流程图/智能表格/收集表)(2) 管理知识库空间(创建空间、查询空间列表)(3) 管理空间节点、文件夹结构 (4) 读取/搜索文档内容 (5) 编辑操作智能表 (6) 编辑操作在线文档 (7) 文件管理(重命名、移动、删除、复制、导入导出)(8) 网页剪藏、本地文件/文档上云。.

UnicomAI/wanwu · 209 tokens

post-build-flow

Handles workflow verification and setup after build-workflow succeeds, or when the message contains workflow-verification-follow-up or workflow-setup-required. Load after direct builds, when verificationReadiness requires action, or on orchestrator verify/setup follow-up turns.

n8n-io/n8n · 53 tokens

n8n:reproduce-bug

Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.

n8n-io/n8n · 41 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens