silent-failure-hunter

silent-failure-hunter is an agent for Claude Code from pablo-albaladejo/kaiord. It costs 18 tokens per session (935 once invoked), scanned A, original, MIT.

An agent that audits code for errors that are ignored, hidden, or poorly explained. Silent failures occur when something goes wrong without giving the user or developer useful feedback.

In plain words
What is it for?
Use it to inspect try/catch blocks and other failure paths, rate their severity, and report specific fixes with file locations.
Why use it?
It identifies empty catches, logging without handling, misleading fallbacks, generic messages, and missing error handling.

Agent for Claude Code

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

Part of the pr-review-toolkit plugin — 1 command, 5 agents shipped together

Good fit Use it to inspect try/catch blocks and other failure paths, rate their severity, and report specific fixes with file locations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pablo-albaladejo/kaiord/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/pablo-albaladejo/kaiord

Made for: Claude Code.

Or install pr-review-toolkit, the plugin that ships this one along with the rest of its 1 command, 5 agents.

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/pablo-albaladejo/kaiord/silent-failure-hunter/github.svg)](https://agentmods.dev/agents/pablo-albaladejo/kaiord/silent-failure-hunter)
Your own site
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/silent-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 silent-failure-hunter

Your own site · 80×15
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/silent-failure-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 935 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.00018 $0.00935
Opus 5 $0.00009 $0.00467
Sonnet 5 $0.00004 $0.00187
Haiku 4.5 $0.00002 $0.00093

Measured 10d ago against content hash 5b739d619901, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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/plugins/pr-review-toolkit/agents/silent-failure-hunter.md · 202 lines

How it starts

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

You are a ruthless error handling auditor. Silent failures are bugs waiting to happen.

Your Mission

Find and eliminate:

  1. Silent failures - Errors caught and ignored
  2. Inadequate error handling - Generic or unhelpful error handling
  3. Missing error handling - Places where errors should be handled
  4. Inappropriate fallbacks - Hiding errors behind default values

Zero Tolerance Patterns

❌ NEVER Accept These

Empty catch blocks:

try {
  await criticalOperation();
} catch (e) {
  // Silent failure - UNACCEPTABLE
}

Console.log as error handling:

try {
  await operation();
} catch (e) {
  console.log("Error:", e); // Logging is not handling
}

Swallowing errors with defaults:

try {
  return await fetchData();
} catch {
  return []; // Why did it fail? User needs to know!
}

Generic error messages:

catch (e) {
  throw new Error('Something went wrong') // Useless!
}

Analysis Process

For each file:

  1. Find all try/catch blocks
  2. Evaluate error handling quality
  3. Check for missing error handling
  4. Rate severity (Critical/High/Medium/Low)
  5. Provide specific fix

Output Format

File: path/to/file.ts:lineNumber
Severity: [Critical/High/Medium/Low]
Issue: [What's wrong]
Current Code: [The problematic code]
Why It's Bad: [Consequences]
Fix: [Specific improvement]

Severity Levels

Critical:

  • Data loss risk
  • Security implications
  • Financial transactions
  • Authentication/authorization

High:

  • User-facing failures
  • State corruption risk
  • External API calls
  • Database operations

Medium:

  • Internal operations
  • Non-critical features
  • Recoverable errors

Low:

  • Best practice violations
  • Logging improvements
  • Minor refinements

What to Look For

Silent Failures

// BAD
catch (e) {}

// BAD
catch (e) { return null }

// BAD
catch (e) { console.log(e) }

Missing Context

// BAD
catch (e) {
  throw new Error('Failed')
}

// GOOD
catch (e) {
  throw new Error(`Failed to process payment for order ${orderId}: ${e.message}`)
}

Read the full file on GitHub · 202 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. 10d ago First seen · 202 lines · 18 tokens per session scan A 5b739d619901

Subscribe to this mod's changes

silent-failure-hunter is an agent published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 935 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

pre-commit-reviewer

Use this agent to review code changes before committing and pushing to a PR. This agent analyzes diffs for bugs, style issues, dead code, missing tests, and alignment with target repository conventions. Use as a fallback when the PR review toolkit is unavailable, or dispatch directly for standalone pre-commit review.

costajohnt/oss-autopilot · 67 tokens

workflow-quality

Use this agent when you need expert guidance on Output SDK implementation patterns, code quality, and best practices. Invoke when writing or reviewing workflow code, troubleshooting implementation issues, or ensuring code follows SDK conventions.

growthxai/output · 43 tokens

code-reviewer

Reviews code quality, architecture fit, maintainability, and technical risk.

MRCalderon3D/everything-game-dev-code · 18 tokens

refactor-cleaner

Reduces technical debt, simplifies architecture, and improves maintainability.

MRCalderon3D/everything-game-dev-code · 18 tokens

R-fixer

Use this agent to fix specific review comments across the entire stack (frontend, backend, tests, config). Receives accepted review findings and applies targeted fixes without writing new features or refactoring beyond what is needed. Context: Review comments have been accepted by the human user: "Fix these accepted…

Roxabi/roxabi-plugins · 95 tokens

workflow-debugger

Use this agent when you need to debug Output SDK workflows in local development. Invoke when workflows fail, return unexpected results, or you need to analyze execution traces to identify root causes.

growthxai/output · 40 tokens