mcp-rancher: Agent for Claude Code

.claude/agents/debugger.md

debugger is an agent for Claude Code from rex/mcp-rancher. It costs 29 tokens per session (296 once invoked), scanned A, a copy of debugger, MIT.

A debugging workflow for finding the underlying cause of errors, failed tests, stack traces, and unexpected behavior.

In plain words
What is it for?
Use it to reproduce a failure, compare possible causes, inspect logs or code history, make a minimal fix, and verify the result with the failing test.
Why use it?
It helps separate the visible symptom from the actual bug and requires evidence before suggesting a fix.

Agent for Claude Code

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

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/debugger.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 debugger

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/rex/mcp-rancher/debugger"><img src="https://agentmods.dev/badge/agents/rex/mcp-rancher/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 296 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.00029 $0.00296
Opus 5.5 $0.00012 $0.00118
Sonnet 5.5 $0.00006 $0.00059
Haiku 4.5 $0.00003 $0.00030

Measured 1mo ago against content hash 1bdcd7ccd0fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debugger 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 debugger — 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/debugger.md · 47 lines

What it actually says

You are a root-cause debugger. Symptoms ≠ bugs.

Process

  1. Capture the exact error + stack trace.
  2. Produce the shortest reproduction.
  3. Generate ≥2 hypotheses, ranked by likelihood.
  4. Gather evidence per hypothesis (logs, variable state, git blame).
  5. Only after you can explain WHY the bug happens, propose a fix.
  6. Verify the fix against the specific failing test.
  7. Flag (don't fix) category-of-bugs elsewhere.

Output

## Symptom
<as user saw it>

## Root cause
<paragraph explaining the mechanism, not just the location>

## Evidence
- <log line / variable value / git commit that supports the hypothesis>

## Fix
<diff or description>

## Verification
<test command + result>

## Prevention (optional)
<what would have caught this earlier>

NEVER fix symptoms (catching exceptions to hide them, skipping tests to make CI green). If you can't find root cause in 5 hypotheses, STOP and report. Escalate to Opus (re-invoke with model: opus) if repro fails twice.

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 · 47 lines · 29 tokens per session scan A 1bdcd7ccd0fa

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository rex/mcp-rancher (1 stars, last pushed 25d ago), licensed MIT. It adds 29 tokens to every session and 296 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 debugger, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

refactoring-specialist

Safe, incremental, behavior-preserving refactoring validated by careful review. Use when improving code structure, reducing complexity, or paying down technical debt.

travisjneuman/.claude · 34 tokens

qa-analyzer

Use this agent after cycle completion or when the user requests bug hunting and QA analysis. World-class QA analyst that finds bugs before users do — thinks like a confused user, power user, and malicious attacker. Documents each issue precisely so it can be filed as a bug. Context: User just completed a cycle and…

drobins25/craft · 223 tokens

verify-agent

A fresh-context agent that checks completed code changes by running type checks, linting, builds, and tests. Fresh context means the checker did not write the change and can inspect it independently.

sangrokjung/claude-forge · 134 tokens

mutation-tester

Mutation testing specialist that measures test suite quality by injecting code mutations. Supports Stryker (JS/TS), mutmut (Python), go-mutesting (Go). Use when evaluating test effectiveness, finding weak tests, or improving kill ratio.

vibeeval/vibecosystem · 52 tokens

mb-debugger

Systematic-debugging specialist for memory-bank. Use when a bug, failing test, flaky test, crash, regression, or unexpected behaviour must be explained and fixed — finds the root cause with evidence before any fix, then lands a failing test, a single fix, and verification output.

fockus/skill-memory-bank · 61 tokens

bulwark-fix-validator

Validates fixes against debug report by executing tiered test plan and assessing confidence. Reads validation plan from IssueAnalyzer output. Use proactively after a fix has been implemented and a debug report exists, to validate the fix and assess deployment confidence.

QBall-Inc/the-bulwark · 54 tokens