critique

critique is a skill for Claude Code from RobinNorberg/oh-my-copilot. It costs 14 tokens per session (1,466 once invoked), scanned A, original, MIT.

A pre-push review command that asks an independent read-only agent to critique unpushed commits before they reach the remote repository.

In plain words
What is it for?
It is for checking uncommitted or unpushed work, especially as a final quality gate after coding. It is not intended for already-pushed pull requests or security-only reviews.
Why use it?
It provides a second opinion without the original author's assumptions, helping catch defects before a pull request or push.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the oh-my-copilot plugin — 51 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server shipped together

Good fit It is for checking uncommitted or unpushed work, especially as a final quality gate after coding. It is not intended for already-pushed pull requests or security-only reviews.

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

Made for: Claude Code.

Or install oh-my-copilot, the plugin that ships this one along with the rest of its 51 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server.

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/robinnorberg/oh-my-copilot/critique/github.svg)](https://agentmods.dev/skills/robinnorberg/oh-my-copilot/critique)
Your own site
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/critique"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/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/robinnorberg/oh-my-copilot/critique"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/critique.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00014 $0.01466
Opus 5 $0.00007 $0.00733
Sonnet 5 $0.00003 $0.00293
Haiku 4.5 $0.00001 $0.00147

Measured 6d ago against content hash 42d079256e59, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

critique scanned grade A with 1 finding 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

node -e "const{spawnSync}=require('node:child_process');for(const base of ['origin/main','origin/master']){const r=spawnSync('git',['log',base+'..HEAD','--oneline'],{encoding:'utf8'});if(r.status===0){process.stdout.writ
skills/critique/SKILL.md · 139 lines

How it starts

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

<Use_When>

  • Before pushing commits: "critique my changes", "review before push", /critique
  • When you want a second opinion on uncommitted or unpushed work
  • As a pre-PR quality gate
  • When Claude has been writing code and you want an independent check </Use_When>

<Do_Not_Use_When>

  • Reviewing a PR that's already pushed — use /review or code-reviewer agent instead
  • Deep multi-pass review needed — use /deep-review instead
  • Only want security review — use security-reviewer agent directly </Do_Not_Use_When>

<Why_This_Exists> Claude writes code confidently. Too confidently. Same-context critique has author bias — the author fills in gaps mentally and rationalizes decisions. An independent subagent only sees the artifact and the codebase, catching flaws the author is blind to. This is the last line of defense before code reaches the remote. </Why_This_Exists>

<Execution_Policy>

  • The devils-advocate agent MUST run as an independent subagent (Task), never inline — this prevents author bias
  • Agent is read-only (Write/Edit blocked)
  • Agent uses opus model for thoroughness (user can override via config)
  • Results are presented to the user with a clear PUSH / FIX FIRST recommendation </Execution_Policy>
  1. Gather context (run in parallel):

    • Commit log: git log <range> --format="%h %s"
    • Changed files summary: git diff <range> --stat
    • Full diff: git diff <range>
    • If the full diff exceeds ~3000 lines, use git diff <range> --stat plus targeted git diff <range> -- <file> for the most critical files (prioritize: security-sensitive, core logic, new files)
  2. Spawn independent devils-advocate agent:

    Task(subagent_type="oh-my-copilot:devils-advocate", model="opus", name="critique", prompt="
    INDEPENDENT PRE-PUSH CRITIQUE
    
    Review the following unpushed commits for flaws, suboptimal code, insufficient implementation,
    faults, and broken behavior. You are an independent reviewer — the author cannot see your
    investigation process, only your final report.
    
    ## Commits
    [paste commit log here]
    
    ## Changed Files
    [paste diff stat here]
    
    ## Full Diff
    [paste diff here]
    
    Produce a structured Pre-Push Critique report with PASS/FAIL for each criterion,
    file:line citations and proposed fixes for every FAIL, and a clear PUSH or FIX FIRST recommendation.
    ")
    
  3. Present results: Display the structured critique report to the user exactly as returned by the agent.

  4. Ask the user: Based on the recommendation:

    • If PUSH: "The critique found no blocking issues. Proceed with push?"
    • If FIX FIRST: "The critique found issues that should be fixed before pushing. Would you like to address them or push anyway?"

<Tool_Usage>

  • Use Bash with git log and git diff to gather commit and diff data
  • Use Task(subagent_type="oh-my-copilot:devils-advocate", ...) to spawn the independent reviewer
  • Do NOT run the critique inline — it MUST be a separate subagent for independence </Tool_Usage>

Read the full file on GitHub · 139 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. 6d ago Changed · +2 lines 42d079256e59
  2. 10d ago First seen · 137 lines · 14 tokens per session scan A d24447c74d75

Subscribe to this mod's changes

critique is a skill published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 3d ago), licensed MIT. It adds 14 tokens to every session and 1,466 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

work-unit-commits

Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Gentleman-Programming/gentle-ai · 33 tokens

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

pr-threshold

Track commit accumulation and trigger PR when thresholds crossed.

WellApp-ai/Well · 13 tokens

commit-message

Reviews working-tree changes, then drafts a Conventional Commits title/body and states the semantic-release version bump a single such commit would imply. Also notes which defensive-code categories were touched. Use when the user wants to commit recent work, prepare a Conventional Commits message, or asks for…

danielvm-git/bigpowers · 71 tokens

github-commenting

How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules. Load before posting or fixing any PR comment.

juspay/neurolink · 41 tokens