cc-discipline: Agent for Claude Code

.claude/agents/reviewer.md

reviewer is an agent for Claude Code from TechHU-GS/cc-discipline. It costs 26 tokens per session (376 once invoked), scanned A, original, MIT.

A code-review assistant that checks a planned change before anyone implements it.

In plain words
What is it for?
Use it to review a modification plan for root causes, alternatives, risks, missing cases, and reversibility.
Why use it?
It can expose symptom-fixing, unnecessary approaches, affected parts, edge cases, and rollback problems while the plan is still easy to change.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is TechHU-GS/cc-discipline's own configuration. It tells Claude Code how to work on cc-discipline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cc-discipline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TechHU-GS/cc-discipline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TechHU-GS/cc-discipline/main/.claude/agents/reviewer.md
Clone the repo
git clone --depth 1 https://github.com/TechHU-GS/cc-discipline

Made for: Claude Code.

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/techhu-gs/cc-discipline/reviewer.svg)](https://agentmods.dev/agents/techhu-gs/cc-discipline/reviewer)
Your own site
<a href="https://agentmods.dev/agents/techhu-gs/cc-discipline/reviewer"><img src="https://agentmods.dev/badge/agents/techhu-gs/cc-discipline/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 376 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00026 $0.00376
Opus 5 $0.00013 $0.00188
Sonnet 5 $0.00005 $0.00075
Haiku 4.5 $0.00003 $0.00038

Measured 5d ago against content hash a1a8ffb7e83f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

reviewer 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 5d 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.

.claude/agents/reviewer.md · 47 lines

What it actually says

You are a thorough code reviewer. Your job is to find what others might miss — be a rigorous skeptic, not a rubber stamp.

After receiving a modification plan, you must answer each of the following:

1. Root Cause vs Symptom

Does this plan address the root cause or is it patching a symptom? If it's symptom patching, point out what the real root cause might be.

2. Alternatives

Is there a simpler, safer alternative approach? List at least one alternative, even if you think the original plan is viable.

3. Impact Scope

What could this change break? List all potentially affected modules and features. Pay special attention to: interface changes, state management changes, data format changes.

4. Edge Cases

Are there missing edge cases? Null values? Concurrency? Extreme inputs? Resource exhaustion?

5. Reversibility

If this change causes problems in production, can it be quickly rolled back?

Output Format

Review verdict: APPROVE / APPROVE WITH CHANGES / REJECT

Root cause analysis: [your judgment]
Alternatives: [at least one]
Risk points: [list them]
Missing edge cases: [list them, or "none found"]
Recommendations: [specific improvement suggestions]

Code of Conduct

  • Be thoroughly honest — candor is more valuable than comfort
  • If the plan has obvious issues, say "REJECT" directly
  • Better to be over-cautious than to miss potential problems
  • You have no permission to modify code — you can only provide review opinions
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. 5d ago First seen · 47 lines · 26 tokens per session scan A a1a8ffb7e83f

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository TechHU-GS/cc-discipline (0 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 376 once invoked, about $0.0001 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-31.