bug-analyzer

bug-analyzer is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 39 tokens per session (3,161 once invoked), scanned A, original, MIT.

A code-investigation aid for finding the likely root cause of a software bug or error.

In plain words
What is it for?
Use it to investigate reported errors, analyse stack traces and reproduction steps, or proactively look for hidden bugs, edge cases, and risky code patterns.
Why use it?
It brings together evidence from sources such as Sentry, an error-monitoring service, Jira tickets, branches, error messages, and user reports so the investigation is less guesswork.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to investigate reported errors, analyse stack traces and reproduction steps, or proactively look for hidden bugs, edge cases, and risky code patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/event4u-app/agent-config/bug-analyzer
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.

Any agent
npx skills add event4u-app/agent-config --skill bug-analyzer
Clone the repo
git clone --depth 1 https://github.com/event4u-app/agent-config

Made for: Claude Code, Codex.

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 bug-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/event4u-app/agent-config/bug-analyzer/github.svg)](https://agentmods.dev/skills/event4u-app/agent-config/bug-analyzer)
Your own site
<a href="https://agentmods.dev/skills/event4u-app/agent-config/bug-analyzer"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/bug-analyzer/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 bug-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/event4u-app/agent-config/bug-analyzer"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/bug-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,161 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.03161
Opus 5.5 $0.00016 $0.01264
Sonnet 5.5 $0.00008 $0.00632
Haiku 4.5 $0.00004 $0.00316

Measured 28d ago against content hash dc48666c008d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bug-analyzer scanned grade A with 1 finding 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 28d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Backend bug**: reproduce with `curl` against the failing route (or an `actingAs()` HTTP test) before and after the fix; assert the new response shape with `assertJsonPath`.
src/skills/bug-analyzer/SKILL.md · 306 lines

How it starts

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

bug-analyzer

When to use

Reactive mode: User reports a bug, shares a Sentry issue, or asks to investigate an error. Proactive mode: User asks to audit code for hidden bugs, edge cases, or risky patterns.

Do NOT use when:

Input sources

Bugs can come from multiple sources — gather as many as available:

Source What it provides
Branch name Auto-detected ticket ID (e.g., fix/DEV-1234/...)
Jira ticket Description, acceptance criteria, comments, priority
Sentry issue URL Stacktrace, affected users/environments, frequency, tags
Sentry event ID Specific occurrence with full context
Error message String to search in codebase
User description Reproduction steps, expected vs. actual behavior

Branch ticket detection

Always check the current branch for ticket IDs:

git branch --show-current

Pattern matching:

  • fix/DEV-1234/description → extract DEV-1234
  • fix/PROJ-567-some-bug → extract PROJ-567
  • hotfix/DEV-999 → extract DEV-999
  • Read it with agent-config git:convention ticket — commit-subject § Reading the ticket

If found, auto-fetch the ticket and confirm with the user.

The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

If you haven't completed Phase 1, you cannot propose fixes. Random fixes waste time and create new bugs. Quick patches mask underlying issues.

Read the full file on GitHub · 306 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago Changed dc48666c008d
  2. 1mo ago Changed 731b7766dda2
  3. 1mo ago Changed e9f4a1821063
  4. 3mo ago First seen · 306 lines · 39 tokens per session scan A 4e17803a44f5

Subscribe to this mod's changes

bug-analyzer is a skill published in the GitHub repository event4u-app/agent-config (20 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 3,161 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

bug-analyzer compared with skills from other repositories

bug-analyzer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bug-analyzerevent4u-app/agent-configSkill20todayMITA39Claude Code, Codex
diagnose-backend-bugQoderAI/better-harnessSkill2.5k20d agoMITA87Claude Code, Codex
kiro-verify-completiongotalab/cc-sddSkill3.8k1mo agoMITA39Codex
memorix-troubleshootingAVIDS2/memorixSkill9584d agoApache-2.0A36Claude Code
roblox-performanceTabooHarmony/roblox-brainSkill229todayMITA30Claude Code
lov-app-professional-designlovstudio/skillsSkill72yesterdayMITA79Claude Code
chatcrystal-debug-recallZengLiangYi/ChatCrystalSkill65yesterdayApache-2.0A54Codex