identify-bugs

identify-bugs is a skill for Claude Code from tomzx/agents. It costs 140 tokens per session (5,155 once invoked), scanned A, original, MIT.

A codebase investigation tool that looks for likely bugs, verifies them where possible, and removes findings already recorded as GitHub issues. It reports results without changing source code.

In plain words
What is it for?
Use it to investigate error handling, missing values, boundary cases, asynchronous code, concurrency, state, and resource management.
Why use it?
It helps find defects before they become user-reported problems while avoiding vague or duplicated bug reports.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; positional $N argument; mentions AGENTS.md.

Good fit Use it to investigate error handling, missing values, boundary cases, asynchronous code, concurrency, state, and resource management.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomzx/agents/identify-bugs
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 tomzx/agents --skill identify-bugs
Clone the repo
git clone --depth 1 https://github.com/tomzx/agents

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 identify-bugs

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomzx/agents/identify-bugs/github.svg)](https://agentmods.dev/skills/tomzx/agents/identify-bugs)
Your own site
<a href="https://agentmods.dev/skills/tomzx/agents/identify-bugs"><img src="https://agentmods.dev/badge/skills/tomzx/agents/identify-bugs/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 identify-bugs

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomzx/agents/identify-bugs"><img src="https://agentmods.dev/badge/skills/tomzx/agents/identify-bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,155 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.00140 $0.05155
Opus 5.5 $0.00056 $0.02062
Sonnet 5.5 $0.00028 $0.01031
Haiku 4.5 $0.00014 $0.00515

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

Security

Grade A, and why

identify-bugs 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 16d 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.

skills/identify-bugs/SKILL.md · 398 lines

How it starts

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

TODAY=!date +%Y-%m-%d REPO=!git remote get-url origin 2>/dev/null | sed -E 's#.*[:/]([^/]+/[^/]+)(\.git)?$#\1#'

Identify Bugs

Reads an existing codebase and surfaces latent defects that are worth fixing and are not already tracked in the issue tracker. Every candidate must clear three gates: high confidence (the code path exists and is reachable), verification where possible (a failing test or runnable repro), and not already an existing GitHub issue. The dedup is what keeps the pass useful: the skill loads the issue history with ghx up front and re-checks each candidate, dropping anything tracked and continuing until no untracked bug remains.

This is a proactive, whole-codebase hunt. It does not modify or commit source code. It produces a ranked bug report, and optionally files issues for the bugs that survive dedup.

The Core Problem This Solves

Bugs are usually found by accident, from a stack trace or a user report. A static scan in the other direction produces a pile of "probably a bug" claims, most of which are handled elsewhere, are by design, or are already known. Both directions waste effort. This skill reads the code deliberately, states the exact input and state that produces wrong behavior, verifies the claim where a test seam exists, and excludes anything already tracked, so what it reports is worth acting on.

Skill Direction Input Output
identify-bugs Proactive hunt for unknown defects Whole codebase Ranked, verified, untracked bugs
reproduce-issue Confirm one known bug A GitHub issue A reproduction comment
diagnosing-bugs / systematic-debugging Diagnose one known symptom A failure A root cause
review-pr / identify-style diff review Bugs introduced by a change A diff Review findings
audit-functional-suitability Does the code meet requirements Requirements corpus Completeness and correctness signals
identify-codebase-improvements Make correct code better Whole codebase Improvement recommendations
audit-security Security vulnerabilities Whole codebase Security findings

Read the full file on GitHub · 398 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. 16d ago Changed · +38 lines 7fd12f789c4c
  2. 22d ago Changed · +28 lines 839efc40e3ad
  3. 25d ago Changed e511053c879e
  4. 27d ago First seen · 332 lines · 140 tokens per session scan A ce2023bcf232

Subscribe to this mod's changes

identify-bugs is a skill published in the GitHub repository tomzx/agents (13 stars, last pushed yesterday), licensed MIT. It adds 140 tokens to every session and 5,155 once invoked, about $0.0006 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-10-03.

Related

Other skills, from other repositories

sync-bridge

Reviews and guides Chromium Sync Model API (DataTypeSyncBridge) implementations, including DataTypeStore persistence and forwards/backwards compatibility for sync specifics. Use when implementing or reviewing a DataTypeSyncBridge subclass, DataTypeStore usage, sync metadata persistence, conflict resolution, or…

chromium/chromium · 109 tokens

sync-model-processor

Reviews changes to Chromium Sync model internals in components/sync/model/, including ClientTagBasedDataTypeProcessor, ClientTagBasedRemoteUpdateHandler, ProcessorEntity, ProcessorEntityMetadata, and ProcessorEntityTracker. Use when modifying or reviewing processor state transitions, entity metadata tracking, conflict…

chromium/chromium · 98 tokens

adversarial-reviewer

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…

emdash-cms/emdash · 72 tokens

gsd-ns-review

Invoke this Pi skill with /skill:gsd-ns-review.

open-gsd/gsd-core · 16 tokens

gitnexus

A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.

hashgraph-online/awesome-codex-plugins · 58 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens