# critique gate

> Enforce quality gates using single-critic, multi-lens, adversarial, or ensemble review patterns via loop-ledger.

critique gate is a free AI agent skill on Agensi by kktestdev, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [kktestdev](https://www.agensi.io/creators/supakit-kitjanabumrungsak)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/critique-gate
- Tags: ai-agents, code-review, testing, security, loop-ledger

## About this skill

LLMs often call a draft "done" even when sections are vague or unsupported. This skill separates the **generator** from the **critic**, ensuring outputs clear a specific quality bar before they ship. It implements four distinct review patterns to prevent the model from grading its own homework.

### What it does
- **Score-retry** gates outputs behind a single critic scoring against a rubric.
- **Multi-critic** reviews the same draft through independent lenses like security, style, and correctness, gating on the weakest score.
- **Adversarial** subjects the draft to active red-teaming, requiring all objections to be rebutted or patched.
- **Judge-ensemble** aggregates opinions from multiple independent judges to surface disagreement and variance.
- **Enforced Retries** blocks the session from closing until the quality target is met or the budget is exhausted.

### How it works
1. The user invokes a specific mode like `/critique-gate:critique-score` or `/critique-gate:critique-adversarial`.
2. The skill initiates a loop via `loop-ledger`, setting a `target_value` (default 0.8) and `max_iterations`.
3. A critic role analyzes the draft, reporting scores as `progress` and specific issues as `state`.
4. If the gate isn't cleared, the generator rewrites the draft based on the critic's feedback and ticks the loop again.

### Frameworks & tools
This skill requires the `loop-ledger` MCP plugin. It uses `loop_start`, `loop_tick`, and `loop_end` tools to manage state and enforcement.

### Why this beats prompting it yourself
Prompting a model to "check its work" usually results in sycophancy where the model confirms its own brilliance. This skill enforces a structural separation of concerns, uses scalar progress tracking to detect stalls, and allows for multi-modal critiques that a single prompt cannot reliably coordinate.

### Use cases
- **Security Audits**: Run adversarial red-teaming on design docs to catch exploits before implementation.
- **PR Reviews**: Validate code against independent correctness, style, and safety lenses.
- **Policy Proposals**: Use a judge ensemble to ensure consensus across multiple independent viewpoints.
- **Content Quality**: Gate technical summaries behind a strict 0.8 rubric score to ensure metrics aren't missing.

### Known limitations
This skill has no internal logic or server; it is a prose-driven orchestration of the `loop-ledger` plugin. It cannot gate on variance in ensemble mode as a native exit condition.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the critique gate skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Critique Gate prevent an AI from simply agreeing with its own initial draft?

Critique Gate prevents 'sycophancy'—the tendency for LLMs to ignore their own errors—by enforcing a structural separation between the generator and the critic through four distinct review architectures.

### Does this skill require any specific plugins or external tools to work?

This skill requires the loop-ledger MCP plugin to function, as it relies on that plugin's toolset to manage state, track progress scores, and enforce iteration limits.

### Can I customize the quality threshold or the number of times a draft is revised?

Yes, you can define your own rubrics and target scores (e.g., 0.9 for high-stakes security audits) and set max_iteration limits to manage your token budget.

### What exactly is included in the purchase of this skill?

You receive the orchestration logic and prompt patterns required to execute the four review modes (Score-retry, Multi-critic, Adversarial, and Judge-ensemble) via the loop-ledger framework.

### Which AI agents or models are compatible with these critique patterns?

The skill is designed to work with any advanced LLM (like GPT-4o or Claude 3.5 Sonnet) that supports tool-calling and the Model Context Protocol (MCP).

### What happens if the generator is unable to meet the quality gate after multiple attempts?

Critique Gate uses scalar progress tracking via the loop-ledger; if the critic's score fails to improve across iterations, the system can trigger a stall alert to prevent infinite loops.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
