workflow

workflow is a skill for Claude Code, Codex from xxxoooxoxo/wiff. It costs 70 tokens per session (735 once invoked), scanned A, original, MIT.

A tool for writing and running JavaScript workflows that coordinate several AI coding agents. It supports parallel steps, staged pipelines, monitoring, cancellation, and resuming work later.

In plain words
What is it for?
Parallel code investigation, multi-stage reviews, long-running tasks, and workflows involving Codex, Claude, Cursor, or Kimi agents.
Why use it?
It helps divide large investigations or reviews among agents while keeping the sequence of work predictable and recoverable.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex.

Part of the wiff plugin — 1 skill, 1 MCP server shipped together

Good fit Parallel code investigation, multi-stage reviews, long-running tasks, and workflows involving Codex, Claude, Cursor, or Kimi agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xxxoooxoxo/wiff/workflow
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.

Any agent
npx skills add xxxoooxoxo/wiff --skill workflow
Clone the repo
git clone --depth 1 https://github.com/xxxoooxoxo/wiff

Made for: Claude Code, Codex.

Or install wiff, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/xxxoooxoxo/wiff/workflow/github.svg)](https://agentmods.dev/skills/xxxoooxoxo/wiff/workflow)
Your own site
<a href="https://agentmods.dev/skills/xxxoooxoxo/wiff/workflow"><img src="https://agentmods.dev/badge/skills/xxxoooxoxo/wiff/workflow/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 workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/xxxoooxoxo/wiff/workflow"><img src="https://agentmods.dev/badge/skills/xxxoooxoxo/wiff/workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 735 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.00070 $0.00735
Opus 5.5 $0.00028 $0.00294
Sonnet 5.5 $0.00014 $0.00147
Haiku 4.5 $0.00007 $0.00073

Measured 1mo ago against content hash 51e795de9daf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workflow 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 1mo 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/wiff/skills/workflow/SKILL.md · 42 lines

How it starts

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

wiff

Use workflow code when the plan itself benefits from deterministic branching, parallelism, or resumability. Keep simple one-agent tasks in the current task.

Build and launch

  1. Write a self-contained JavaScript workflow. Start with literal export const meta = { name, description, creator, phases }. Set creator to your own model name so the run is attributed to whoever authored it.
  2. Put all context each child needs in its prompt. Child agents inherit project instructions, not the parent conversation.
  3. Use stable key values for every reusable agent() call.
  4. Wiff automatically applies user preferences from ~/.wiff/config.json and project preferences from <cwd>/.wiff/config.json; do not duplicate those instructions in child prompts.
  5. Prefix a Codex agent prompt with /goal when that stage must continue across turns until its objective is complete. Give the whole goal stage an appropriate timeoutMs.
  6. Launch with workflow_start. Always pass the caller's absolute working directory as cwd. Record the returned run id; execution is owned by a persistent local daemon and survives this MCP bridge or parent harness exiting.
  7. Call workflow_wait until the run reaches completed, failed, or cancelled while the parent remains available. If the parent must end, report the run id so another client can reconnect. Inspect runPath and journalPath when diagnosing failure.
  8. Resume failed or interrupted work with workflow_start({ resumeFromRunId }). Completed calls with unchanged keys and inputs are replayed from the journal.
  9. Use workflow_models before choosing a non-default backend or model when availability is uncertain.

Read references/api.md before authoring a non-trivial workflow.

Safety

  • Run independent analysis with sandbox: "read-only" in parallel.
  • Serialize agents writing to one checkout, or give concurrent writers isolation: "worktree".
  • Claude, Cursor, and Kimi workspace-write agents require isolation: "worktree".
  • Do not treat a failed agent as success. parallel() and pipeline() fail the run unless the script explicitly uses parallelSettled() and handles every rejection.
  • Prefer gpt-5.6-sol. Use low effort for mechanical inventory, medium for ordinary implementation, and high or xhigh only for the few review or synthesis turns that need it. Reserve gpt-6-astra (up to ultra effort) and claude-fable-5-1 for the hardest turns.
  • Set a task-specific timeoutMs when 10 minutes is not appropriate. The timeout covers the executing backend turn; time waiting for a concurrency slot is measured separately.
  • Keep every launched workflow accounted for. Normally wait for a terminal result or cancel it; if the parent must exit, preserve and report the run id for a later watcher.

Read the full file on GitHub · 42 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +1 lines 51e795de9daf
  2. 1mo ago First seen · 41 lines · 70 tokens per session scan A 0604b5a7afe2

Subscribe to this mod's changes

workflow is a skill published in the GitHub repository xxxoooxoxo/wiff (5 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 735 once invoked, about $0.0003 per session on Opus 5.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.