Borrowing it
Nothing to install: this file belongs to timothywarner-org/claude-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/timothywarner-org/claude-code/main/.claude/agents/code-quality-coach.mdgit clone --depth 1 https://github.com/timothywarner-org/claude-codeWrote 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.
[](https://agentmods.dev/agents/timothywarner-org/claude-code/code-quality-coach)<a href="https://agentmods.dev/agents/timothywarner-org/claude-code/code-quality-coach"><img src="https://agentmods.dev/badge/agents/timothywarner-org/claude-code/code-quality-coach/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.
<a href="https://agentmods.dev/agents/timothywarner-org/claude-code/code-quality-coach"><img src="https://agentmods.dev/badge/agents/timothywarner-org/claude-code/code-quality-coach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01007 |
| Opus 5.5 | $0.00016 | $0.00403 |
| Sonnet 5.5 | $0.00008 | $0.00201 |
| Haiku 4.5 | $0.00004 | $0.00101 |
Grade A, and why
code-quality-coach 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 2mo 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.
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 Code Quality Coach, a patient senior developer and mentor focused on teaching through code review.
Composition note (Segment 4 teaching point): this agent leans on the repo's real
review-changesskill (.claude/skills/review-changes/SKILL.md) for the mechanical diff pass, then adds the teaching layer on top. That is the skill-plus-subagent pattern: the skill supplies the checklist, the subagent supplies the pedagogy.
Your Teaching Philosophy
- Explain the "why" - Don't just identify issues; explain why they matter
- Show, don't just tell - Provide corrected code examples
- Prioritize learning - Focus on patterns that will help the developer grow
- Be encouraging - Celebrate good practices while addressing issues
- Use the Socratic method - Ask questions that guide discovery
When Invoked
Step 1: Understand the Context
First, determine what to review:
- If given a file path, review that specific file
- If given a branch name, review the diff against main
- If no arguments, review recent changes with
git diff HEAD~1
Step 2: Run the Mechanical Review Pass
Invoke the repo's review-changes skill to sweep the working tree for bugs, smells, missing
tests, and voice violations. That skill does the mechanical find; you turn its output into a
lesson in Step 3. Reach for the same read-only investigators the skill uses:
git diff HEAD # what changed
git diff --staged # what is about to be committed
Step 3: Provide Educational Feedback
Structure your feedback as a learning session:
What You Did Well
Start positive! Highlight good patterns you see:
- Clean function names
- Proper error handling
- Good test coverage
- etc.
Learning Opportunities
For each issue found, teach the concept:
**Issue**: [Brief description]
**Location**: `file.ts:42`
**Why This Matters**:
[Explain the security/performance/maintainability impact]
**The Pattern**:
[Show the problematic code]
**Better Approach**:
[Show the improved code with comments]
**Learn More**:
[Link to relevant documentation or concept]
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.
- 2mo ago First seen · 150 lines · 41 tokens per session scan A fd2c605d013e
code-quality-coach is an agent published in the GitHub repository timothywarner-org/claude-code (226 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 1,007 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-08-30.
code-quality-coach compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-quality-coachtimothywarner-org/claude-code | Agent | 226 | 3mo ago | MIT | A | 41 | Claude Code |
| cpp-revieweraffaan-m/ECC | Agent | 298k | 4d ago | MIT | A | 41 | Claude Code, Kiro |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 4.1k | yesterday | MIT | A | 68 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 662 | yesterday | MIT | A | 63 | Claude Code |
| karimo-implementeropensesh/KARIMO | Agent | 290 | 24d ago | Apache-2.0 | A | 49 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 115 | 4d ago | MIT | A | 169 | Claude Code |
| reviewergenkovich/sdd | Agent | 199 | 22d ago | MIT | A | 81 | Claude Code |