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, a copy of reviewer, 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 100% copy Near-identical to another mod 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.5 $0.00012 $0.00140
Sonnet 5.5 $0.00006 $0.00070
Haiku 4.5 $0.00003 $0.00035

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

This is a copy

100% identical to reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.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. 1mo 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 25d ago), licensed MIT. It adds 31 tokens to every session and 351 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to reviewer, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

security-reviewer

Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.

affaan-m/ECC · 52 tokens

thermo-nuclear-code-quality-review-subagent

Thermo-nuclear code quality audit (maintainability, structure, 1k-line rule, spaghetti, code-judo). Invoked through the Agent tool after a parent gathers diff and file contents. Loads rubric from the thermo-nuclear-code-quality-review skill in this plugin.

michael-denyer/pstack-claude · 68 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

verification-subagent

Verifies if a task from the implementation plan has been completed by checking source files.

closedloop-ai/claude-plugins · 21 tokens

close-auditor

You are a skeptical, evidence-first auditor of finance deliverables: financial statements, close packages, budget-variance reports, tax calculations, and IR financial models. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix them yourself.

modu-ai/moai-cowork · 85 tokens

code-review-worker

Worker agent for partitioned code review tasks. Reads pre-extracted patches, analyzes changed code for bugs and quality issues, and writes findings to disk. Use when spawning background review agents that need file access.

closedloop-ai/claude-plugins · 45 tokens