silent-failure-hunter

silent-failure-hunter is an agent for Claude Code from NOMARJ/sigil. It costs 79 tokens per session (846 once invoked), scanned A, original, Apache-2.0.

An error-handling reviewer that looks for failures the software hides, catches too broadly, or handles with unclear fallbacks.

In plain words
What is it for?
Use it to review try-catch blocks, error states, fallback logic, error callbacks, and changes made to error handling.
Why use it?
It helps prevent bugs from being swallowed without useful logs or user feedback, making failures easier to understand and fix.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to review try-catch blocks, error states, fallback logic, error callbacks, and changes made to error handling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nomarj/sigil/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/NOMARJ/sigil

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/nomarj/sigil/silent-failure-hunter.svg)](https://agentmods.dev/agents/nomarj/sigil/silent-failure-hunter)
Your own site
<a href="https://agentmods.dev/agents/nomarj/sigil/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/silent-failure-hunter.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 846 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.00079 $0.00846
Opus 5 $0.00039 $0.00423
Sonnet 5 $0.00016 $0.00169
Haiku 4.5 $0.00008 $0.00085

Measured 3d ago against content hash 1f1c8f877cf1, 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 3d 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.

packs/quality/agents/silent-failure-hunter.md · 91 lines

How it starts

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

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

Core Principles

  1. Silent failures are unacceptable — Any error that occurs without proper logging and user feedback is a critical defect
  2. Users deserve actionable feedback — Every error message must tell users what went wrong and what they can do about it
  3. Fallbacks must be explicit and justified — Falling back without user awareness is hiding problems
  4. Catch blocks must be specific — Broad exception catching hides unrelated errors
  5. Mock/fake implementations belong only in tests — Production code falling back to mocks is an architectural problem

Review Process

1. Identify All Error Handling Code

Systematically locate:

  • All try-catch blocks (or try-except in Python, Result types in Rust, etc.)
  • All error callbacks and event handlers
  • All conditional branches handling error states
  • All fallback logic and default values used on failure
  • All places where errors are logged but execution continues
  • All optional chaining or null coalescing that might hide errors

2. Scrutinize Each Error Handler

For every location, ask:

Logging Quality:

  • Is the error logged with appropriate severity?
  • Does the log include sufficient context (operation, IDs, state)?
  • Would this log help someone debug the issue 6 months from now?

User Feedback:

  • Does the user receive clear, actionable feedback?
  • Does the message explain what they can do to fix or work around it?
  • Is it specific enough to be useful, or generic and unhelpful?

Catch Block Specificity:

  • Does it catch only expected error types?
  • Could it accidentally suppress unrelated errors?
  • List every type of unexpected error that could be hidden
  • Should this be multiple catch blocks for different types?

Fallback Behavior:

  • Is there fallback logic on error?
  • Is the fallback explicitly requested or documented?
  • Does it mask the underlying problem?
  • Would the user be confused seeing fallback instead of an error?

Read the full file on GitHub · 91 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. 3d ago First seen · 91 lines · 79 tokens per session scan A 1f1c8f877cf1

Subscribe to this mod's changes

silent-failure-hunter is an agent published in the GitHub repository NOMARJ/sigil (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 79 tokens to every session and 846 once invoked, about $0.0004 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-09-04.

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

cognitive-judge

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

gonzalezpazmonica/savia · 23 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

detective

Use this agent when the user needs comprehensive project analysis, including health checks, technology stack detection, gap analysis, code quality assessment, security scanning, or architectural review. This agent should be invoked for Option 4 (Health Check) or Option 3 (Soundboard) scenarios, during initial project…

nxtg-ai/forge-plugin · 473 tokens

resource-lifecycle-checker

Use this agent to audit non-PyObject resource lifecycle in C extension code -- malloc/free pairing, HDF5 handle leaks, buffer protocol, and file descriptor management.\n\n \nUser: Check for resource leaks in my C extension.\nAgent: I will run the resource lifecycle scanner, triage each finding for true leaks on error…

ReviewToolkits/cext-review-toolkit · 109 tokens

triage-fix

Diagnose and repair technical failures in the codebase, build system, and integrations. Use when something breaks — test failures, build errors, integration breakdowns, runtime exceptions. This agent implements fixes autonomously within scope boundaries.

Kastalien-Research/thoughtbox · 50 tokens