wf-preview

wf-preview is a skill for Claude Code, Codex from dioptx/weft. It costs 23 tokens per session (232 once invoked), scanned A, original, MIT.

A command for displaying the full contents of a Weft workflow template. Weft templates describe ordered steps, rules, safety checks, optional steps, and what happens when a step fails.

In plain words
What is it for?
Use it only with /wf-preview to list available templates or examine one template's steps, guards, failure policies, and expected flow.
Why use it?
It lets you inspect a workflow before running it, so you can understand its flow and the conditions that may stop or change it.

Skill for Claude CodeCodex

Part of the weft plugin — 13 skills, 4 hooks 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 skills/dioptx/weft/wf-preview
Any agent
npx skills add dioptx/weft --skill wf-preview
Clone the repo
git clone --depth 1 https://github.com/dioptx/weft

Made for: Claude Code, Codex.

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-preview

README.md
[![agentmods](https://agentmods.dev/badge/skills/dioptx/weft/wf-preview.svg)](https://agentmods.dev/skills/dioptx/weft/wf-preview)
Your own site
<a href="https://agentmods.dev/skills/dioptx/weft/wf-preview"><img src="https://agentmods.dev/badge/skills/dioptx/weft/wf-preview.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 232 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.00023 $0.00232
Opus 5 $0.00012 $0.00116
Sonnet 5 $0.00005 $0.00046
Haiku 4.5 $0.00002 $0.00023

Measured 3d ago against content hash f7f5704ebecc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wf-preview 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.

skills/wf-preview/SKILL.md · 36 lines

What it actually says

Preview Weft Template

Show a detailed view of a workflow template's steps, policies, and guards.

Arguments

$ARGUMENTS

Instructions

  1. If no arguments, list available templates first:

    python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" start
    

    Then ask which one to preview.

  2. Show the detailed preview:

    python3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" preview <template-name>
    
  3. Explain the template to the user:

    • What each step does (from descriptions if available)
    • Which steps have guards and what they block
    • Which steps have non-default on_fail policies
    • Which steps are optional
    • Total step count and expected flow
  4. Suggest: "Use /wf-start <name> to start this workflow."

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 · 36 lines · 23 tokens per session scan A f7f5704ebecc

Subscribe to this mod's changes

wf-preview is a skill published in the GitHub repository dioptx/weft (22 stars, last pushed 18d ago), licensed MIT. It adds 23 tokens to every session and 232 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-30.

Related

Other skills, from other repositories

superpowers-graph

Runs the Superpowers software-development methodology as a guarded state machine — brainstorm, spec, plan, isolated workspace, the per-task implement/review/fix loop, the whole-branch review, and the integration menu — with typed node contracts, total exit guards, bounded retry loops, and a ledger recording every step…

RonMizrahi/superpowers-graph · 134 tokens

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

ideogram-ultra

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.

artokun/comfyui-mcp · 68 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

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens