workflow-builder

workflow-builder is a skill for Claude Code, Codex from Jeomon/Operator-Use. It costs 62 tokens per session (2,699 once invoked), scanned A, original, MIT.

A tool for creating Python workflow files with the Operator workflow language. It provides patterns for splitting work, combining results, checking outputs, filtering candidates, running tournaments, and repeating steps until a condition is met.

In plain words
What is it for?
Building repeatable multi-step workflows that call agents, classify inputs, process items concurrently, combine answers, or verify generated results.
Why use it?
It removes the need to design the workflow structure and runtime calls from scratch. The generated file follows the expected format and can be saved for running later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Building repeatable multi-step workflows that call agents, classify inputs, process items concurrently, combine answers, or verify generated results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeomon/operator-use/workflow-builder
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 Jeomon/Operator-Use --skill workflow-builder
Clone the repo
git clone --depth 1 https://github.com/Jeomon/Operator-Use

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeomon/operator-use/workflow-builder"><img src="https://agentmods.dev/badge/skills/jeomon/operator-use/workflow-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,699 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.00062 $0.02699
Opus 5.5 $0.00025 $0.01080
Sonnet 5.5 $0.00012 $0.00540
Haiku 4.5 $0.00006 $0.00270

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

Security

Grade A, and why

workflow-builder 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 2mo 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.

operator_use/builtins/skills/workflow-builder/SKILL.md · 326 lines

How it starts

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

Workflow Builder

When the user asks you to create, build, or generate a workflow, use this skill to produce a correct .py workflow file and save it to the workflows directory.

Workflow file format

Every workflow file has:

  1. A top-level meta dict with name, description, when_to_use, and optional phases list.
  2. An async def run() entry point.
  3. DSL globals injected at runtime — never import them.

Available DSL globals:

Global Purpose
await agent(prompt, schema=None, system=None, tools=None, resume=False, stall_ms=180000, max_retries=5, model=None, provider=None) Full subagent turn with tool execution. Returns str or Pydantic instance.
await classify(prompt, *, options=None, schema=None, system=None, model=None, provider=None) Single direct LLM call — no tool loop. Use for routing/labelling. Returns str (options) or Pydantic instance (schema).
await parallel(*thunks, concurrency=5, return_exceptions=False) Run zero-arg async callables concurrently.
await pipeline(items, *stages, concurrency=5) Pass each item through staged transforms.
await workflow(name, args=None) Run another workflow inline (one level deep).
async with phase("name"): Label the current phase in run status.
log("message") Append timestamped line to run log.
budget .spent() / .remaining() / .exhausted() / .tokens_spent() — call count + token tracking.
args dict of invocation arguments.

Pattern catalogue

Pick the right pattern based on the user's description. Generate the full .py file for the chosen pattern.


1. Classify-and-act

Route input to specialized handlers based on a cheap single-call classification.

meta = {
    "name": "classify-and-act",
    "description": "Route a task to a specialized handler based on its type.",
    "when_to_use": "Input could be one of several distinct task types each needing different handling.",
    "phases": [
        {"name": "classify", "description": "Determine task type"},
        {"name": "execute",  "description": "Run the appropriate handler"},
    ],
}

async def run():
    task = args.get("task", "")

    async with phase("classify"):
        kind = await classify(
            f"Classify this task into one category.\nTask: {task}",
            options=["research", "code", "summarize", "other"],
            model="claude-haiku-4-5",
        )
        log(f"classified as: {kind}")

    async with phase("execute"):
        if kind == "research":
            return await agent(f"Research the following thoroughly:\n{task}")
        elif kind == "code":
            return await agent(f"Write code to accomplish:\n{task}")
        elif kind == "summarize":
            return await agent(f"Summarize the following:\n{task}")
        else:
            return await agent(task)

Read the full file on GitHub · 326 lines

Files

What ships with it

5 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. 2mo ago First seen · 326 lines · 62 tokens per session scan A 6d2ba960b946

Subscribe to this mod's changes

workflow-builder is a skill published in the GitHub repository Jeomon/Operator-Use (42 stars, last pushed 5mo ago), licensed MIT. It adds 62 tokens to every session and 2,699 once invoked, about $0.0002 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-30.

Related

workflow-builder compared with skills from other repositories

workflow-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workflow-builderJeomon/Operator-UseSkill425mo agoMITA62Claude Code, Codex
unbrowseunbrowse-ai/unbrowseSkill9023d agoMITA48Claude Code
unbrowseunbrowse-ai/unbrowseSkill9023d agoMITA48Claude Code, Codex
unbrowse-contributeunbrowse-ai/unbrowseSkill9023d agoMITA145Claude Code
lobu-operatorlobu-ai/lobuSkill233yesterdayApache-2.0A0Claude Code, Codex
ai-deployagent-sandbox/agent-sandboxSkill2308d agoApache-2.0A59Claude Code, Codex
e2bagent-sandbox/agent-sandboxSkill2308d agoApache-2.0A42Claude Code