critique

critique is a skill for Claude Code from serbanghita/plan-critique-skills. It costs 8 tokens per session (2,393 once invoked), scanned A, a copy of plan-critique, MIT.

A review tool for examining a development plan against the project's working agreement and codebase.

In plain words
What is it for?
It is for reviewing plans, code, architecture, and design patterns, including edge cases such as concurrency, missing values, and error handling.
Why use it?
It challenges proposed work and requires confirmed findings to be backed by files, command output, or failing tests. This helps separate verified problems from plausible guesses.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the plan plugin — 10 skills shipped together

Good fit It is for reviewing plans, code, architecture, and design patterns, including edge cases such as concurrency, missing values, and error handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serbanghita/plan-critique-skills/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 serbanghita/plan-critique-skills --skill critique
Clone the repo
git clone --depth 1 https://github.com/serbanghita/plan-critique-skills

Made for: Claude Code.

Or install plan, the plugin that ships this one along with the rest of its 10 skills.

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/serbanghita/plan-critique-skills/critique/github.svg)](https://agentmods.dev/skills/serbanghita/plan-critique-skills/critique)
Your own site
<a href="https://agentmods.dev/skills/serbanghita/plan-critique-skills/critique"><img src="https://agentmods.dev/badge/skills/serbanghita/plan-critique-skills/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/serbanghita/plan-critique-skills/critique"><img src="https://agentmods.dev/badge/skills/serbanghita/plan-critique-skills/critique.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,393 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 89% copy Near-identical to another mod 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.00008 $0.02393
Opus 5 $0.00004 $0.01196
Sonnet 5 $0.00002 $0.00479
Haiku 4.5 $0.00001 $0.00239

Measured 4d ago against content hash 9cd83820cbb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 4d 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.

Origin

This is a copy

89% identical to plan-critique — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/critique/SKILL.md · 150 lines

How it starts

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

You are performing an iterative review of the user's execution plan. Critique the plan, code, architecture, system design, and design patterns.

Fixed rules:

Read the working agreement at working-agreement.md before step 1 and follow it for the whole run. If that path does not resolve, look for working-agreement.md in the project root, then in .claude/. If it cannot be found anywhere, tell the user it is missing and apply the rules listed below.

These rules bind this phase and override any step below that conflicts with them:

  1. Be adversarial. Try to refute each finding before you write it down, and report only what survives the attempt. A finding you could not refute is worth more than three you did not test.
  2. Grade confidence per finding. Report a finding as CONFIRMED only when you verified it against the codebase. Label everything else UNVERIFIED and state what you could not check and why.
  3. Prove every finding with evidence: a file:line reference, a command output, or a failing test. Never assert a plausible but unverified conclusion, and never present a guess as a fact.
  4. Cite plan.md line numbers only from the copy you read in this run. Re-read plan.md before writing the critique and check that each line reference points at the text you describe. Merging a critique into the plan shifts every line below the merge point, so numbers carried over from an earlier iteration are wrong.
  5. Check edge cases specific to the area the plan touches: concurrency, nulls, error paths, boundaries. A generic "find bugs" pass over the plan is not enough.
  6. Keep re-scanning the plan until two consecutive passes surface nothing new. Stop at that point, not before.
  7. Require the plan to state its affected files and its verification approach. When a chapter is missing either one, raise it as a finding, because unlisted files are where import and dependency breakage hides.
  8. Do not edit project code or plan.md during this phase. This phase writes critique.md only. The user decides what moves into the plan.
  9. Be brief. No filler, no preamble, no emojis, no em dashes, no bold or italic text.

To do this, follow these steps precisely:

  1. Read .claude/plan-critique-config.json, get plansFolder path from settings. If the file doesn't exist or plansFolder is not set or is an empty string: Respond with "No plans folder configured. Run /plan:create first to set up."
  2. Get the Claude Code process ID by running: echo $PPID. Store this as sessionPID.
  3. Clean up stale sessions: Scan [plansFolder]/.sessions/ for files. For each file named with a PID, check if that process is still running via kill -0 [PID] 2>/dev/null. If the command fails (process not running), delete that session file. This is non-blocking cleanup.
  4. Read the current session's plan from [plansFolder]/.sessions/[sessionPID] if it exists. Store as sessionPlan.
  5. Scan [plansFolder]/ for subdirectories (each subdirectory is a plan). Exclude archived/ and .sessions/ folders and any files, only list plan directories. If no plan folders exist: Respond with "No plans found. Create one with /plan:create".
  6. Select the plan to critique:
    • If sessionPlan exists and matches a plan folder, auto-select it. Inform the user: "Using current session plan: [sessionPlan]"
    • Else if only one plan exists, auto-select it and inform user.
    • Otherwise, ask the user to select a plan from the list. Example:
      Available plans:
      1. add-user-authentication
      2. refactor-database-layer
      3. implement-caching
      
      Which plan would you like to critique? [1-3]
      
  7. Update the session file [plansFolder]/.sessions/[sessionPID] with the selected plan slug (create if needed).
  8. Read the plan file at [plansFolder]/[selected-plan]/plan.md
  9. Check for errors:
    • If plan.md is empty: Respond with "Plan file is empty. Edit [plansFolder]/[selected-plan]/plan.md"
    • If CLAUDE.md does not exist in project root: Respond with "Create a CLAUDE.md file in the root of your project."
  10. Detect project languages and verify LSP availability. LSP is the required tool for code verification in this phase, so this check is mandatory:
    • Detect the main project languages with Glob: tsconfig.json, *.ts, or *.tsx for TypeScript, composer.json or *.php for PHP, and the equivalent markers for any other language the plan touches.
    • Probe LSP: pick a source file referenced by the plan (or any project source file) and request go-to-definition or hover on a known symbol using the LSP tool.
    • If the probe succeeds, LSP is available. Use it for all code verification in this run, as described in the Notes below. Do not substitute Grep for checks LSP can answer.
    • If the probe fails or the LSP tool is not available for the detected language, inform the user before continuing: "No LSP support detected for [language]. The critique will fall back to Grep, which is less accurate. To enable code intelligence, install the LSP plugin for your language (for example typescript-lsp or php-lsp from claude-plugins-official, check with the /plugins command), or use an LSP setup skill such as https://github.com/github/awesome-copilot/tree/main/skills/lsp-setup to install and configure a language server."
    • Do not block the critique. Proceed with the Grep fallback and record in the critique Summary that LSP was unavailable, so the user knows symbol verification relied on Grep.
  11. Read the existing "Iteration: [number]" at [plansFolder]/[selected-plan]/critique.md (if it exists) and determine the current iteration number. If no critique exists, this is iteration 1.
  12. If the plan references files that are in the [plansFolder]/[selected-plan]/ folder, review those as well and add them to the context of the critique.
  13. Perform a thorough critique of the plan considering:
    • Clarity: Are requirements specific and unambiguous?
    • Completeness: Are all necessary steps included?
    • Order: Are dependencies between steps correctly sequenced?
    • Feasibility: Can each step be executed given the current codebase?
    • Risk: Are there potential side effects or breaking changes?
    • Standards: Does it comply with CLAUDE.md project standards?
    • Scope: Is scope reasonable? Any unnecessary additions?
    • Testability: How is success verified? Does each chapter name the test to write or the command to run?
    • Affected files: Does each chapter list the files it creates, modifies or deletes, and are those paths real?
    • Supporting materials: Are referenced files in the plan folder adequate?
  14. Evaluate whether the plan can be split into independent tasks. If the plan contains multiple features or changes that can be executed separately, strongly recommend splitting it into separate plans. Why this matters:
    • Reduces complexity during execution
    • Limits the context window needed for each plan
    • Makes critique iterations more focused and actionable
    • Allows independent tasks to proceed without blocking each other

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +11 lines 9cd83820cbb5
  2. 12d ago First seen · 139 lines · 8 tokens per session scan A 20f1efd78506

Subscribe to this mod's changes

critique is a skill published in the GitHub repository serbanghita/plan-critique-skills (13 stars, last pushed 5d ago), licensed MIT. It adds 8 tokens to every session and 2,393 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to plan-critique, differing in 20 lines, and is treated as a copy.

Related

Other skills, from other repositories

review-responder

Use when receiving feedback on code you implemented, responding to reviewer comments, deciding which review suggestions to implement, or pushing back on incorrect review feedback.

Joncik91/ucai · 33 tokens

pr-sweep

Use when you want to sweep all open pull requests across all repos, triage their status, run code reviews on unreviewed PRs, merge what's ready, fix quick blockers, and produce a full status report. Trigger when the user says "check my PRs", "close out open PRs", "what's the status of my PRs", "sweep my PRs", "PR…

harnessprotocol/harness-kit · 0 tokens

rubber-ducky

Use when you've planned a non-trivial change and are about to implement it, finished a complex or multi-file piece of work, just wrote tests, or are stuck on repeated failures — and any time the user says "rubber duck this", "rubber ducky", "get a second opinion", "sanity-check my plan", "poke holes in this", "what am…

harnessprotocol/harness-kit · 186 tokens

open-pr

Use when wrapping up a development task and getting a PR ready — runs local tests, creates a PR (if one doesn't exist) with a structured description template, conducts a code review via the review skill, and checks CI status with quick fixes. Trigger when the user says they're done with a feature, want to open a PR…

harnessprotocol/harness-kit · 111 tokens

review

Use when user invokes /review to review code changes. Also triggers on "review my code", "check this PR", "look at my changes". Accepts a PR number (e.g. /review 123), a path filter (e.g. /review src/auth/), or no argument (reviews current branch vs base). Produces structured per-file review with severity labels…

harnessprotocol/harness-kit · 103 tokens

code-reviewer

Use when reviewing pull requests, analyzing code quality, identifying issues, or generating review checklists. Covers TypeScript, JavaScript, Python, Go, Swift, and Kotlin.

Joncik91/ucai · 39 tokens