goat-critique
Skill32 starsChanged 20 days agoMITView on GitHub
Use when a decision or analysis needs multi-lens critique to surface blind spots before shipping.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- goat-claritySkill
- goat-debugSkill
- goat-planSkill
- goat-qaSkill
- goat-reviewSkill
- goat-securitySkill
- goatSkill
- goat-claritySkill
- goat-critiqueSkill
- goat-debugSkill
- goat-planSkill
- goat-qaSkill
- goat-reviewSkill
- goat-securitySkill
- goatSkill
- goat-claritySkill
- goat-critiqueSkill
- goat-debugSkill
- goat-planSkill
- goat-qaSkill
- goat-reviewSkill
- goat-securitySkill
- goatSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 12 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read .goat-flow/skill-docs/skill-preamble.md and .goat-flow/skill-docs/skill-conventions.md.
- Distinctive: line 14
Use for multi-perspective critique of a plan, security assessment, debug hypotheses, review, test strategy, architecture, or refactor.
- Distinctive: line 19
ALWAYS: Treat explicit invocation as consent for the full delegated protocol on a concrete artifact.
- Very specific: line 20
DEFER TO: Before invocation, create missing artifacts, answer simple facts, or use /goat-review for trivial work.
- Distinctive: line 40
Run preamble retrieval for artifact/risk terms.
- Very specific: line 44
Read context map: Read only the selected rubric's ### map under Rubric Context Maps in references/rubric-examples.md.
- Very specific: line 50
Before spawning C, build its payload and initialize state using Fresh-eyes boundary and recovery in references/sub-agent-directives.md.
- Very specific: line 88
1b. Completeness gate: Verify every applicable Result-envelope field (Evidence reviewed: through Residual uncertainty:, strength, coverage …
- Distinctive: line 94
4. Verify sub-agent dimension coverage: Verify each Coverage-ledger scope against its named evidence for clean and non-clean returns.
- Very specific: line 104
Early exit: If Phase 2 yields zero split findings and zero unique HIGH/CRITICAL findings, skip Phase 3.
- Distinctive: line 106
If splits + unique HIGH/CRITICAL exceed the cross-examination budget (see Constraints), batch multiple disputes into a single agent prompt.
- Very specific: line 116
Persist before gate: Keep the Phase 1-3 draft in memory.
- Very specific: line 125
Before drafting, apply Final-finding schema and Audit payload identity from references/rubric-examples.md.
- Distinctive: line 130
If differential mode: append the Differential baselines delta block, including unassessed/unmapped prior findings.
- Very specific: line 140
Persist final: Before this gate, save the audited report as a fresh finalized record through Saved records and recovery.
- Very specific: line 144
Phase 5.6 - Outcome capture: After the host receives the human's A/B/C/D pick, save a fresh linked outcomes record using Saved records and …
- Distinctive: line 160
MUST run in one mode: full delegated, Phases 1-5 plus 5.5/5.6, three critique sub-agents plus one meta-agent.
- Distinctive: line 163
MUST Spawn all three sub-agents in a single parallel batch.
- Distinctive: line 164
MUST set max 5 tool-call budget per critique sub-agent.
- Very specific: line 165
MUST log per spawned critique/cross-exam/meta agent: id/handle if exposed, calls/limit, or unavailable markers.
- Distinctive: line 166
MUST Scan Agent C output before other Phase 2 work using Fresh-eyes boundary and recovery, including its permitted payload and shared …
- Very specific: line 167
MUST Check sub-agent completeness against references/sub-agent-directives.md, including a clean-result attestation after one documented …
- Distinctive: line 168
MUST enforce cross-examination budget: Max 3 cross-examination agents total, max 3 tool calls per agent.
- Very specific: line 170
MUST apply the preamble Proof Gate to every synthesised finding and keep one proof class (RUNTIME | CONTRACT-GREP | STATIC | …
- Distinctive: line 171
MUST NOT fabricate findings.
- Very specific: line 178
Use this for the Phase 5 gate response.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/goat-critique
Shared Conventions
Read .goat-flow/skill-docs/skill-preamble.md and .goat-flow/skill-docs/skill-conventions.md.
When to Use
Use for multi-perspective critique of a plan, security assessment, debug hypotheses, review, test strategy, architecture, or refactor.
Boundary Commands
- NEVER: Replace delegation with inline role-play, skip phases, or auto-apply recommendations.
- ALWAYS: Treat explicit invocation as consent for the full delegated protocol on a concrete artifact.
- DEFER TO: Before invocation, create missing artifacts, answer simple facts, or use
/goat-reviewfor trivial work; explicit/goat-critiqueruns fully.
| Excuse | Reality |
| "The artifact is trivial - a quick critique would cover it" | Quick mode was removed: one context under three lens labels is not independent critique. |
| "All three agents agree so it must be right" | Consensus without orchestrator verification is unverified. Verify claims; do not count votes. |
| "Inline role-play is faster than spawning agents" | Inline lenses correlate; isolated contexts create independent findings. |
| "Closing checks happen after the main answer - skip them" | Phase 5.5 and outcome capture exist because agents skip closing work. |
Direct invocation is binding. Raise scope concerns after synthesis.
Report-only by default. $goat-critique make X shorter critiques; then apply it permits application after the gate. Constraints own mutation.
Step 0 - Intake
goat-critique runs only full delegated mode: Phases 1-5, 5.5 meta-audit, 5.6 outcome capture, three critique sub-agents, one meta-agent.
Intake checklist:
- Require a concrete artifact, not a vague idea.
- Select its Critique Rubric; ask if unclear.
- Run preamble retrieval for artifact/risk terms; record misses without broad-loading buckets.
- Host ownership: The host/root context owns Phases 1-5.6. A forked sub-agent returns control before Phase 1 and does not apply the shared sub-agent gate conversion. The host spawns agents, presents gates, and resumes Phase 5.6 after the response. Direct/chained host entry needs no delegation prompt; chained entry skips only intake confirmation.
- Resume: For saved work, apply Saved records and recovery in
references/rubric-examples.mdbefore generating critics. - Differential mode detection: For matching artifact identity within 30 days, apply Differential baselines in
references/rubric-examples.md: offer prior findings and available diff to A/B; C stays cold. Phase 5 links the baseline record and reports deltas. - Read context map: Read only the selected rubric's
###map under Rubric Context Maps inreferences/rubric-examples.md. Merge the selected rubric map into the fixed A/B/C split; never replace baseline context. Other reference sections load at the phase that names them.
Phase 1 - Generate Competing Critiques
Spawn all three sub-agents in parallel using the host's real delegation mechanism.
Before spawning C, build its payload and initialize state using Fresh-eyes boundary and recovery in references/sub-agent-directives.md.
The Core Trio Lens
Agents A and B each use the combined SKEPTIC/ANALYST/STRATEGIST lens; never split its perspectives across agents:
- SKEPTIC - "What could go wrong? What assumptions are unproven? What's the worst-case scenario?"
- ANALYST - "What does the evidence actually say? What's the cost/benefit? What do the numbers and code paths tell us?"
- STRATEGIST - "What's the fastest path to shipping? What can we defer? What's the highest-leverage change?"
C has no lens quota; use N/A - fresh-eyes scope when a lens adds nothing.
Context split:
| Agent | Reads | Does NOT read |
| A (Risk) | artifact + architecture.md + targeted INDEX-first footgun/lesson hits + rubric | git history, config.yaml |
| B (Alternatives) | artifact + architecture.md + git log --oneline -20 + config.yaml + rubric | footguns, lessons |
| C (Fresh Eyes) | supplied artifact + selected rubric payload ONLY | other project evidence; disclose harness context |
Sub-Agent Definitions
Full directives: references/sub-agent-directives.md.
- A (Risk): Risks, 2nd-order impacts, fastest safe path; cite downstream files by name.
- B (Alternatives): At least one alternative, ranked by implementation friction.
- C (Fresh Eyes): Assumptions/readability within the reference's ISOLATION RULE.
Each sub-agent normally returns the reference's Result envelope and Per-finding output spec, including Proof class. Constraints govern clean returns; Phase 2 checks completeness.
Lens coverage: A/B analyse every lens; C probes assumptions/readability. See Lens-finding floor.
Phase 2 - Rank and Compare
Execute in this order:
1. Context leak scan. Apply Fresh-eyes boundary and recovery first: scan C through stdin, trace matches to its permitted payload, and inspect available activity. Textual absence never proves isolation; discard leaks and use the shared replacement allowance.
1b. Completeness gate. Verify every applicable Result-envelope field (Evidence reviewed: through Residual uncertainty:, strength, coverage ledger and B's ranked alternative). A/B each get one completeness replacement; C uses the same run-wide allowance as leaks. Unresolved omissions produce sub-agent completeness limited; honest unassessed rows are complete.
2. Classify each finding: Consensus (≥2 agents, severity within ±1), Split (≥2 agents, severity differs ≥2 levels or explicit reject vs blocking), Unique (one agent only). Silence is not a dismiss; treat as Unique.
3. Rank each sub-agent's critique using Ranking criteria in references/sub-agent-directives.md: Grounding, Specificity, Actionability, Coverage and Calibration; strong, adequate or limited with evidence, never summed.
4. Verify sub-agent dimension coverage. Verify each Coverage-ledger scope against its named evidence for clean and non-clean returns. Demote unsubstantiated claims before the union in step 5.
5. Union the coverage ledgers. Merge the agents' rows into one host ledger per selected dimension - finding, checked-clean or unassessed - using How the host unions these rows in references/sub-agent-directives.md. Unassessed coverage never generates a HIGH or MEDIUM artifact finding.
6. Spot-check OBSERVED claims. For each finding marked OBSERVED, re-read the cited file + semantic anchor or proof artifact. Findings that fail spot-check get tagged [evidence-gap: spot-check failed]; Phase 3 decides retract or upgrade.
7. Label control group deltas. For fresh-eyes-only findings, orchestrator assigns: CONTEXT DRIFT (wrong due to missing context), READABILITY GAP (valid for any reader), or CONTEXT-LIMITED (may be valid, cannot fully evaluate).
Phase 3 - Cross-Examine
Early exit: If Phase 2 yields zero split findings and zero unique HIGH/CRITICAL findings, skip Phase 3. Note No findings require cross-examination in output and proceed to Phase 4; unique MEDIUM and LOW findings survive the exit.
If splits + unique HIGH/CRITICAL exceed the cross-examination budget (see Constraints), batch multiple disputes into a single agent prompt. Triage by severity - CRITICAL and HIGH first.
For each split finding, spawn a cross-exam agent: "Agent A says [X], Agent B says [Y]. Which is correct given the actual codebase?"
For unique HIGH/CRITICAL findings, spawn verification: "Only one critique raised [finding]. Genuine blind spot or false positive?"
Mark each: RESOLVED (with winner) / STILL DISPUTED / RETRACTED (false positive confirmed).
Phase 4 - Clarify
Persist before gate: Keep the Phase 1-3 draft in memory; save a fresh pre-clarification record through Saved records and recovery in references/rubric-examples.md. Do this after Phase 3 early exit too; save failures continue to the human gate.
Present unresolved items with decision count/titles. Ask each as Q[N]: [decision]? (A) [option] (B) [option] Default: [A/B]. Background: [one sentence]. For 3+, use | # | Decision | Option A (default) | Option B | Why |, then request numbered overrides or default approval. Cover disputes, trade-offs, and intentional context drift.
Questions: BLOCKING GATE - STOP for the human. None: CHECKPOINT - record "no disputes - proceeding to synthesis" and continue.
Phase 5 - Synthesise
Before drafting, apply Final-finding schema and Audit payload identity from references/rubric-examples.md. Lead with a Verdict block:
- Gate: BLOCK | CONCERNS | CLEAN - derived from surviving findings: any CRITICAL → BLOCK, any HIGH (no CRITICAL) → CONCERNS, else CLEAN. CLEAN coexists with lower-severity findings and with limited coverage; show coverage status beside it.
- Assessment: STRONG / ADEQUATE / WEAK / FLAWED, using the overall-assessment bands in
references/sub-agent-directives.mdand synthesising sub-agent assessments with cross-examination outcomes - Risk level: the highest surviving evidenced artifact severity, floored at LOW and labelled
no evidenced defectwhen none survives - a floor, not a clearance - Top 1-3 blockers (if any) - one line each, linked to findings below
- If differential mode: append the Differential baselines delta block, including unassessed/unmapped prior findings.
Explain once: Validated Findings holds each surviving finding once, grouped consensus, resolved splits, Phase 4 human-directed, verified unique, with its Final-finding schema fields. Later sections cite the finding ID and add only what they own; the Comparison Matrix owns comparison and Rankings own order and criterion scores.
Open questions: Items with INFERRED-only evidence, inconclusive single-agent findings, or unvalidated assumptions go here - not as recommendations. Each open question states: confidence, evidence needed to resolve, revisit trigger.
Blind spot check: List unaddressed artifact sections, unmapped rubric aspects, and unread referenced files as "What Wasn't Critiqued." Name actual limits, or a supported none identified statement within a declared scope; never invent one.
Phase 5.5 - Meta-audit. Give the 2-call meta-agent a self-contained packet: frozen draft with report_revision, selected dimensions, and the reference pack's complete Meta-audit rubric (including Packet vocabulary), Final-finding schema, and Audit payload identity. It grades only that packet. Score each 0 or 10; their sum is Meta-score; no partial credit. ## Auto-Detected Issues contains failures; at 100/100 write exactly No failed meta-audit checks. Never invent issues. Put Meta-score: N/100 in Verdict; corrections edit the report only.
Persist final: Before this gate, save the audited report as a fresh finalized record through Saved records and recovery.
BLOCKING GATE: Present the synthesised critique (including Meta-score if 5.5 produced one). "Options: (A) apply, (B) dig deeper, (C) re-run, (D) close. Default: D." Picking (A) is the explicit apply instruction Constraints require, authorizing only the surviving Recommended Changes. After plan critique, suggest /goat-plan.
Phase 5.6 - Outcome capture. After the host receives the human's A/B/C/D pick, save a fresh linked outcomes record using Saved records and recovery. A → accepted; D → deferred; B/C preserve the request with unspecified dispositions pending.
Critique Rubrics
The rubric determines what sub-agents evaluate. Match to artifact type. Dimensions marked [M] are mandatory and [O] optional; an unaddressed dimension is an unassessed ledger row, never a finding. Step 0 reads only the selected rubric's map in references/rubric-examples.md.
Plan: correctness against codebase [M], integration safety [M], sequencing quality [M], validation coverage [O], task specificity [O] Security assessment: threat model completeness [M], exploitability calibration [M], attack surface coverage [M], framework mitigation accuracy [O], data flow quality [O] Debug hypotheses: hypothesis diversity [M], evidence quality (OBSERVED vs INFERRED) [M], elimination rigour [M], confidence calibration [O], reproduction completeness [O] Review findings: severity calibration [M], diff coverage [M], pre-existing separation [M], false positive rate [O], cross-reference impact [O] Test strategy: coverage gaps [M], risk-proportionate depth [M], doer-verifier separation [O], manual test specificity [O], mock awareness [O] Architecture/refactor: blast radius accuracy [M], migration safety [M], backward compatibility [M], dependency impact [O], rollback feasibility [O] Generic (fallback): internal consistency [M], evidence grounding [M], scope completeness [M], feasibility [M], risk identification [M]. All dimensions mandatory for the fallback rubric. If using the generic rubric, state why no specific rubric matched and which was closest.
Constraints
- MUST run in one mode: full delegated, Phases 1-5 plus 5.5/5.6, three critique sub-agents plus one meta-agent.
- Explicit
$goat-critiqueor/goat-critiqueinvocation IS consent to spawn sub-agents and the full protocol. Do NOT ask again. - Report-only by default. Do not mutate the target artifact or committed files unless the user separately says to apply, edit, update, fix, or otherwise implement. If interrupted, freeze writes.
- MUST Spawn all three sub-agents in a single parallel batch. Preserve separate input payloads and no result sharing; timing alone does not prove independence.
- MUST set max 5 tool-call budget per critique sub-agent; log calls/limit when exposed, otherwise unavailable markers. Do not claim mechanical enforcement when counts are unavailable.
- MUST log per spawned critique/cross-exam/meta agent: id/handle if exposed, calls/limit, or unavailable markers.
- MUST Scan Agent C output before other Phase 2 work using Fresh-eyes boundary and recovery, including its permitted payload and shared replacement counter.
- MUST Check sub-agent completeness against
references/sub-agent-directives.md, including a clean-result attestation after one documented second pass. Phase 2 owns the bounded repair; never reset C's allowance. - MUST enforce cross-examination budget: Max 3 cross-examination agents total, max 3 tool calls per agent.
- Recommendations are never auto-applied. After synthesis, stop. Do not enter implementation mode unless the user explicitly asks to apply changes.
- MUST apply the preamble Proof Gate to every synthesised finding and keep one proof class (
RUNTIME | CONTRACT-GREP | STATIC | NOT-REPRODUCED). Sub-agent reports are inputs, not laundered evidence. Re-read Phase 5 survivors (typically 3-7), not every Phase 1 lead. - MUST NOT fabricate findings. The 3-7 range is a normal target, never a quota; accept a complete clean-result attestation after the required second pass.
- Universal constraints from skill-preamble.md apply.
Output Format
Terse-first directive: Sub-Agent Comparison Matrix, Retracted Findings, and What Wasn't Critiqued default to one sentence per bullet, no qualifiers or closing offers. Gates and evidence-tagged findings retain full detail.
Use this for the Phase 5 gate response. Omit ## Outcomes until Phase 5.6. Empty sections collapse to none.
## Verdict <!-- includes Gate: BLOCK|CONCERNS|CLEAN + Meta-score -->
## Delegation Evidence <!-- ids/handles + tool-call counts or unavailable markers -->
## Critique Rubric
## Sub-Agent Comparison Matrix
## Sub-Agent Rankings <!-- order + criterion scores only -->
## Rubric Coverage <!-- one ledger row per selected dimension -->
## Control Group Delta
## Validated Findings <!-- source pool for Recommended Changes; every finding includes proof class -->
## Cross-Examination Results <!-- finding ID, outcome, winner -->
## Auto-Detected Issues <!-- failures or exact clean attestation; always present -->
## Retracted Findings <!-- finding ID + reason -->
## Human Decisions <!-- finding ID + Phase 4 answer -->
## Strengths
## Recommended Changes <!-- finding IDs from Validated Findings, by severity; concrete action and proof class; no restatement -->
## Open Questions
## Integration Hooks <!-- for-goat-plan, for-goat-debug, for-implementation; finding ID + action -->
## What Wasn't Critiqued
<!-- Phase 5.6: fresh linked outcomes record; use Saved records and recovery -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

