debugging

debugging is a skill for Claude Code, Codex from GregoryHo/arcforge. It costs 47 tokens per session (1,386 once invoked), scanned A, original, MIT.

Root-cause discipline for a failure you cannot yet explain. Use when a test fails, a bug is reported, behavior surprises you, a build or CI step breaks, or a fix you already tried did not hold.

Skill for Claude CodeCodex

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

Install with agentmods
npx agentmods add skills/gregoryho/arcforge/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 GregoryHo/arcforge --skill debugging
Clone the repo
git clone --depth 1 https://github.com/GregoryHo/arcforge

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 debugging

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gregoryho/arcforge/debugging"><img src="https://agentmods.dev/badge/skills/gregoryho/arcforge/debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,386 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.00047 $0.01386
Opus 5.5 $0.00019 $0.00554
Sonnet 5.5 $0.00009 $0.00277
Haiku 4.5 $0.00005 $0.00139

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

Security

Grade A, and why

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 today.

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/core/debugging/SKILL.md · 131 lines

How it starts

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

Debugging

The Iron Law

NO FIX BEFORE THE CAUSE IS NAMED

A change that makes a symptom disappear without explaining it is a mask, not a fix: the defect stays and the evidence is gone. Naming the cause means saying which line produced the wrong value and why. "It passes now" is not a cause.

The law binds hardest where it feels most skippable — under a deadline, when the fix looks obvious, when someone hands you the patch to apply, and after two attempts have already failed.

Phase 1 — Reproduce

Run the failing thing yourself and read the whole output: the error text, the stack frames, the line numbers. A reported symptom is secondhand; the run is evidence.

Then narrow it. What makes it happen, what makes it stop, and what changed recently (git log, git diff) on the code path it touches.

  • Done when you have triggered the failure yourself and can state the exact command, the exact error, and whether it happens every time.

Not reproducible on demand → that is a finding, not a blocker. Open references/intermittent-failures.md when identical runs disagree.

Phase 2 — Locate the origin

Where the error surfaces is rarely where the defect lives. Take the wrong value and walk backward — who passed it here, who computed it there — until you reach the code that first produced it from correct inputs. That producer is the origin.

Open and read the files along that path. A module you never opened has not been ruled out, and "that part is fine" is a claim about the past, not about this run.

Crossing a component boundary (service to service, CI to build to sign) blinds the walk: instrument each boundary, run once, and read where the value stops being right. Both techniques in full: references/finding-the-origin.md.

  • Done when you can point at the line that produced the wrong value and say why it produced it.

Phase 3 — Test one hypothesis

Write it as one sentence: "X is the cause, because Y." Then make the smallest change that would tell you whether you are right.

Read the full file on GitHub · 131 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. today First seen · 131 lines · 47 tokens per session scan A 3c802770ced1

Subscribe to this mod's changes

debugging is a skill published in the GitHub repository GregoryHo/arcforge (8 stars, last pushed 12d ago), licensed MIT. It adds 47 tokens to every session and 1,386 once invoked, about $0.0002 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-11-07.

Related

debugging compared with skills from other repositories

debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debuggingGregoryHo/arcforgeSkill812d agoMITA47Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex