critique

critique is a skill for Claude Code from brandonsimpson/devils-advocate. It costs 13 tokens per session (4,590 once invoked), scanned A, original, MIT.

An adversarial review skill that checks code or plans against a fixed set of pass-or-fail criteria. It acts like a strict second reviewer looking for concrete problems.

In plain words
What is it for?
Use it to review code changes or a design plan, identify failing criteria, and record the results of repeated checks.
Why use it?
It helps expose missed requirements, weak assumptions, and risks that the original author may overlook.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the devils-advocate plugin — 2 skills, 2 hooks shipped together

Good fit Use it to review code changes or a design plan, identify failing criteria, and record the results of repeated checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brandonsimpson/devils-advocate/critique
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add brandonsimpson/devils-advocate --skill critique
Clone the repo
git clone --depth 1 https://github.com/brandonsimpson/devils-advocate

Made for: Claude Code.

Or install devils-advocate, the plugin that ships this one along with the rest of its 2 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for critique

README.md
[![agentmods](https://agentmods.dev/badge/skills/brandonsimpson/devils-advocate/critique/github.svg)](https://agentmods.dev/skills/brandonsimpson/devils-advocate/critique)
Your own site
<a href="https://agentmods.dev/skills/brandonsimpson/devils-advocate/critique"><img src="https://agentmods.dev/badge/skills/brandonsimpson/devils-advocate/critique/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for critique

Your own site · 80×15
<a href="https://agentmods.dev/skills/brandonsimpson/devils-advocate/critique"><img src="https://agentmods.dev/badge/skills/brandonsimpson/devils-advocate/critique.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.04590
Opus 5.5 $0.00005 $0.01836
Sonnet 5.5 $0.00003 $0.00918
Haiku 4.5 $0.00001 $0.00459

Measured 2mo ago against content hash cf905554fa50, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

critique scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/critique/SKILL.md · 327 lines

How it starts

The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Devil's Advocate Critique

You are running an adversarial binary critique. Every criterion either passes or fails — no percentage scores, no partial credit. The point is to find the real flaws before they ship, and to say plainly when there are none.

Target Detection

Determine whether you are critiquing code or a plan from the conversation:

  • The user points at a plan/design document, or you just wrote one → plan critique (22 criteria)
  • You just wrote code, or the user asks you to critique code changes → code critique (20 criteria)
  • If it's genuinely ambiguous, ask the user

For a code critique with no explicit target, the target is the uncommitted changes (git diff HEAD plus untracked files). If the working tree is clean, it is the most recent commit (git show HEAD).

Scope-Bounded Critique

Critique only what was requested. Out-of-scope features are not failures. If a criterion doesn't apply to the target (e.g., no-injection for code that takes no external input), mark it PASS with a one-line note saying why — don't skip it, so the count stays comparable across checks.

Process

Step 0: Independence Gate

If you wrote or contributed to the target in this conversation, dispatch an independent subagent to do the critique. Same-context critique has author bias: the author fills gaps from memory and rationalizes their own decisions. A fresh reviewer sees only the artifact and the codebase.

Fill in the slots and dispatch:

  • SKILL_PATH — absolute path to this file: the "Base directory for this skill" shown when this skill loaded, plus /SKILL.md
  • TARGET — the plan file path, or for code the exact scope (file list, or the git range such as "uncommitted changes vs HEAD")
  • TASK — what the user asked for and any requirements or constraints they stated, in their words where possible. State intent only; leave out your own reasoning or justifications for the implementation — the reviewer should judge the work on its own.
  • PREVIOUS — for a re-critique after fixes, the path of the previous check's log file (.devils-advocate/logs/check-…); otherwise none
  • CHANGES — for a re-critique, the change list you kept while applying fixes (see Applying Fixes); otherwise none

Read the full file on GitHub · 327 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +37 lines cf905554fa50
  2. 3mo ago First seen · 290 lines · 13 tokens per session scan A 950c7180c84e

Subscribe to this mod's changes

critique is a skill published in the GitHub repository brandonsimpson/devils-advocate (31 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 4,590 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

critique compared with skills from other repositories

critique next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
critiquebrandonsimpson/devils-advocateSkill312mo agoMITA13Claude Code
tuicragavra/tuicrSkill3.7kyesterdayMITA52Claude Code, Codex
liveagent-code-reviewStack-Cairn/LiveAgentSkill2.3ktodayMITA54Claude Code, Codex
codex-adversarial-reviewWrongStack/WrongStackSkill448todayMITA113Claude Code, Codex
generic-fullstack-code-reviewertravisjneuman/.claudeSkill116yesterdayMITA64Claude Code
agent-architecture-analysttravisjneuman/.claudeSkill116yesterdayMITA13Claude Code
pr-review-expertseaworld008/Commonly-used-high-value-skillsSkill752d agoMITA35Claude Code, Codex