/agent-workflow-amplifiers:devils-advocatefrom agent-workflow-amplifiers
Adversarially critiques a proposal by generating alternatives through parallel critics (pragmatist, paranoid, architect) then synthesizing a ranked recommendation. Use before committing to plans, fixes, or scoping decisions.
Ships in agent-workflow-amplifiers. 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.
None: SKILL.md is the whole skill.
/contract
When a proposal — a plan, fix, decomposition, scoping, or named recommendation — will drive user decisions, file edits, or commits, do NOT act on it as-given. Run a devils-advocate critique wave before acting, and use the recommendation as input to the decision.
Wave 2 — Parallel critics (3 fixed lenses + 1 conditional, independent):
subagent_type: "research-agent" (mechanically locked to Read/Grep/Glob/WebFetch/WebSearch — cannot Edit/Write/commit). Each critic receives ONLY the proposal + goal + ONE lens:
{lens, alternative, tradeoff, strength} where strength ∈ {weak, medium, strong} reflects the critic's confidence that its alternative beats the original.research-agent base, receiving ONLY the proposal + goal + the steelman lens — the closed input set of step 2 is unchanged, and no critic ever sees another critic's output.
{strengthened_original, gaps_filled, weak_claims_dropped} — deliberately not the {lens, alternative, tradeoff, strength} shape. It is an annotation on the original, never a competing option, so it does not enter the ranking as a 5th candidate and does not carry a strength score.Invariant (why steelman sits inside Wave 2, not before it): a steelman is by construction the proposer's reasoning and evidence, reconstructed and amplified — the single most anchoring artifact obtainable. Routing it upstream of the other critics would hand them a hardened target and violate step 1's prohibition, converting invention into rebuttal. Keeping it a peer in the parallel wave preserves critic independence, which is what makes convergence (Wave 3.5) and dissent (Wave 3) informative at all. Never promote it to a pre-wave.
Wave 3 — Synthesis (sequential, single agent):
original is judged, it does not add an option.dissent = true when ≥2 critics returned strong alternatives disagreeing with the recommendation — signals the synthesizer is overruling well-argued dissent, so confidence is low. Include a dissent_note summarizing the strongest counter-argument.Wave 3.5 — Composition-boundary check (fires on convergence):
Critics that converge may all have evaluated the proposal in artifact-isolation — none read the boundaries where it composes with siblings. A convergent verdict reached in isolation can be confidently wrong (e.g., critics agree on a UI glyph asserting visual continuity, but none saw that parallel-branch flushes reorder it). When the synthesis recommendation is convergent — recommendation ≠ original with ≥2 critics having returned the same alternative — dispatch ONE context-injection verifier (subagent_type: "research-agent" — Read/Grep/Glob/WebFetch only, no Edit/commit) BEFORE surfacing:
CONFIRMED only if the recommendation survives all three; otherwise OVERRIDE: <specific boundary condition that breaks it>. (These verdicts are internal to Wave 3.5 — distinct from shadow-verify's verifier verdict vocabulary.)Until the verifier returns CONFIRMED, the convergent recommendation is a candidate, not a recommendation. On OVERRIDE, fold the named condition into the matrix and re-rank. Cap: if OVERRIDE recurs after 2 re-ranks, escalate the full composition failure to the user rather than cycling further — the matrix cannot resolve a boundary violation on its own.
Scope guard: skip when the proposal is purely local with no composition surface, or is anchored to an external referent that survives independently of the system. Does not fire when dissent = true — that path surfaces the matrix directly; adding a Wave 3.5 gate on already-uncertain output adds friction without signal. Fires once per convergent verdict, not per critic.
Merge + surface:
original → the proposal survived critique; proceed with it. With a steelman annotation present, the strengthened form is what survived and is therefore what you proceed with — it is the artifact Wave 3 actually scored, and executing the verbatim text instead would run a version that never won: one that can omit a prerequisite the steelman made explicit, or reinstate a claim it dropped as indefensible. Rank and execute must name the same artifact. Surface it as the strengthened version, with gaps_filled (assumptions the proposal depends on but never stated) and weak_claims_dropped (claims too weak to defend) shown as an explicit delta against what the user wrote, so they can see exactly what changed and reject it if they disagree. The substitution must be visible, never silent — do not present strengthened text as if it were the user's verbatim proposal. With no steelman annotation, original is the verbatim proposal and proceeds unchanged.original, dissent = false, ≥2 critics returned the same alternative → convergent path: run Wave 3.5, then surface the alternative with rationale (on OVERRIDE, re-rank first) before acting.original, dissent = false, only 1 critic backed the winner → no convergence to guard: surface the alternative with rationale directly (Wave 3.5 does not fire).dissent = true → present the matrix to the user; do not act. Confidence is low.When to invoke: Any time a proposal, plan, root-cause + fix, decomposition, or named recommendation will drive user decisions, file edits, commits, or external side-effects. Especially useful when the proposal "feels right" — that's when alternative-generation has the highest value.
Skip when:
/diagnose's hypothesis ranking does not need a second opinion on its hypotheses — though the final fix it produces can still benefit).Three fixed adversarial lenses always run, plus the conditional steelman; domain-specific lens packs (software-perf, research-methodology, business-risk) are V2 work. When the proposal's domain is clear, the synthesis agent may weight dimensions accordingly — but the critic lenses themselves remain fixed.
| Lens | Typical alternatives it surfaces |
|---|---|
| pragmatist | narrower scope, simpler implementation, reuse-over-build |
| paranoid | smaller blast radius, reversibility, guardrails, staged rollout |
| architect | systemic fix one level up, targeted fix one level down, different subsystem ownership |
| steelman (conditional) | no alternative — returns the original at its strongest, plus the unstated assumptions it depends on and the weak claims worth dropping |
Note that the three adversarial lenses are all oppositional: each asks some form of "what would be better?" The steelman is the only lens that moves the other way, which is why it returns a different shape and is scored differently. If a future lens pack adds more stances, check which direction each one points before assuming it can reuse the {alternative, tradeoff, strength} contract.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub griffinwork40/agent-framework --plugin agent-workflow-amplifiers25 skills in this plugin
/agentifyBootstraps a dispatchable Claude sub-agent skill for every coding agent CLI installed on this machine (codex, aider, cursor, etc.). Use when the user wants to delegate tasks to locally-installed agent CLIs or expand the plugin's agent fleet./appmapMap a web UI and generate a Claude automation skill via parallel reconnaissance, synthesis, and iterative validation./automateSet up a scheduled headless Claude run that sends summaries to Telegram. Use when the user wants to automate a recurring task via launchd (macOS) with push-notified results.Other plugins' skills for the same job