Borrowing it
Nothing to install: this file belongs to dancing-bear-show/dancing-bear. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dancing-bear-show/dancing-bear/main/.claude/skills/write-workflow/SKILL.mdgit clone --depth 1 https://github.com/dancing-bear-show/dancing-bearWrote 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.
[](https://agentmods.dev/skills/dancing-bear-show/dancing-bear/write-workflow)<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/write-workflow"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/write-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.
<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/write-workflow"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/write-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.04393 |
| Opus 5.5 | $0.00020 | $0.01757 |
| Sonnet 5.5 | $0.00010 | $0.00879 |
| Haiku 4.5 | $0.00005 | $0.00439 |
Grade A, and why
write-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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 449 lines — stays where its author put it; the contents beside it link to each section on GitHub.
write-workflow
Author a new workflow YAML from a plain-language description. Interviews the user for requirements, drafts a well-formed YAML that follows project conventions, validates it with the workflow engine, and writes the final file.
When to Use
- User says "write a workflow for X", "create a workflow that does Y", "I want a workflow to Z"
- User wants to automate a multi-step task as a reusable YAML pipeline
- User needs a new entry in
workflows/that integrates with the/workflowskill
Relationship to the workflow-author agent
This repo also defines a workflow-author agent (.claude/agents/workflow-author.md). Use this skill for interactive authoring in the current session; delegate to the agent when workflow authoring is one step inside a larger task and you want it done out-of-context.
Step 1 — Interview
Ask the user (or infer from their request) the following. If the initial request already carries enough detail, infer the answers and skip asking.
-
Name: short kebab-case identifier (e.g.
mail-label-audit,resume-render-sweep) -
Description: what does this workflow do in one sentence?
-
Trigger params: what inputs must the user supply at run time? (e.g.
source_root,pr_number,min_coverage). List each param and what it represents. -
Stages: what are the logical steps? For each stage, infer:
- What kind of work is it? (gather / propose / execute / validate / publish / sub-workflow — see guide below)
- Which agent role fits best? (see role guide below)
- Does it depend on the output of an earlier stage?
- Should a human review and approve the output before the workflow continues? (→
human_gate: true)
-
Fan-out: does any stage need to run once per item in a dynamic list (e.g. once per file, once per directory group)?
-
Existing fragments: should any shared fragment from
workflows/shared/be included?Available fragments (pick any that fit the workflow shape). Each fragment's header comment documents its expected
prefix, the stage names it injects, and thetrigger.paramsthe caller must set — read the file before including it.
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.
- yesterday First seen · 449 lines · 51 tokens per session scan A 351c34da68c9
write-workflow is a skill published in the GitHub repository dancing-bear-show/dancing-bear (7 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 4,393 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-11-07.
write-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-workflowdancing-bear-show/dancing-bear | Skill | 7 | yesterday | MIT | A | 51 | Claude Code |
| gogolafkfreund/nixos_config | Skill | 32 | yesterday | GPL-3.0 | A | 125 | Claude Code, Codex |
| google-workspace-authbobmatnyc/claude-mpm | Skill | 158 | 2mo ago | none | A | 22 | Claude Code |
| outlook-mcpmpalermiti/outlook-mcp | Skill | 41 | 2d ago | MIT | A | 96 | Claude Code, Codex |
| olkrlrghb/olkcli | Skill | 23 | 14d ago | MIT | A | 28 | Claude Code, Codex |
| ghealthGoogle-Health-API/google-health-cli | Skill | 281 | 4mo ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| ghealth-sharedGoogle-Health-API/google-health-cli | Skill | 281 | 4mo ago | Apache-2.0 | A | 22 | Claude Code, Codex |