/agent-workflow-engineering:gating-by-blind-restorationfrom Agent Workflow Engineering
Spawns an isolated sub-agent to reconstruct an adjacent layer from a spec, schema, or artifact, returning pass/weak-pass/fail. Use to validate self-sufficiency and prevent self-grading.
Ships in Agent Workflow Engineering. 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.
Check that an abstraction layer carries enough recoverable structure by testing reconstruction under a strict information firewall — not by self-review. The gate's authority comes from two things: the grader never saw the source, and the author never grades their own work.
Pick the gate direction and prepare a withheld evaluation key:
Spawn an independent sub-agent, run by the orchestrator — never by the artifact's author, who has already seen the source and cannot judge blind. A freshly spawned grader that sees only the artifact text is a real, independent gate; its verdict is a true gate verdict — do not downgrade it to "self-audit." The degraded path applies only when no separate grader can be spawned at all and you must judge from the same context that produced or read the source: in that case fall back to an explicit self-audit and label the result as self-audit, not a gate verdict.
Enforce the input firewall: pass ONLY the artifact text. Do NOT pass the source, the sibling artifact, runtime traces, observations, screenshots, or repository paths. A single leak makes the verdict worthless.
Task it to reconstruct the adjacent layer and report: recovered structure, ambiguities, and the rules it treated as load-bearing. Do not ask it to speculate about matches versus an original it cannot see.
Ask the counterfactual question. For each rule the grader recovered, ask what it would actually have implemented, not only what it believes the artifact says. A rule the grader can quote but would have implemented differently has not transmitted. This divergence is the gate's highest-value signal and a recoverability question alone cannot produce it.
After the blind grader returns, have an evaluator compare its reconstruction and counterfactual implementation against the withheld key. This comparison happens after the firewall measurement; never send the key back to the grader. The evaluator may inspect the artifact to count occurrences and placement, but must not replace the grader's reported reconstruction with its own reading.
Return two verdicts.
Whole artifact:
pass — sufficient for the target restoration level.weak-pass — core structure recoverable, exact details expected-missing.fail — not enough recoverable structure; the artifact must be revised.Per load-bearing rule, assigned by the evaluator from blind evidence:
unmissable — the grader recovered it without prompting and its counterfactual
implementation matches the withheld key.findable — relevant text exists, but the grader missed it, reported ambiguity, or would
have implemented the opposite.absent — the grader did not recover it and the evaluator cannot locate an equivalent
rule in the artifact.For findable, cite the misleading placement or emphasis that explains the transmission
failure. For absent, cite the withheld-key item that was not recovered; do not pretend the
blind grader could identify omitted content. Both are repair items even when the
whole-artifact verdict is pass.
To wire gates into a multi-round generation/extraction pipeline (one-shot vs.
find→fix→re-check, round caps, abandonment classification), load
references/gate-loop-modes.md. For a single standalone check, steps 1–7 are enough.
The gate worked if the verdict is backed by concrete recovered/missing structure, not
"looks fine": a fail must name a specific unrecoverable element or a specific dominant
exploit; a pass must point at the structure it actually recovered. A per-rule verdict must
trace the withheld-key item to the blind reconstruction and counterfactual answer.
Two verdicts — whole-artifact (pass / weak-pass / fail) and per-load-bearing-rule
(unmissable / findable / absent) — plus a short report: recovered structure, ambiguities,
the evaluator's key comparison, and the counterfactual answers from step 5.
When an artifact passes after repair, have it carry an explicit note naming which clauses are rules and must survive editing. The strongest reinforcements a repair produces tend to be commentary about the gate, which is the first thing a later editor strips as scaffolding — losing the repair without touching a single rule statement.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub abagames/agentic-gamedev-skills --plugin agent-workflow-engineering9 skills in this plugin
/critiquing-own-responseReviews the agent's own immediately preceding response as an advisory pass, surfacing assumptions, reasoning gaps, alternatives, and unverified claims. Use ONLY when the user explicitly asks for self-critique, critical thinking, or challenges to the agent's prior answer. Do not use for normal follow-ups, someone else's work, automatic checking, or independent quality assurance./dispatching-agent-workRoutes a user's request to a separate task, subagent, automation, or current agent with an appropriate model role, reasoning effort, and workspace isolation. Use when the user or an authoritative instruction asks to dispatch, delegate, orchestrate, enter dispatch mode, run work in another session, select an execution backend, or schedule work. While dispatch mode is active, proactively send substantive execution to the host's preferred worker boundary: a new user-visible task in Codex Desktop App and a subagent on hosts without durable tasks. Do not invoke merely because ordinary work is complex, long-running, or parallelizable, or when this skill is only being mentioned, reviewed, or edited./extracting-agent-skillsDistills reusable agent procedures, validation loops, debugging methods, tool-use patterns, and decision rules from completed, paused, abandoned, or failed projects. Use when closing or archiving a project, reducing side-project sprawl, or when asked to harvest project knowledge into reusable agent capabilities. Gates candidates for trigger clarity, validation, and transferability to avoid weak skills./extracting-spec-design-laddersReverse-engineers existing source code into a two-layer artifact ladder — a concrete reproduction spec (preserves behavior-affecting constants, same-tick ordering, input edges, collision/threshold semantics; drops cosmetics) and an abstract design doc (intentionally omits reproduction detail and records what is unspecified vs. safe-to-assume). Use to document or recover a program's intent and reproducible behavior without leaking implementation-only detail into the design layer./gating-expensive-batch-workSplits a batch of expensive per-item agent work into a cheap reversible pass over every item and an expensive irreversible pass, separated by a method-freeze checkpoint. Use when running one costly procedure over many items (evaluations, migrations, audits, labeling, benchmark or fixture construction) and the method — rubric, transform rules, criteria, instrument — could still turn out to be wrong, or when part of the work spends something that cannot be spent twice: fresh seeds, held-out data, one-shot quota, published output, or a reviewer's first impression. Not for single items, cheap items, or a method already validated on the same class of item./generating-semantic-game-mutantsInjects controlled, game-specific semantic defects — timing/order, identity and lifecycle, scoring and economy, persistence/save, RNG/determinism, input buffering, animation-gameplay sync, content/configuration — into a game or its trace reducer, and records a withheld manifest of intended defect mechanism, precondition, expected symptom, violated invariant, hidden oracle, equivalent-mutant risk, and a clean-control counterpart, so the detection power of a test suite or of an agent repair workflow can be measured against known-planted defects. Use when measuring whether tests or an agent workflow actually catch gameplay defects, when building known-bad fixtures for a with-skill / without-skill comparison, or when checking that a workflow does not "fix" a healthy build. Not for finding unknown defects in a real build, not for repairing defects, and not for balance tuning.Other plugins' skills for the same job