/controlflow-claude-code:controlflow-verifyfrom controlflow-claude-code
Adversarially verifies a plan before execution: structural audit, assumption/mirage detection, and executability simulation. Emits APPROVED/NEEDS_REVISION/REJECTED.
Ships in controlflow-claude-code. 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.
Verify a plan before execution. Runs entirely inline in the main conversation context — no plugin subagents are spawned. Because inline review lacks the isolation of a fresh subagent context, this skill is adversarial by construction: it tries to refute the plan and defaults to a flagged finding when uncertain. The goal is to catch mirages and unexecutable plans cheaply, without the token cost of spawning verifier subagents.
Invoke this skill via /controlflow-claude-code:controlflow-verify.
The plan artifact path (default plans/<task-slug>-plan.md). Read it from disk; do not
work from a chat-embedded copy.
| Tier | Phases to run |
|---|---|
| TRIVIAL | skip |
| SMALL | phase 1 |
| MEDIUM | phases 1–2 |
| LARGE | phases 1–3 |
Any unresolved HIGH-impact semantic risk → run all three regardless of tier.
flagged when evidence is insufficient — do not rationalize a pass.Confirm the artifact conforms to schemas/planner.plan.schema.json and
plans/templates/plan-document-template.md:
Status is one of READY_FOR_EXECUTION, ABSTAIN, REPLAN_REQUIRED;
Agent: Planner; Schema Version: 1.2.0; Confidence is numeric.executor_agent from the schema enum; quality gates use only the
five standard values.flowchart TD + sequenceDiagram; each ≤30 lines.Structural failure → NEEDS_REVISION immediately.
Try to refute the plan's factual claims:
See references/mirage-patterns.md for the full mirage taxonomy (P1–P10 presence mirages, A11–A17 absence mirages) and references/verify-phases.md for the detailed phase checklists.
Simulate a fresh executor starting Phase 1 with only the plan in hand:
human_approved_if_required; MEDIUM → safety_clear.Score each applicable checklist item confirmed / uncertain / refuted.
confidence = confirmed_count / total_items_with_any_actionable_question
Write a compact verdict to plans/artifacts/<task-slug>/verify-verdict.md for auditability.
Present the verdict and the findings that justify it to the user before implementation.
references/adversarial-framing.mdreferences/verify-phases.mdreferences/mirage-patterns.mdWhat SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/controlflow-planUse when a repository task needs a high-quality ControlFlow plan before coding — small, medium, or large scope, cross-file edits, risky migrations, architectural uncertainty, or any work that should produce a saved Markdown plan artifact in plans/. Single-sources the plan format from schemas/planner.plan.schema.json and the plan template./controlflow-reviewUse after implementation to review a diff or completed phase. A thin ControlFlow layer over Claude Code's native /code-review: adds plan-vs-implementation scope-drift comparison, evidence discipline, and proactive vulnerability/error search. Does not duplicate native review — delegates mechanical/style review to /code-review.npx claudepluginhub smithbox-ai/controlflow --plugin controlflow-claude-codeOther plugins' skills for the same job