workflow-creator
Installation
SKILL.md
[WORKFLOW_CREATOR]
A workflow is a runnable JavaScript orchestrator for Claude Code's Workflow tool: the loops, conditionals, and fan-out are plain deterministic code, and only the leaf agent() calls spend tokens — each in its own fresh context window. Two deliverables, both owned here: the file, in .claude/workflows/<name>.js (project) or ~/.claude/workflows/ (personal), named by its meta.name and never its filename; and the run it produces, whose ledger, live progress, resume keys, and recovery route are as much this skill's territory as the script's syntax.
[01]-[ROUTING]
[REFERENCES]:
- [01]-API: every global, option, cap, and the validation rail — the runtime manual.
- [02]-PATTERNS: orchestration catalog.
- [03]-THROUGHPUT: concurrency economics and cross-run law.
- [04]-RECOVERY: resume, transplant, and reconstruction.
- [05]-EXTERNAL_LANES: codex work lanes, the agy (Gemini) read-only review lane.
- [06]-EXECUTION_STANDARD: stage-prompt demand bar — hostile floor, writer and reviewer law, consumption ladder.
[TEMPLATES]:
- [01]-FAN_OUT: known-list fan-out with a barrier before synthesis.
- [02]-LOOP: unknown-count loop accumulating to a target or budget floor.
- [03]-PIPELINE: ordered stages with no barrier — the default multi-stage shape.
- [04]-RUN_LEDGER: per-run resume record — run ID, scriptPath, args, resume command.