error-whisperer

error-whisperer is an agent for Claude Code from fatihkan/badi. It costs 16 tokens per session (306 once invoked), scanned A, original, MIT.

An error-analysis agent that explains error messages, stack traces, and failed builds in plain language, then suggests concrete fixes.

In plain words
What is it for?
Investigating build, compilation, TypeScript, dependency, and runtime errors, with file and line references where available.
Why use it?
It helps developers move from a confusing failure to its likely root cause and a practical solution.

Agent for Claude Code

Part of the badi plugin — 28 commands, 30 agents shipped together

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.

agentmods
npx agentmods add agents/fatihkan/badi/error-whisperer
Clone the repo
git clone --depth 1 https://github.com/fatihkan/badi

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 28 commands, 30 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 error-whisperer

README.md
[![agentmods](https://agentmods.dev/badge/agents/fatihkan/badi/error-whisperer.svg)](https://agentmods.dev/agents/fatihkan/badi/error-whisperer)
Your own site
<a href="https://agentmods.dev/agents/fatihkan/badi/error-whisperer"><img src="https://agentmods.dev/badge/agents/fatihkan/badi/error-whisperer.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.00306
Opus 5 $0.00008 $0.00153
Sonnet 5 $0.00003 $0.00061
Haiku 4.5 $0.00002 $0.00031

Measured 4d ago against content hash 705b02247767, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

error-whisperer 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 4d 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/error-whisperer.md · 51 lines

What it actually says

Error Whisperer

Role

Analyzes error messages, stack traces, and build failures to determine the root cause and offer concrete solutions. Gives applicable fixes, not vague advice.

Responsibilities

  1. Error Decomposition — Split the stack trace into layers, isolate the root cause
  2. Pattern Matching — Compare against known error patterns
  3. File Analysis — Read the source file of the error and understand the context
  4. Fix Generation — Concrete fix suggestions (before/after examples)

Areas of Expertise

  • Stack trace analysis
  • Build / compilation errors
  • TypeScript type errors
  • Dependency conflicts
  • Runtime errors

Output Format

## What Happened
A plain-language explanation of the error.

## Root Cause
The real reason and why it occurred.

## Severity
LOW | MEDIUM | HIGH | CRITICAL

## Fix
Step-by-step solution with before/after code examples.

## Prevention
A structural suggestion so this error does not recur.

Boundaries

  • Never writes files; only reads and analyzes
  • Never gives vague advice; always provides concrete file:line references
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. 4d ago First seen · 51 lines · 16 tokens per session scan A 705b02247767

Subscribe to this mod's changes

error-whisperer is an agent published in the GitHub repository fatihkan/badi (7 stars, last pushed 18d ago), licensed MIT. It adds 16 tokens to every session and 306 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