debug-tracer

debug-tracer is a skill for Claude Code, Codex from strikersam/autonomous-ai-agency. It costs 0 tokens per session (711 once invoked), scanned A, original, MIT.

A step-by-step method for finding the underlying cause of a software bug. It starts by reproducing the problem, collecting evidence, and ranking possible explanations before changing code.

In plain words
What is it for?
Use it when investigating bug reports, unexpected test failures, unknown wrong behavior, or problems that appeared after a recent change.
Why use it?
It replaces random trial and error with a traceable investigation. This helps avoid fixing only the visible symptom when the real cause is elsewhere.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when investigating bug reports, unexpected test failures, unknown wrong behavior, or problems that appeared after a recent change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strikersam/autonomous-ai-agency/debug-tracer
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 strikersam/autonomous-ai-agency --skill debug-tracer
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

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 debug-tracer

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/debug-tracer/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/debug-tracer)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/debug-tracer"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/debug-tracer/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 debug-tracer

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/debug-tracer"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/debug-tracer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 711 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.00000 $0.00711
Opus 5 $0.00000 $0.00356
Sonnet 5 $0.00000 $0.00142
Haiku 4.5 $0.00000 $0.00071

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

Security

Grade A, and why

debug-tracer 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 11d 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.

.agents/skills/debug-tracer/SKILL.md · 101 lines

How it starts

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

Skill: debug-tracer

Purpose

Systematically trace and resolve bugs using hypothesis-driven debugging. Prevents random trial-and-error and ensures the root cause is found, not just the symptom.

Trigger

Use when:

  • A bug report needs investigation
  • Tests are failing unexpectedly
  • Behavior is wrong but the cause is unknown
  • "It worked before" situations

Process

Step 1: Reproduce First

Before any investigation, reproduce the bug:

# Document exact reproduction steps:
1. [exact command or action]
2. [expected behavior]
3. [actual behavior]
4. [error message or output]

If you cannot reproduce it, stop. A bug you can't reproduce cannot be safely fixed.

Step 2: Gather Evidence

Collect all available information:

  • Full error message and stack trace
  • Relevant log output
  • When it started occurring (if known)
  • What changed recently (git log --oneline -20)
  • Environment details if relevant

Step 3: Form Hypotheses

Based on the evidence, list 2-5 hypotheses ranked by likelihood:

## Hypotheses
1. [Most likely] The input validation in X is not handling Y case
2. [Likely] Race condition in async handler Z
3. [Possible] Dependency version mismatch after recent update
4. [Unlikely] Infrastructure/environment issue

Step 4: Test Hypotheses (Cheapest First)

For each hypothesis, starting with the easiest to test:

  1. What evidence would confirm or deny this hypothesis?
  2. What is the minimal test to check it?
  3. Run the test
  4. Update hypothesis list based on results

Never fix before confirming hypothesis.

Step 5: Identify Root Cause

Once a hypothesis is confirmed:

  • Find the exact line(s) causing the issue
  • Understand WHY it causes the issue (not just that it does)
  • Check if the same pattern exists elsewhere in the codebase

Step 6: Fix

Apply the minimal fix that addresses the root cause:

  • Do not "fix" symptoms
  • Do not add defensive code around the bug without fixing it
  • The fix should make the reproduction steps work correctly

Read the full file on GitHub · 101 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. 11d ago First seen · 101 lines · 0 tokens per session scan A 758c767c6d41

Subscribe to this mod's changes

debug-tracer is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 711 tokens. 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-31.