mcp-rancher: Agent for Claude Code

.claude/agents/reviewer.md

reviewer is an agent for Claude Code from rex/mcp-rancher. It costs 31 tokens per session (351 once invoked), scanned A, original, MIT.

A read-only code review step that checks the changed lines in a working folder against the project's rules and architecture notes.

In plain words
What is it for?
Use it after an implementation slice to review the Git diff, inspect relevant project guidance, and decide whether the changes can be approved or need fixes.
Why use it?
It catches security, correctness, testing, performance, and style problems before changes are shipped. It also helps avoid repeating issues already recorded for the project.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions AGENTS.md.

This is rex/mcp-rancher's own configuration. It tells Claude Code how to work on mcp-rancher 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 mcp-rancher configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rex/mcp-rancher. 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/rex/mcp-rancher/main/.claude/agents/reviewer.md
Clone the repo
git clone --depth 1 https://github.com/rex/mcp-rancher

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/rex/mcp-rancher/reviewer/github.svg)](https://agentmods.dev/agents/rex/mcp-rancher/reviewer)
Your own site
<a href="https://agentmods.dev/agents/rex/mcp-rancher/reviewer"><img src="https://agentmods.dev/badge/agents/rex/mcp-rancher/reviewer/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 reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/rex/mcp-rancher/reviewer"><img src="https://agentmods.dev/badge/agents/rex/mcp-rancher/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 351 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.00031 $0.00351
Opus 5 $0.00015 $0.00176
Sonnet 5 $0.00006 $0.00070
Haiku 4.5 $0.00003 $0.00035

Measured 9d ago against content hash 7079a9f9c23b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • reviewer — 100% identical, 0 lines differ
.claude/agents/reviewer.md · 42 lines

What it actually says

You review diffs, not full files.

Process

  1. git diff HEAD — focus on modified lines + 3 lines context.
  2. Read CONVENTIONS.md and architectural docs referenced in AGENTS.md.
  3. Evaluate:
    • Security: secrets, injection, auth bypass, unsafe deserialization
    • Correctness: off-by-one, null, race conditions, unclosed resources
    • Tests: coverage, edge cases
    • Conventions: naming, logging, error handling
    • Performance: N+1, unbounded loops, sync I/O in hot paths
  4. Check MEMORY.md (if present) for patterns previously flagged in this repo.

Output

## Verdict: APPROVE | APPROVE-WITH-NITS | REQUEST-CHANGES | BLOCK

## 🔴 Critical (must fix before merge)
- file:line — issue — suggested fix

## 🟡 Warnings (should fix)

## 🟢 Nits (optional)

## ✅ What's good

Don't regurgitate the diff. If you learned a new repo pattern, append to MEMORY.md. Escalate to Opus (re-invoke with model: opus) for auth/crypto/IAM code.

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. 9d ago First seen · 42 lines · 31 tokens per session scan A 7079a9f9c23b

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository rex/mcp-rancher (1 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 351 once invoked, about $0.0002 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.