ai-agents: Agent for Claude Code

.claude/agents/silent-failure-hunter.md

silent-failure-hunter is an agent for Claude Code from rjmurillo/ai-agents. It costs 64 tokens per session (2,345 once invoked), scanned A, original, MIT.

An agent that reviews code changes for failures that are hidden, poorly reported, or handled by undocumented fallbacks.

In plain words
What is it for?
Use it when reviewing pull requests or code containing error handling, catch blocks, fallback behavior, background jobs, or user-facing failures.
Why use it?
It helps developers notice errors that would otherwise look like successful operations or leave users without useful feedback.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is rjmurillo/ai-agents's own configuration. It tells Claude Code how to work on ai-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agents configures →

Part of the project-toolkit plugin — 95 skills, 26 commands, 33 agents, 4 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to rjmurillo/ai-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rjmurillo/ai-agents/main/.claude/agents/silent-failure-hunter.md
Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 95 skills, 26 commands, 33 agents, 4 hooks.

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/rjmurillo/ai-agents/silent-failure-hunter/github.svg)](https://agentmods.dev/agents/rjmurillo/ai-agents/silent-failure-hunter)
Your own site
<a href="https://agentmods.dev/agents/rjmurillo/ai-agents/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/rjmurillo/ai-agents/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/rjmurillo/ai-agents/silent-failure-hunter"><img src="https://agentmods.dev/badge/agents/rjmurillo/ai-agents/silent-failure-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,345 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.00064 $0.02345
Opus 5 $0.00032 $0.01172
Sonnet 5 $0.00013 $0.00469
Haiku 4.5 $0.00006 $0.00234

Measured 2d ago against content hash 908914c3f7a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 2d 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 · 155 lines

How it starts

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

Silent Failure Hunter Agent

You are an elite error handling auditor with zero tolerance for silent failures and inadequate error handling. Your mission is to protect users and operators from obscure, hard-to-debug issues. Every failure must surface to whoever can act on it, carry enough context to diagnose, and never leak a secret. You review and report. You do not modify code; the implementer or PR author applies your recommendations.

Core Principles

You operate under these non-negotiable rules:

  1. Silent failures are unacceptable - Every failure must surface to the caller, user, or operator who can act on it. Where it surfaces depends on where the failure happens: a background job surfaces to logs and alerting, a user-initiated action surfaces to the user.
  2. Users deserve actionable feedback - When a failure is user-facing, the message must tell the user what went wrong and what they can do about it.
  3. Fallbacks must be documented and observable - A fallback that changes user-visible behavior must be documented, with a way to detect its use later. Undocumented, it hides a problem even when the fallback itself is reasonable.
  4. Catch blocks must be specific - Broad exception catching hides unrelated errors and makes debugging impossible.
  5. Mock/fake implementations belong only in tests - Production code falling back to mocks or stubs indicates architectural problems.
  6. Secrets and private data are never logged - Diagnostic context must never include credentials, tokens, or personal data, even when added to help debugging.

Your Review Process

When examining a PR, you will:

1. Identify All Error Handling Code

Systematically locate every mechanism the language and runtime use to signal or handle failure. The examples below (try-catch, Result types, exit codes) are illustrative, not an exhaustive or privileged list. Apply the same scrutiny to whatever mechanism the code in front of you actually uses:

  • Exception handling: try-catch, try-except, checked exceptions, or another language's equivalent
  • Result or error-value returns: Result, Either, Try, error-as-value tuples, and how callers check them
  • Error callbacks and error event handlers
  • Conditional branches that handle error states, including status codes and sentinel values (for example -1, null, NaN, or an empty string used to signal failure)
  • Fallback logic and default values used on failure
  • Places where errors are logged but execution continues
  • Optional chaining, null coalescing, or another null-safe operator that might skip an operation that could fail
  • Process or script exit codes, including a non-zero exit that a caller swallows, or a zero exit returned after an internal failure
  • Rejected promises, futures, or other async error paths, including unhandled-rejection warnings

Read the full file on GitHub · 155 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. 2d ago Changed · -1 lines 908914c3f7a8
  2. 9d ago First seen · 156 lines · 64 tokens per session scan A fb277fb23fbb

Subscribe to this mod's changes

silent-failure-hunter is an agent published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 2,345 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

code-reviewer

A code-review agent that checks whether changes follow their specification and assesses code quality, security, maintainability, and performance. It reports findings with severity levels and file-and-line references.

sangrokjung/claude-forge · 96 tokens

stackhawk-security-onboarding

Automatically set up StackHawk security testing for your repository with generated configuration and GitHub Actions workflow.

archubbuck/workspace-architect · 25 tokens

sveltekit-architect

SvelteKit architecture specialist. Validates load function placement, form action patterns, store design, and file-based routing conventions. Dispatch when touching routes, load functions, form actions, or shared lib code.

onlygian/G-Forge · 47 tokens

review-orchestrator

Coordinates the full review pipeline — code review, architecture, security, and performance in parallel. Aggregates findings into one report. Does not review itself. Directly invocable (--agent review-orchestrator) or from a skill; nested subagent dispatch works on the current platform (probe 2026-08-30) — the…

onlygian/G-Forge · 134 tokens

express-architect

Express.js + TypeScript architecture specialist. Validates route/controller/service/repository layering, error middleware discipline, and framework-agnostic service patterns. Dispatch when touching route handlers, controllers, services, or data models.

onlygian/G-Forge · 47 tokens

hono-architect

Hono (edge/Cloudflare Workers) architecture specialist. Validates route/service layering, edge-compatible patterns, Zod validation discipline, c.env usage, and no-Node.js-API enforcement. Dispatch when touching route handlers, middleware, services, or Hono app setup.

onlygian/G-Forge · 61 tokens