systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from J-Pster/Psters_AI_Workflow. It costs 31 tokens per session (346 once invoked), scanned A, original, MIT.

A step-by-step method for finding the real cause of bugs, failing tests, and unexpected software behavior before changing code. It uses reproduction, comparison with working code, focused hypothesis tests, and verification.

In plain words
What is it for?
Use it to investigate errors, failing tests, broken features, timing problems, and regressions, then apply and verify a minimal fix.
Why use it?
It reduces guesswork and prevents repeated fixes that do not address the underlying problem. It also requires checking that a reported fix actually works.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate errors, failing tests, broken features, timing problems, and regressions, then apply and verify a minimal fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j-pster/psters_ai_workflow/systematic-debugging
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 J-Pster/Psters_AI_Workflow --skill systematic-debugging
Clone the repo
git clone --depth 1 https://github.com/J-Pster/Psters_AI_Workflow

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/j-pster/psters_ai_workflow/systematic-debugging/github.svg)](https://agentmods.dev/skills/j-pster/psters_ai_workflow/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/j-pster/psters_ai_workflow/systematic-debugging"><img src="https://agentmods.dev/badge/skills/j-pster/psters_ai_workflow/systematic-debugging/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 systematic-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/j-pster/psters_ai_workflow/systematic-debugging"><img src="https://agentmods.dev/badge/skills/j-pster/psters_ai_workflow/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 346 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.00031 $0.00346
Opus 5.5 $0.00012 $0.00138
Sonnet 5.5 $0.00006 $0.00069
Haiku 4.5 $0.00003 $0.00035

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

Security

Grade A, and why

systematic-debugging 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (find-polluter.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/psters-ai-workflow/skills/systematic-debugging/SKILL.md · 53 lines

What it actually says

Systematic Debugging

Do not jump to fixes. Find root cause first.

4-phase process

1) Root-cause investigation

  • Reproduce issue with explicit steps.
  • Read errors/stack traces fully.
  • Check recent changes likely to affect behavior.
  • Gather targeted evidence at component boundaries.

2) Pattern identification

  • Find similar working code/path.
  • Compare working vs failing flow.
  • List concrete differences.

3) Hypothesis test

  • Form one hypothesis at a time.
  • Apply the smallest possible change to test it.
  • Validate hypothesis before moving to additional changes.

4) Minimal fix + validation

  • Implement only the root-cause fix.
  • Re-run reproduction and verification commands.
  • Confirm no collateral regressions in affected scope.

Guardrails

  • If 2+ blind fixes already failed, restart at Phase 1.
  • If 3+ attempts fail, escalate: question architecture/pattern choice.
  • Never report success without applying verification-before-completion.

Supporting techniques (use when applicable)

  • root-cause-tracing.md for deep stack tracing.
  • condition-based-waiting.md for async/timing issues.
  • defense-in-depth.md for post-fix boundary hardening.
  • find-polluter.sh when isolated test passes but suite fails.

In this workflow

  • Trigger automatically for /pwf-work and /pwf-work-plan when the task is bug/debug/failure oriented.
Files

What ships with it

4 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. 1mo ago First seen · 53 lines · 31 tokens per session scan A ec3e71da7813

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository J-Pster/Psters_AI_Workflow (289 stars, last pushed 7mo ago), licensed MIT. It adds 31 tokens to every session and 346 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

sentry-fix-issues

Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.

openclaw/clawhub · 58 tokens

audit

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.

fengshao1227/ccg-workflow · 54 tokens

debugging-executions

Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error. Also load when a live run you started for the user fails with an error from…

n8n-io/n8n · 86 tokens

n8n-docs-assistant

Answers n8n product, setup, credential, node, hosting, API, and usage questions from current n8n docs. Use when the user asks how to configure, set up, troubleshoot, or understand n8n behavior, especially credential setup questions — including which OAuth scopes or permissions a provider app needs.

n8n-io/n8n · 71 tokens

sentry-sdk-upgrade

Upgrade the Sentry JavaScript SDK across major versions. Use when asked to upgrade Sentry, migrate to a newer version, fix deprecated Sentry APIs, or resolve breaking changes after a Sentry version bump.

getsentry/sentry-for-ai · 48 tokens

dorodango

Polishes working code through successive quality passes in fresh subagents. Use after tests pass when code needs multi-dimension refinement before release.

athola/claude-night-market · 31 tokens