This skill should be used when the user asks to create, review, save, or validate Claude Code dynamic workflows, asks to use the Workflow tool, mentions ultracode, /workflows, saved workflows, background workflow runs, resumable workflow orchestration, or needs to distinguish dynamic JavaScript workflows from workflow-forge static slash-command workflows.
Forge or review Claude Code dynamic workflows: JavaScript orchestration scripts that coordinate many subagents in the background, keep intermediate state in script variables, and return one consolidated result. Use this skill for large-scale audits, migrations, cross-checked research, and adversarial review patterns where the orchestration itself must be readable, repeatable, and resumable inside the same Claude Code session. [DOC]
Do not use this skill for static slash-command workflow definitions. If the
target is a Markdown command, .claude/commands/*.md, or a phase-map prompt
without the Agent SDK Workflow tool or dynamic JavaScript runtime, route to
workflow-forge instead. [EXPLICIT]
Choose a dynamic workflow only when code-held orchestration is the advantage.
| Candidate | Use when | Avoid when |
|---|---|---|
| Subagent | A few focused workers can report summaries back to the main session | Dozens of workers, loop state, or resumable fan-out is required |
| Skill | Reusable instructions or a procedure should load on demand | Runtime branching and intermediate state must live outside context |
| Agent team | Peer sessions need to discuss and coordinate through a shared task list | A script can coordinate fixed fan-out more cheaply and repeatably |
| Dynamic workflow | A JavaScript script should own phases, loops, branching, and cross-checking | The deliverable is a static command, checklist, or small delegation |
v2.1.154 or later for dynamic workflows.v0.3.149 or later when authoring or invoking the
Workflow tool from SDK code. coverage_gap [INFERENCIA]: este número de versión y
los helpers agent()/parallel()/pipeline() NO están documentados en
code.claude.com/docs/en/workflows (2026-06-20); confirmar contra release notes o el
repo del Agent SDK antes de depender de ellos./config, disableWorkflows, managed
settings, or CLAUDE_CODE_DISABLE_WORKFLOWS=1.ultracode only when the selected model exposes xhigh effort.ultracode./effort ultracode only when every substantive task in the session should
be eligible for workflow planning./workflows to .claude/workflows/ for project reuse or
~/.claude/workflows/ for personal reuse.args for saved workflow input such as paths, issue IDs, source lists, or
review criteria./workflows management notes: view phase progress, inspect agents, pause
or resume with p, stop with x, restart an agent with r, and save with
s.Use scripts/compile-dynamic-workflow-forge.py when a structured workflow spec
must be validated or rendered reproducibly.
Run desde la raíz del skill (las rutas son relativas a ese directorio):
cd "$CLAUDE_PLUGIN_ROOT/skills/dynamic-workflow-forge"
python3 scripts/compile-dynamic-workflow-forge.py \
--input scripts/fixtures/dynamic-security-audit.json \
--output /tmp/dynamic-security-audit.mdLoad assets/dynamic-workflow-policy.json for local gate rules,
assets/dynamic-workflow-schema.json for the structured spec shape, and
references/domain-knowledge.md for detailed routing guidance.
/workflows controls, save location, limits, cost
controls, and static-workflow boundary.coverage_gap instead of assuming availability.workflow-forge.coverage_gap./workflows management, saved workflow locations, args, resume scope,
and background behavior are covered.workflow-forge.| Path | Use |
|---|---|
references/domain-knowledge.md | Detailed workflow routing, official behavior, limits, and edge cases |
references/official-source-map.md | Source URLs and checked-date notes |
assets/dynamic-workflow-policy.json | Offline validator policy |
assets/dynamic-workflow-schema.json | Structured spec shape |
assets/workflow-tool-contract.md | Workflow tool field guide and launch contract |
scripts/compile-dynamic-workflow-forge.py | Deterministic spec validator and renderer |
scripts/check.sh | Local positive and negative fixture check |
katas-deterministic-agent-loopkatas-prefix-cachingkatas-session-resume-forkagent()/parallel()/pipeline() no documentados en workflows.md [coverage_gap]. [EXPLICIT]Workflow tool disponible (requiere probe; ver §1 Gate the Runtime). [SUPUESTO]Capas del packet, cargables bajo demanda (disciplina ICM: una capa por vez, nunca todas juntas): references/ guías de profundidad (cargar UNA por etapa) · knowledge/ cuerpo de conocimiento · prompts/ prompts listos · examples/ salida de ejemplo · agents/ subagentes del packet · templates/ plantilla de output · scripts/ automatización local · assets/ recursos estáticos.
e8f986b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.