/ai-literacy-superpowers:dynamic-workflowsfrom ai-literacy-superpowers
Guides the creation of ephemeral multi-agent workflows (dynamic workflows) for tasks that are long-running, parallel, or structured. Describes six patterns, an election rubric, and two governance invariants.
Ships in ai-literacy-superpowers. 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.
A dynamic workflow is a self-authored, ephemeral multi-agent harness:
a small program an agent writes for one task, runs once, and discards. It
spawns subagents, gives each its own clean context window and model tier,
optionally isolates them in worktrees, and coordinates their results. The
capability and its patterns originate from Anthropic's "A harness for
every task: dynamic workflows in Claude Code" (Shihipar & Bidasaria,
2026); the runtime is triggered by the word ultracode.
This skill is knowledge agents read, not a script they run — a
sibling of harness-engineering and
context-engineering. It answers three
questions before any workflow is authored:
references/when-not-to-use.md.references/patterns.md.references/governance.md.Dynamic workflows are a Claude Code runtime capability and are not transferable to GitHub Copilot CLI or any other coding agent — those trees have no workflow runtime. This plugin ships to both the Claude Code and Copilot CLI trees, so this skill is knowledge everywhere, runtime only on Claude Code:
Read the rest of this skill as a reasoning model that applies everywhere; act on it as a runtime only where Claude Code provides one.
The plugin is, by default, a static harness: a fixed pipeline
(spec-writer → GATE → tdd-agent → implementer → code-reviewer → GUARDRAIL → integration-agent) that must work for every task and
therefore tends toward the generic. A static harness is the right tool
for ordinary coding work, and it stays the default.
A dynamic workflow is the opposite: generated per task, disposable, and able to hand each subagent a clean context window. That shape defeats three failure modes the static pipeline is exposed to when one context does too much:
| Failure mode | What it looks like |
|---|---|
| Agentic laziness | Declaring a multi-part job done after partial progress (35 of 50 constraints checked) |
| Self-preferential bias | An agent preferring its own output when asked to verify or judge it |
| Goal drift | Losing fidelity to the original objective across turns, worsened by lossy compaction |
Dynamic workflows are a new execution substrate beneath the existing agents — they do not replace them, and they do not weaken governance.
Authored workflows compose six patterns. Each is worked through with a
concrete micro-example in references/patterns.md;
in brief:
Workflows cost more tokens and suit complex, high-value tasks. Most
coding tasks do not need a panel of reviewers. Before authoring one, run
the four-question rubric in
references/when-not-to-use.md: is the
task long-running, massively parallel, highly structured, or
adversarial? If none apply, use the static pipeline. A workflow should
be elected, never reflexive — over-orchestration is treated as a
regression.
Token budgets and model-tier routing for elected workflows live in the
project's MODEL_ROUTING.md (the workflow election section).
Both are stated in full, for agents, in
references/governance.md:
HARNESS.md, AGENTS.md, CLAUDE.md, and MODEL_ROUTING.md
are durable and human-curated. A workflow may propose changes to
them but may never write them directly. Discoveries flow through
REFLECTION_LOG.md → human curates → AGENTS.md.A library of opinionated, habitat-aligned workflow templates ships with
this skill under workflows/. They are templates to adapt
per task, never scripts to run verbatim — each carries a literate
preamble stating its pattern, its token budget and per-role model tiers,
and the INV-1 boundary it respects. Adapt the prompts, model tiers, and
budgets to your task, and confirm the runtime primitives against the live
workflow documentation before
running.
| Template | Pattern | Use it for |
|---|---|---|
workflows/enforcer-fanout.workflow.js | fan-out-and-synthesize + adversarial verification | One verifier subagent per harness constraint, skeptic-filtered — defeats the "35 of 50 checked" lazy stop |
workflows/adversarial-review.workflow.js | adversarial verification | Review in a context distinct from the implementer's — one verifier per CUPID/literate property |
workflows/reflection-mining.workflow.js | generate-and-filter + adversarial verification | Cluster reflections, vet candidates, shortlist promotions for a human (never writes durable memory) |
workflows/deep-assessment.workflow.js | fan-out-and-synthesize + adversarial verification | Long repo scans (assessment/audit) — fan out by area, verify each finding, synthesise a cited report |
Every template honours both invariants: it proposes, it never writes a
durable artefact (INV-1), and any untrusted-content reader is quarantined
from high-privilege tools (INV-2). The deterministic firewall at the plugin
root (ai-literacy-superpowers/scripts/inv-firewall.sh) enforces both on
every template at PR time.
references/governance.md (opens in a new tab)references/patterns.md (opens in a new tab)references/when-not-to-use.md (opens in a new tab)workflows/adversarial-review.workflow.js (opens in a new tab)workflows/deep-assessment.workflow.js (opens in a new tab)workflows/enforcer-fanout.workflow.js (opens in a new tab)workflows/package.json (opens in a new tab)workflows/reflection-mining.workflow.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 plugins ship this exact skill · first indexed Jul 17, 2026
41 skills in this plugin
/advocatus-diaboliUse when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what was not challenged/ai-literacy-assessmentThis skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to determine their team's AI literacy level using the ALCI instrument./auto-enforcer-actionUse when setting up automatic PR constraint enforcement via GitHub Actions — covers the advisory-vs-blocking split, workflow installation, configuration options, and reading the outputnpx claudepluginhub habitat-thinking/ai-literacy-superpowers --plugin ai-literacy-superpowersOther plugins' skills for the same job