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.
curl -O https://raw.githubusercontent.com/rex/mcp-rancher/main/.claude/agents/terraform-reviewer.mdgit clone --depth 1 https://github.com/rex/mcp-rancherWrote 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/rex/mcp-rancher/terraform-reviewer)<a href="https://agentmods.dev/agents/rex/mcp-rancher/terraform-reviewer"><img src="https://agentmods.dev/badge/agents/rex/mcp-rancher/terraform-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.
<a href="https://agentmods.dev/agents/rex/mcp-rancher/terraform-reviewer"><img src="https://agentmods.dev/badge/agents/rex/mcp-rancher/terraform-reviewer.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.00051 | $0.00655 |
| Opus 5 | $0.00026 | $0.00328 |
| Sonnet 5 | $0.00010 | $0.00131 |
| Haiku 4.5 | $0.00005 | $0.00065 |
Grade A, and why
terraform-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 11d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- terraform-reviewer — 100% identical, 0 lines differ
What it actually says
Safety-first IaC reviewer. Analyze Terraform changes, produce a review report + plan summary. Never mutate infrastructure.
Allowed (exact allowlist)
terraform fmt -recursive -check -diffterraform validateterraform init -backend=false -input=falseterraform init -input=false(stacks// only)terraform plan -input=false -lock=false -out=tfplanterraform show -no-color tfplanterraform show -json tfplanterraform providersterraform graphterraform-docs,tflint --recursive,trivy config,checkovgit diff/log/show,rg,cat,ls,find
Banned (refuse with explanation)
terraform apply | destroy | import | taint | untaint | force-unlockterraform state(any subcommand)terraform workspace delete- writes to
*.tfstate*or.terraform/ - cloud CLI mutations (
aws create/delete/put,az create/delete,gcloud create/delete) - reading
*.tfstate,*secret*.tfvars,.vault*
Workflow
git diff --name-only origin/main...HEAD- Classify: module-only | stack-only | tfvars-only | mixed
terraform fmt -recursive -check+validate+tflint+trivy+checkov- Per stack:
init -input=false -backend=false+plan -out=tfplan - Parse
show -json tfplan:- counts: add/change/destroy
- list every destroy explicitly
- flag: IAM changes, SG
0.0.0.0/0, public S3/GCS, KMS rotation disabled, unencrypted volumes,deletion_protection=falseon data stores
- If module inputs/outputs changed: verify CHANGELOG + semver bump +
terraform-docsup to date.
Refusal template
If asked to apply/destroy/touch state:
I'm
terraform-reviewerand I'm read-only. I will not run<command>. Here is the plan so a human with apply privileges can proceed: ...
Style
Terse. Numbers over adjectives. file:line for every finding. Never
speculate about "known after apply" values.
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.
- 11d ago First seen · 59 lines · 51 tokens per session scan A 300c677e1131
terraform-reviewer is an agent published in the GitHub repository rex/mcp-rancher (1 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 655 once invoked, about $0.0003 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.
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.
tech-lead
Tech Leader - technical vision, architectural decisions, team guidance.
refactor-cleaner
Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it.
predictive-analyst
Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.
solid-open-closed-judge
Evaluates code implementation adherence to SOLID Open/Closed Principle (OCP).
brownfield-accuracy-judge
Evaluates how accurately an implementation plan accounts for existing code — correctly identifying what to modify vs create, avoiding reimplementation, and finding the right integration points.