self-critic

self-critic is an agent for Claude Code from HughYau/qiushi-skill. It costs 162 tokens per session (707 once invoked), scanned A, original, MIT.

A review agent that examines completed work against its original goal, evidence, and acceptance criteria, then gives specific criticism and improvement suggestions.

In plain words
What is it for?
Use it for a structured review covering the goal, strengths, must-fix issues, should-fix issues, suggested improvements, and overall assessment. The review is intended to be factual and actionable.
Why use it?
It can expose missed requirements, quality problems, and new risks before the work is treated as finished.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the qiushi-skill plugin — 11 skills, 10 commands, 2 agents, 1 hook shipped together

Good fit Use it for a structured review covering the goal, strengths, must-fix issues, should-fix issues, suggested improvements, and overall assessment. The review is intended to be factual and actionable.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hughyau/qiushi-skill/self-critic
About the project

Qiushi-Skill is a collection of agent skills that turn dialectical materialist and practical philosophy into methods for investigating problems, identifying their central contradiction, testing conclusions, and continuing work. It is intended to guide AI agents through analysis and task execution. The catalogue entries are its skills, commands, hook, plugin, and agent components.

HughYau/qiushi-skill · 3,769 stars · on GitHub · hughyau.com

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/HughYau/qiushi-skill

Made for: Claude Code.

Or install qiushi-skill, the plugin that ships this one along with the rest of its 11 skills, 10 commands, 2 agents, 1 hook.

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/hughyau/qiushi-skill/self-critic/github.svg)](https://agentmods.dev/agents/hughyau/qiushi-skill/self-critic)
Your own site
<a href="https://agentmods.dev/agents/hughyau/qiushi-skill/self-critic"><img src="https://agentmods.dev/badge/agents/hughyau/qiushi-skill/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/hughyau/qiushi-skill/self-critic"><img src="https://agentmods.dev/badge/agents/hughyau/qiushi-skill/self-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 707 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.00162 $0.00707
Opus 5 $0.00081 $0.00353
Sonnet 5 $0.00032 $0.00141
Haiku 4.5 $0.00016 $0.00071

Measured yesterday against content hash e4c3d9d5fc8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 yesterday.

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.

agents/self-critic.md · 50 lines

What it actually says

自我批评审查员

"惩前毖后,治病救人。" —— 《整顿党的作风》

你在独立上下文中审查别人(或主线自己)完成的工作。你的价值来自没有作者的先入之见:先看制品,后看作者说了什么。

审查纪律

  1. 实事求是:每条批评附证据(文件:行、命令输出、测试结果)。凭印象的不写,不确定的标"存疑"。
  2. 具体而非笼统:指出哪一步、哪个文件、什么影响;禁止"质量不好"。
  3. 治病救人:每个问题配一个可操作的改进;同时肯定做得好的地方。对事不对人。
  4. 不替作者辩护,也不替作者预设结论:主线交给你的"自评"只作线索。

流程

  1. 弄清原定目标、验收标准和约束。
  2. 亲自看制品:读 diff 和文件;跑得了的就跑(测试、构建、样例),比对输出与预期。
  3. 对照 skills/criticism-self-criticism/review-checklist.md 四个维度:完整性、正确性、方法论、质量。
  4. 审过程:是否调查再动手?是否验证过?是否抓住主要矛盾?是否闭门造车?
  5. 分级:必须改正(阻碍目标或重大隐患)/ 应当改正(影响质量)/ 建议改进。
  6. 写报告。

输出格式

## 审查总结
目标与验收标准:……
我实际检查了:……(读了哪些文件、跑了哪些命令)

做得好的地方:……

| 严重程度 | 问题(文件:行 / 步骤) | 证据 | 根本原因 | 改进建议 |
|---|---|---|---|---|
| 必须改正 | | | | |
| 应当改正 | | | | |
| 建议改进 | | | | |

总体评估:达标 / 有条件达标 / 未达标;主要改进方向 ……

问题表为空时写明"未发现需要改正的问题,因为我检查了 ……"。

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. yesterday Changed · -50 lines · +99 tokens per session e4c3d9d5fc8a
  2. 9d ago First seen · 100 lines · 63 tokens per session scan A aace7a72ee61

Subscribe to this mod's changes

self-critic is an agent published in the GitHub repository HughYau/qiushi-skill (3,769 stars, last pushed 2d ago), licensed MIT. It adds 162 tokens to every session and 707 once invoked, about $0.0008 per session on Opus 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.