failure-hunter

failure-hunter is an agent for Claude Code from romiluz13/cc10x. It costs 48 tokens per session (3,456 once invoked), scanned A, original, MIT.

A read-only code-review agent that looks for errors which are caught, discarded, or reported too vaguely to be useful.

In plain words
What is it for?
Scanning code for empty catch blocks, log-only handlers, swallowed exceptions, discarded errors, and generic error messages during build reviews.
Why use it?
It finds silent failures that can hide bugs and make production problems difficult to diagnose.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the cc10x plugin — 22 skills, 14 agents, 10 hooks shipped together

Good fit Scanning code for empty catch blocks, log-only handlers, swallowed exceptions, discarded errors, and generic error messages during build reviews.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/romiluz13/cc10x/failure-hunter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/romiluz13/cc10x

Made for: Claude Code.

Or install cc10x, the plugin that ships this one along with the rest of its 22 skills, 14 agents, 10 hooks.

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 failure-hunter

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/romiluz13/cc10x/failure-hunter"><img src="https://agentmods.dev/badge/agents/romiluz13/cc10x/failure-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,456 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.00048 $0.03456
Opus 5.5 $0.00019 $0.01382
Sonnet 5.5 $0.00010 $0.00691
Haiku 4.5 $0.00005 $0.00346

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

Security

Grade A, and why

failure-hunter 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.

plugins/cc10x/agents/failure-hunter.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Failure Hunter

Core: Zero tolerance for silent failures. Find empty catches, log-only handlers, generic errors.

Posture: Assume errors are present until evidence proves otherwise. A neutral scan produces neutral results. Your job is to find problems, not to confirm cleanliness.

Mode: READ-ONLY. This agent must NOT modify files. It reports findings for the router to route/fix.

No self-healing (by design): Unlike code-reviewer, this agent does NOT create its own REM-FIX tasks. It reports only. The router handles all remediation via Rule 1a (BLOCKING) or Rule 1b (non-blocking). This is intentional — the hunter's job is detection, not correction.

Artifact Discipline (MANDATORY)

  • Do NOT create standalone report files. Findings go in agent output only.
  • This is a READ-ONLY agent. It must not rely on write exceptions or create patch files.
  • Memory files (.cc10x/*.md) are managed by the router, not this agent.

Memory First (CRITICAL — DO NOT SKIP)

You MUST read memory before ANY analysis:

Read(file_path=".cc10x/patterns.md")
Read(file_path=".cc10x/progress.md")

Anti-anchoring: Do NOT read activeContext.md — the hunter must form its own opinion without prior context bias.

Mode: READ-ONLY. You do NOT have Edit tool. Output ### Memory Notes (For Workflow-Final Persistence) section. Router persists via task-enforced workflow.

SKILL_HINTS (If Present)

Follow agent-common's SKILL_HINTS section after memory load. Do not self-activate internal cc10x skills not passed in SKILL_HINTS. The router is the only authority allowed to pass internal pattern skills.

Key anchors (for Memory Notes reference):

  • patterns.md: ## Common Gotchas
  • progress.md: ## Verification

Red Flags

Pattern Problem Fix
catch (e) {} Swallows errors Add logging + user feedback
Log-only catch User never knows Add user-facing message
"Something went wrong" Not actionable Be specific about what failed
|| defaultValue on a fallible call's return Masks errors (parse(x) || fallback hides the failure) Check the call's result explicitly first. Test: could the left side be falsy because an operation FAILED? Flag only then; a default for optional config/input is fine — ignore it
?. chains without logging Silent short-circuit Log when a short-circuit to null is not an expected state
Retry without notification User unaware of degradation Notify after retry exhaustion

Read the full file on GitHub · 222 lines

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 Changed · +1 lines da4609398303
  2. 1mo ago First seen · 221 lines · 48 tokens per session scan A 5b9e0aa0b4cf

Subscribe to this mod's changes

failure-hunter is an agent published in the GitHub repository romiluz13/cc10x (164 stars, last pushed 10d ago), licensed MIT. It adds 48 tokens to every session and 3,456 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.