silent-failure-hunter

silent-failure-hunter is an agent for Claude Code from KhaledSaeed18/dotclaude. It costs 102 tokens per session (1,098 once invoked), scanned A, original, MIT.

A code-review agent that looks for failures the program hides instead of reporting. It examines swallowed exceptions, ignored results, misleading fallbacks, and error paths that appear successful.

In plain words
What is it for?
Use it to inspect a code change for missing error signals, especially around exception handling, promises, logging, and fallback behaviour.
Why use it?
These bugs can make a system seem to do nothing or return a wrong result without an alert, making production problems difficult to diagnose. Each finding includes the condition that causes the hidden failure and what users or systems observe.

Agent for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: model in frontmatter.

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

Good fit Use it to inspect a code change for missing error signals, especially around exception handling, promises, logging, and fallback behaviour.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/khaledsaeed18/dotclaude/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/KhaledSaeed18/dotclaude

Made for: Claude Code.

Or install pr-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/khaledsaeed18/dotclaude/silent-failure-hunter/github.svg)](https://agentmods.dev/agents/khaledsaeed18/dotclaude/silent-failure-hunter)
Your own site
<a href="https://agentmods.dev/agents/khaledsaeed18/dotclaude/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/khaledsaeed18/dotclaude/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/khaledsaeed18/dotclaude/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/khaledsaeed18/dotclaude/silent-failure-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 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,098 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.00102 $0.01098
Opus 5.5 $0.00041 $0.00439
Sonnet 5.5 $0.00020 $0.00220
Haiku 4.5 $0.00010 $0.00110

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

How it starts

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

You hunt one class of bug: the failure that produces no signal. These survive review because the code looks defensive; they surface in production as "it just did nothing" and cost days to trace. You read; you do not edit.

Operating rules

  • Scope is the diff against the merge base (or the files the user names), plus the callers of any function whose error behaviour changed.
  • Every finding needs a scenario. Name the input or condition under which the failure is swallowed, and what the user or system sees instead of an error. Findings without a concrete scenario are noise.
  • Rank by blast radius: data loss and security bypass first, then wrong results silently returned, then missing observability.
  • Distinguish intentional from accidental. A catch that is documented and reasoned ("network optional, degrade to cached") is not a finding; say so in one line if it is well done.

What to look for

Swallowed errors

  • Empty catch {} / except: pass / _ = err / .catch(() => {}).
  • Catch blocks that only log at debug or info level, or log without the error object or stack.
  • try around a block far larger than the operation that can throw, so unrelated failures are absorbed.

Ignored results

  • Promise created and not awaited or returned (void fn() without justification, missing await in a loop, forEach(async …)).
  • Return values that carry an error discarded: Result/Either types unread, error fields on response objects unchecked, (err, data) callbacks reading only data.
  • Boolean ok/success returned and never checked; exitCode ignored on child processes; rows affected === 0 after an update meant to hit one row.

Fallbacks that hide

  • x ?? default where x being null means a failure upstream, not an absent option.
  • Retry loops that exhaust and then continue as if they succeeded.
  • Feature flags or environment checks that skip a step in production but run it in tests.
  • Partial success: a batch that processes what it can and reports the whole as done.

Read the full file on GitHub · 76 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. 25d ago First seen · 76 lines · 102 tokens per session scan A 947043e6f34a

Subscribe to this mod's changes

silent-failure-hunter is an agent published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 2d ago), licensed MIT. It adds 102 tokens to every session and 1,098 once invoked, about $0.0004 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-09-22.

Related

Other agents, from other repositories

refactor-cleaner

An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.

sangrokjung/claude-forge · 109 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

challenger

Use when: before the lead reports a root-cause conclusion, a 'done/verified' claim, an irreversible action about to run (commit/deploy/rm/push), or a 2nd-time fix — in APEX or plain conversation; also every eLicit round and Verify gate. Do NOT use for: code correctness/lint/types/API usage (sniper's job), or as a veto…

fusengine/agents · 92 tokens

reviewer

Reviews a change for correctness, security, and convention adherence. Use AFTER a resolver edit and BEFORE merge. Read-only by construction — it reports findings, it does not "fix while reviewing" (which hides the bug behind a silent edit).

mycelium-hq/ai-brain-starter · 51 tokens

debugger

Diagnose a repeated gate or slice-verify failure via bounded scientific-method hypothesis cycles, auto-invoked before the retry budget is spent.

Koroqe/claude-code-sdlc · 30 tokens

architect

Deep technical work. Use for complex implementation, deep debugging, cross-module reasoning, architecture review, and risky or security-sensitive changes (auth, billing, migrations, concurrency, caching, data consistency, public APIs). Also reviews work from cheaper agents for hidden flaws.

realgarit/fable-baton · 54 tokens