debugging-workflow

debugging-workflow is a skill for Claude Code, Codex from thienanblog/awesome-ai-agent-skills. It costs 71 tokens per session (854 once invoked), scanned A, original, Apache-2.0.

A step-by-step process for investigating failures or unexplained behavior before changing code. It emphasizes reproducing the problem, isolating the smallest failing case, and confirming the cause.

In plain words
What is it for?
Use it to read logs and test output, form and test one hypothesis at a time, and add a regression test when practical. It is intended for unknown causes, not routine fixes with an already confirmed cause.
Why use it?
It prevents guesswork, broad refactoring, and fixes that address symptoms instead of the real problem. It keeps the original business behavior in view while narrowing the investigation.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the project-development-skills plugin — 11 skills shipped together

Good fit Use it to read logs and test output, form and test one hypothesis at a time, and add a regression test when practical. It is intended for unknown causes, not routine fixes with an already confirmed cause.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thienanblog/awesome-ai-agent-skills/debugging-workflow
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 thienanblog/awesome-ai-agent-skills --skill debugging-workflow
Clone the repo
git clone --depth 1 https://github.com/thienanblog/awesome-ai-agent-skills

Made for: Claude Code, Codex.

Or install project-development-skills, the plugin that ships this one along with the rest of its 11 skills.

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 debugging-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thienanblog/awesome-ai-agent-skills/debugging-workflow"><img src="https://agentmods.dev/badge/skills/thienanblog/awesome-ai-agent-skills/debugging-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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. 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.00071 $0.00854
Opus 5 $0.00036 $0.00427
Sonnet 5 $0.00014 $0.00171
Haiku 4.5 $0.00007 $0.00085

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

Security

Grade A, and why

debugging-workflow 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 10d 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.

plugins/project-development-skills/skills/debugging-workflow/SKILL.md · 92 lines

How it starts

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

Debugging Workflow

Use this skill when the task starts from a failure or unexplained behavior. Preserve business intent, isolate the smallest failing case, and fix the confirmed cause.

Run this skill in the main conversation. Do not spawn subagents, agent teams, or delegated parallel workers unless the user explicitly approves the proposed count and scope after being told that doing so can increase usage. Ask again before expanding an approved scope.

Operating Rules

  • Reproduce before fixing when possible.
  • Read logs, stack traces, test output, screenshots, and source-of-truth docs before changing code.
  • Do not replace unusual business logic with a generic solution.
  • Do not make broad refactors while the failure cause is still unknown.
  • Form one hypothesis at a time and test it with the fastest reliable check.
  • Keep temporary debug code local and remove it before completion.
  • Add or update a regression test when practical.
  • If the root cause is performance-related, return routing control to project-development-mindset and replace this workflow with performance-optimization when available.
  • If the main work becomes test strategy, return routing control to the coordinator and replace this workflow with testing-verification when available.

Workflow

1. Capture The Failure

  • Record the exact command, URL, input, account state, branch, environment, and error output.
  • Preserve stack traces and failing assertions.
  • For UI bugs, capture the target element/region screenshot first, then full page only if needed.
  • For user screenshots that are ambiguous, annotate unclear regions with labels and ask before coding.

2. Read Source Of Truth

  • Read AGENTS.md, CLAUDE.md, relevant docs, feature specs, design-system docs, route/API/schema files, and nearby tests.
  • Identify whether current behavior is wrong or the expectation is unclear.
  • If docs and code disagree, call out the conflict instead of silently choosing one.

3. Reproduce And Minimize

Read the full file on GitHub · 92 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. 10d ago First seen · 92 lines · 71 tokens per session scan A f88158cf5b6f

Subscribe to this mod's changes

debugging-workflow is a skill published in the GitHub repository thienanblog/awesome-ai-agent-skills (65 stars, last pushed 12d ago), licensed Apache-2.0. It adds 71 tokens to every session and 854 once invoked, about $0.0004 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 skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens