workflow
БесплатноБез исполняемых скриптовНе проверенReusable procedures for MOOLLM. A workflow is a prototype of steps with actors, dependencies, verification, approval gates and parallel legs; running it…
от SimHacker★ 63 звезды на GitHubОб этом скилле
Workflow 🔁
Part of MOOLLM · This skill's directory
A workflow is a procedure worth repeating. It says what the steps are, who or what does each one, what each step needs first, how you know a step is done, where a human signs off, and what can run in parallel.
The workflow file is a prototype. Running it clones the prototype into an instance directory and opens one task per step. The tasks carry all run state. The workflow never does. That's what makes a run resumable: a new session, a new model, or a different person runs FRONTIER over the instance and picks up where things stand.
Do it by hand three times, then lift it
Don't design workflows up front. Do the work by hand, as tasks, and keep the histories. When the same sequence shows up the third time, LIFT it: diff the histories, keep the common steps in their common order, turn the parts that varied into inputs. This is the LIFT phase of play-learn-lift applied to work.
A workflow designed before anyone has done the work describes how somebody imagined it would go.
Schema
workflow:
id: release
parent: null # inherit steps from another workflow (Self-style delegation)
inputs:
version: "semver of the release"
platforms: "list: [mac, linux, windows]"
steps:
- id: test
does: "Run the full test suite on main"
actor: tool
verify: "make test"
- id: build
does: "Build {{version}} for {{leg}}"
actor: tool
fan_out: { over: platforms, step: build } # one task per platform, in parallel
requires: [test]
verify: "test -f dist/{{version}}-{{leg}}.tar.gz"
- id: notes
does: "Draft release notes from PRs merged since the last tag"
actor: skill:thoughtful-commitment
requires: [test]
model: fast
verify: "test -s dist/NOTES-{{version}}.md"
- id: approve
does: "Read the notes and the build list; approve or send back"
actor: human
gate: approval
requires: [build, notes] # requiring a fan_out step waits for every leg: the join
- id: publish
does: "Tag and publish"
actor: tool
requires: [approve]
verify: "git rev-parse v{{version}}"
on_fail: escalate
lessons: []
Step fields
does— one imperative sentence.{{slots}}fill from inputs and the fan_out leg.actor—tool,skill:<id>,llm, orhuman. These are cauldron's three delegation tiers (tool, other skill, the LLM itself) plus people. Naming the actor matters: a tool step is cheap and deterministic, an LLM step needs judgment, a human step waits.requires— step ids. Becomes the step task'srequires:with the upstream task'sdone_whenas the verify.verify— becomes the step task'sdone_when. Required, except on human steps, which must say what the human checks.gate: approval— the step's dependents stay unready until a human appends anapprovedevent. This is plan-then-execute inside a workflow.fan_out— one task per item in an input list. Any step that requires the fan_out step waits for every leg, which makes it the join.model— a hint, not a binding:fast,deep, or a model id. See cauldron's MODEL-ROUTING.on_fail—scry(default: read the failing guard, fix the work or the guard, re-run),retry:N, orescalate. Never skip silently (robust-first).
Methods
DEFINE — write a prototype to workflows/<id>.yml, or inside a skill as
skills/<skill>/workflows/<id>.yml. Refuse steps with no verify unless the actor is human and
the step says what gets checked.
LIFT — from three or more task histories or cursor-mirror sessions, extract the common steps and order; variations become inputs. Show the diff before writing.
INSTANTIATE — create the instance directory with a WORKFLOW.yml whose parent: is the
prototype and whose inputs are filled. OPEN one task per step (one per leg for fan_out) with
edges and guards. Report the frontier. The instance's identity is its directory: copy it to fork
a run, move it to rename it.
Refuse to instantiate if any rendered does or verify still contains {{. An unfilled slot
is an error, not text for the executor to interpret. Gas Town's renderer passed
{{#if dry_run}}--dry-run{{/if}} through verbatim, so a purge command meant to be rehearsed has
always run live (#4909). If a step's
safety depends on an input such as a dry-run flag, put that flag in the step's verify so a
dropped flag fails the guard.
STATUS — task FRONTIER over the instance. Done, ready, blocked, and the first failing guard.
AMEND — change one run without changing the procedure: skip a step, add
Установить workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read_filewrite_filerun_terminal_cmdВложенные файлы
FAQ
Что делает скилл workflow?
Reusable procedures for MOOLLM. A workflow is a prototype of steps with actors, dependencies, verification, approval gates and parallel legs; running it clones the prototype into an instance directory and opens one task per step. Use when a sequence of work has been done the same way more than twice, when someone names a procedure to run, or when a finished run should improve the procedure.
Как установить скилл workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic