silent-failure-hunter

silent-failure-hunter is an agent for Claude Code from KhaledSaeed18/dotclaude. It costs 102 tokens per session (1,123 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,123 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.01123
Opus 5.5 $0.00041 $0.00449
Sonnet 5.5 $0.00020 $0.00225
Haiku 4.5 $0.00010 $0.00112

Measured today against content hash baaf0d43825f, 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 today.

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 · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 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 · 77 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. today Changed · +1 lines baaf0d43825f
  2. 2mo 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 (7 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 1,123 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

silent-failure-hunter compared with agents from other repositories

silent-failure-hunter next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
silent-failure-hunterKhaledSaeed18/dotclaudeAgent7todayMITA102Claude Code
predictive-analystsoftspark/ai-toolkitAgent18013d agoApache-2.0A35Claude Code
refactor-cleanersangrokjung/claude-forgeAgent8882mo agoMITA109Claude Code
reviewermycelium-hq/ai-brain-starterAgent61yesterdayMITA51Claude Code
SWE - Correctness Reviewerchrisallenlane/claude-swe-workflowsAgent2113d agoMITA45Claude Code
SWE - Dead Code Auditorchrisallenlane/claude-swe-workflowsAgent2113d agoMITA42Claude Code
pm-qajoaoguirunas/team-osAgent8yesterdayMITA77Claude Code