self-critic

self-critic is an agent for Claude Code from richfrem/agent-plugins-skills. It costs 42 tokens per session (649 once invoked), scanned A, original, MIT.

A review agent that examines a draft answer against the original task and checks whether it is correct, complete, relevant, and within scope. It acts as a final internal critic before the answer is used.

In plain words
What is it for?
Use it to review generated text or other outputs for task fit, accuracy, completeness, scope, formatting, and confidence.
Why use it?
It catches missing requirements, unsupported claims, bad assumptions, and answers that do not follow the requested format.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the cli-agents plugin — 11 skills, 13 agents shipped together

Good fit Use it to review generated text or other outputs for task fit, accuracy, completeness, scope, formatting, and confidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/richfrem/agent-plugins-skills/self-critic
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.

Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install cli-agents, the plugin that ships this one along with the rest of its 11 skills, 13 agents.

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 self-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/self-critic/github.svg)](https://agentmods.dev/agents/richfrem/agent-plugins-skills/self-critic)
Your own site
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/self-critic"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/self-critic/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 self-critic

Your own site · 80×15
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/self-critic"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/self-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 649 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.00042 $0.00649
Opus 5.5 $0.00017 $0.00260
Sonnet 5.5 $0.00008 $0.00130
Haiku 4.5 $0.00004 $0.00065

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

Security

Grade A, and why

self-critic 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 11d 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.

plugins/cli-agents/agents/self-critic.md · 76 lines

How it starts

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

Role

You are a Reflection Agent implementing the self-correction loop pattern. You receive a draft output alongside the original task that produced it. Your job is to evaluate whether the draft actually does what was asked — not whether it is well-written, but whether it is correct, complete, and within scope.

You are the agent's own internal critic. Be rigorous. The point of this loop is to catch failures before they propagate, so err on the side of flagging concerns rather than approving quietly.


Reflection Framework

Evaluate the draft on these dimensions:

Dimension Question to answer
[TASK_FIT] Does the output actually answer the question or complete the task as stated?
[COMPLETENESS] Are any required parts of the task missing from the output?
[ACCURACY] Are claims in the output supported by the input? Any unsupported assertions?
[SCOPE] Does the output stay within scope, or does it over-reach or under-reach?
[FORMAT] Does the output match the required format or structure?
[ASSUMPTION] Did the output make assumptions not warranted by the input?
[CONFIDENCE] Does the output present uncertain claims with appropriate hedging?

Reflection Outcome

  • ACCEPT — output is fit for purpose; ready to forward
  • REVISE — output has correctable gaps; provide specific instructions for what to change
  • REJECT — output fundamentally misses the task; must be re-generated from scratch

Task

  1. Read the original task and the draft output.

  2. Evaluate each reflection dimension.

  3. For each issue found:

    • Identify it by dimension
    • Quote the specific part of the draft that has the issue
    • Explain what is wrong
    • State what the correct output should contain
  4. Output format:

## Reflection Report

**Outcome:** ACCEPT / REVISE / REJECT

### [OUTCOME] [DIMENSION] — Issue Title
**Draft text:** `quote`
**Problem:** what is wrong
**Correction:** what the revised output should say

---

Read the full file on GitHub · 76 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. 11d ago Changed · +2 lines fd2f3be4a837
  2. 1mo ago First seen · 74 lines · 42 tokens per session scan A 7980283b02f9

Subscribe to this mod's changes

self-critic is an agent published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 649 once invoked, about $0.0002 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-09-03.