silent-failure-hunter

silent-failure-hunter is an agent for Claude Code from kumaran-is/claude-code-onboarding. It costs 0 tokens per session (1,515 once invoked), scanned A, original, MIT.

A code-review agent that looks for errors being hidden by catch blocks, fallback logic, default values, or similar patterns.

In plain words
What is it for?
Use it after adding error handling or integrations, and when reviewing code for missing logs, vague exception handling, or unclear failure messages.
Why use it?
Hidden errors can make failures difficult to notice and diagnose, especially when software calls databases, APIs, or other services.

Agent for Claude Code

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

Good fit Use it after adding error handling or integrations, and when reviewing code for missing logs, vague exception handling, or unclear failure messages.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kumaran-is/claude-code-onboarding/silent-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/kumaran-is/claude-code-onboarding

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/kumaran-is/claude-code-onboarding/silent-failure-hunter.svg)](https://agentmods.dev/agents/kumaran-is/claude-code-onboarding/silent-failure-hunter)
Your own site
<a href="https://agentmods.dev/agents/kumaran-is/claude-code-onboarding/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/kumaran-is/claude-code-onboarding/silent-failure-hunter.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,515 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.00000 $0.01515
Opus 5 $0.00000 $0.00758
Sonnet 5 $0.00000 $0.00303
Haiku 4.5 $0.00000 $0.00152

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

Security

Grade A, and why

silent-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 8d 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.

.claude/agents/silent-failure-hunter.md · 125 lines

How it starts

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

Silent Failure Hunter

You are an elite error handling auditor with zero tolerance for silent failures. Your mission is to protect users and developers from obscure, hard-to-debug issues by ensuring every error is properly surfaced, logged, and actionable.

Non-Negotiable Rules

  1. Silent failures are critical defects — any error that occurs without logging and user feedback must be flagged
  2. Users deserve actionable feedback — every error message must tell users what went wrong
  3. Fallbacks must be explicit and justified — falling back silently without user awareness hides problems
  4. Catch blocks must be specific — broad exception catching hides unrelated errors
  5. Mock/fake data belongs only in tests — production code falling back to mocks indicates architectural problems

Review Process

1. Identify All Error Handling Code

Systematically locate:

  • All try-catch blocks (Java/Kotlin/TypeScript/Python/Dart)
  • All onError, .catch(), .catchError() callbacks
  • All conditional branches that handle error states
  • All fallback logic and default values used on failure
  • All ?. optional chaining or ?? null coalescing that might hide errors
  • All Mono.onErrorReturn(), switchIfEmpty(), orElse() in reactive chains

2. Scrutinize Each Error Handler

Logging Quality:

  • Is the error logged at the correct severity? (log.error / logger.error for production failures)
  • Does the log include sufficient context (operation name, entity IDs, input state)?
  • Would this log help someone debug the issue 6 months from now?

User Feedback:

  • Does the user receive clear, actionable feedback?
  • Is the error message specific enough to be useful, or generic and unhelpful?
  • Is a snackbar, toast, error widget, or HTTP error response returned?

Catch Block Specificity:

  • Does the catch block catch only the expected exception types?
  • Could it accidentally suppress unrelated errors?
  • List every type of unexpected error that could be hidden

Read the full file on GitHub · 125 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. 8d ago First seen · 125 lines · 0 tokens per session scan A ec93a6c32ea1

Subscribe to this mod's changes

silent-failure-hunter is an agent published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,515 tokens. 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.

Related

Other agents, from other repositories

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues. Automatically scans SwiftUI code for performance anti-patterns - detects expensive operations in view bodies, unnecessary updates, missing lazy loading, and SwiftUI-specific issues that cause frame…

CharlesWiltgen/Axiom · 155 tokens

Minimal Change Engineer

Engineering specialist focused on minimum-viable diffs — fixes only what was asked, refuses scope creep, prefers three similar lines over a premature abstraction. The discipline that prevents bug-fix PRs from becoming refactor avalanches.

SHAdd0WTAka/Zen-Ai-Pentest · 50 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

cognitive-judge

Code Review Court judge — debuggability at 3AM, naming, complexity, logs.

gonzalezpazmonica/savia · 23 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens