/dynamic-workflow:dynamic-workflowfrom dynamic-workflow
Use for complex work that benefits from a typed, auditable workflow with validation, compilation, durable trace, review, resume, and summary. The user-facing entry is dynamic-workflow; lifecycle commands are internal phases. Do not use for simple one-step tasks where orchestration costs more than execution.
Ships in dynamic-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when a user asks for a complex task to be decomposed, executed, reviewed, resumed, or summarized with durable evidence. Skip it for simple edits, quick questions, or tasks that cannot be usefully split into typed steps.
SKILL.md.
<skill_dir>/scripts/dw for all CLI operations. The wrapper prefers the bundled runtime at <skill_dir>/runtime/bin/dw.mjs.<skill_dir>/templates/plan.yaml; for non-trivial plans, read <skill_dir>/references/plan.md for the supported step types and fields.
agent.review, agent.synthesize, or agent.execute needs upstream evidence: add consumes entries rather than relying on depends_on alone.command.collect for evidence gathering and optional scans. Use strict command.verify for tests, builds, lint, schema checks, and final acceptance.backend omitted/current and set input.agent_backend: paseo on the agent step. Follow it with strict command.verify because the agent artifact is not proof by itself.command(...), agent.review(...), and StepHandle.output(...) as authoring guidance that captures to manifest IR; do not execute arbitrary JavaScript.<skill_dir>/scripts/dw validate <plan> and fix structured validation errors before execution. Read warning lines too; revise brittle command shapes such as broad rg, nested shell, or optional searches under command.verify.<skill_dir>/scripts/dw compile <plan> and show a concise manifest/risk summary, including warnings when present.dynamic-workflow <task> or a natural-language run request, continue in one user operation through <skill_dir>/scripts/dw run <plan>, then preserve the DW_* transcript markers.status, review, and summarize for the resulting run id. Use resume when continuing an existing run.<skill_dir>/scripts/dw cannot find the bundled runtime, report the missing runtime path instead of reading src/ to infer behavior.depends_on is scheduling only. Use consumes to pass selected artifact context forward.current; explicit codex, claude, acp, or remote backend names fail closed in the MVP..dynamic-workflow/runs/<run_id>/; when --root <dir> is passed, artifacts are written under <dir>/runs/<run_id>/.<skill_dir>/templates/plan.yaml and <skill_dir>/references/plan.md.status, review, summarize, and trace artifacts first; propose a repair plan or resume only after the running session is no longer active or the user asks for intervention.Successful runs print DW_RUN_START, one or more DW_STEP_START / DW_STEP_VERIFY / DW_STEP_DONE groups, DW_REVIEW_START, DW_REVIEW_COMPLETE, and DW_RUN_COMPLETE. Failed runs must surface structured errors and preserve trace files for review.
Use .dynamic-workflow under the current repository by default. Pass --root <dir> only when the user asks for an alternate runtime location or tests need isolation; that alternate root contains its own runs/<run_id>/ directory.
commands/dynamic-workflow.md (opens in a new tab)examples/adversarial-verification.md (opens in a new tab)examples/collect-diagnose-verify.md (opens in a new tab)examples/dataflow-review-summarize.md (opens in a new tab)examples/fan-out-and-synthesize.md (opens in a new tab)examples/loop-until-done.md (opens in a new tab)examples/one-paste-goal.md (opens in a new tab)references/backend-adapters.md (opens in a new tab)references/goal-format.md (opens in a new tab)references/js-harness.md (opens in a new tab)references/permissions.md (opens in a new tab)references/plan.md (opens in a new tab)references/trace-format.md (opens in a new tab)references/workflow-patterns.md (opens in a new tab)runtime/bin/dw.mjs (opens in a new tab)runtime/dist/src/agent-contracts.d.ts (opens in a new tab)runtime/dist/src/agent-contracts.d.ts.map (opens in a new tab)runtime/dist/src/agent-contracts.js (opens in a new tab)runtime/dist/src/agent-contracts.js.map (opens in a new tab)runtime/dist/src/artifacts.d.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (dafang/dynamic-workflow) — no native marketplace selected
npx claudepluginhub p/dafang-dynamic-workflow