diagnosing-bugs

diagnosing-bugs is a skill for Codex from AkshitIreddy/agent-skills. It costs 23 tokens per session (577 once invoked), scanned A, a copy of diagnosing-bugs, MIT.

A structured process for finding the cause of difficult bugs and performance slowdowns. It starts by creating a reliable way to reproduce the problem, then uses tests, measurements, and captured evidence to narrow it down.

In plain words
What is it for?
Use it when code is broken, throwing errors, failing tests, or running slowly. It helps build a focused failing test or measurement loop and investigate the relevant modules and decisions.
Why use it?
It prevents guesses from replacing evidence and helps distinguish the reported symptom from the actual failure. It also requires secrets to be removed from shared diagnostic output.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when code is broken, throwing errors, failing tests, or running slowly. It helps build a focused failing test or measurement loop and investigate the relevant modules and decisions.

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

Made for: 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 diagnosing-bugs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/akshitireddy/agent-skills/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/akshitireddy/agent-skills/diagnosing-bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 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 100% copy Near-identical to another mod 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.00023 $0.00577
Opus 5.5 $0.00009 $0.00231
Sonnet 5.5 $0.00005 $0.00115
Haiku 4.5 $0.00002 $0.00058

Measured 2mo ago against content hash 3b4d16fc6242, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnosing-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 2mo 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.

Origin

This is a copy

100% identical to diagnosing-bugs — 163 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/diagnosing-bugs/SKILL.md · 64 lines

How it starts

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

Diagnose the reported defect

Adapted from Matt Pocock's diagnosing-bugs skill; see LICENSE.txt.

Establish the actual symptom and a useful feedback loop at the seam where the failure occurs. Prefer an existing test, command, trace, or real interaction that can distinguish the reported bug from nearby failures.

Build evidence without blocking discovery

Read relevant code and logs to locate the failing path and construct a probe. Confirm that the probe can expose the reported symptom before trusting its pass. Reduce irrelevant inputs when that improves diagnosis, without requiring every remaining input to be proven minimal before continuing.

For intermittent failures, record reproduction frequency and conditions. Use bounded repetition, stress, or timing probes suited to the defect. A device or production-only bug may need captured evidence or a longer-running probe; it need not become a deterministic seconds-fast unit test.

If reproduction is unavailable, state the gap and continue evidence-led source inspection or targeted diagnostics. Keep hypotheses tentative. Request only the specific missing artifact, access, or decision that enables further work. Do not add production instrumentation or access without authorization.

Distinguish causes

Rank plausible explanations and define an observable prediction for each. Choose the next probe by how well it separates those explanations. Change one relevant variable at a time when possible; use a debugger, narrow logs, or profiling appropriate to the failure. Performance work needs comparable baseline measurements rather than adjectives.

Communicate findings that affect the user's decisions. A fixed number of hypotheses or a checkpoint before every experiment is unnecessary.

Protect diagnostic data

Inspect and share only the necessary redacted excerpts. Logs, HARs, URLs, dumps, and screenshots can contain credentials and personal data. Keep authentication in the user's normal application flow; never request passwords or tokens in a diagnostic transcript. If human observation is necessary, ask for the relevant action and symptom directly rather than requiring an interactive shell script.

Read the full file on GitHub · 64 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. 2mo ago Changed · -75 lines · -17 tokens per session 3b4d16fc6242
  2. 3mo ago First seen · 139 lines · 40 tokens per session scan A 77f3cf31bc99

Subscribe to this mod's changes

diagnosing-bugs is a skill published in the GitHub repository AkshitIreddy/agent-skills (1 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 577 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to diagnosing-bugs, differing in 163 lines, and is treated as a copy.

Related

diagnosing-bugs compared with skills from other repositories

diagnosing-bugs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagnosing-bugsAkshitIreddy/agent-skillsSkill12mo agoMITA23Codex
debugging-livekit-agentsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A116Claude Code
gcloud-usagefcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A49Claude Code
chisle-auditJayPokale/ChisleSkill1.3k8d agoMITA130Claude Code
mongodb-query-optimizerfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A98Claude Code
frontend-testing-debuggingfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A50Claude Code, Codex
known-errorsChatCut-Inc/agent-pluginSkill1.1kyesterdayApache-2.0A28Claude Code, Codex