debug

debug is a skill for Claude Code, Codex from cyrusagents/cyrus. It costs 25 tokens per session (328 once invoked), scanned A, original, Apache-2.0.

A structured bug-fixing workflow that first reproduces a reported problem with a failing test, then traces its cause and applies a focused fix.

In plain words
What is it for?
Use it to investigate errors, create a minimal reproduction, identify the faulty code path, implement the smallest suitable fix, and verify the result.
Why use it?
It reduces guesswork by requiring clear evidence of the failure before changing code. It also checks the fix against the full test suite to catch regressions, meaning new breakage caused by the change.

Skill for Claude CodeCodex

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

Good fit Use it to investigate errors, create a minimal reproduction, identify the faulty code path, implement the smallest suitable fix, and verify the result.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyrusagents/cyrus/debug"><img src="https://agentmods.dev/badge/skills/cyrusagents/cyrus/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 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
  • Socket pass 24 Sept 2026
  • Snyk pass 24 Sept 2026
  • 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.00025 $0.00328
Opus 5.5 $0.00010 $0.00131
Sonnet 5.5 $0.00005 $0.00066
Haiku 4.5 $0.00003 $0.00033

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

Security

Grade A, and why

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

skills/debug/SKILL.md · 30 lines

What it actually says

Debug

Debug a reported issue using a structured reproduction-then-fix approach.

Phase 1: Reproduction & Root Cause Analysis

  1. Investigate — Analyze the bug report for key symptoms and error messages
  2. Trace — Search the codebase for error occurrence patterns, trace from symptom to source
  3. Root cause — Identify the root cause through data flow analysis and edge case checking
  4. Reproduce — Reproduce the exact error with the smallest useful check (a command, dry run, manual flow, or automated test)
  5. Document — Clearly document the root cause and reproduction steps

Phase 2: Fix Implementation

  1. Plan — Analyze the optimal fix approach based on root cause, check for similar fixes in the codebase
  2. Implement — Make the minimal, targeted fix that addresses the root cause
  3. Verify — Repeat the reproduction to confirm the fix and run relevant existing checks. Follow verify-and-ship for proportionate scope; add a regression test only when the concrete failure warrants durable coverage

Principles

  • Minimal changes — Fix the bug, nothing more
  • Targeted — Only touch affected code paths
  • Verified — Confirm the reproduction succeeds after the fix and preserve relevant existing safeguards; a new test file is not mandatory
  • No unrelated improvements — Stay focused on the specific bug
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 52d7b563568f
  2. 3mo ago First seen · 30 lines · 25 tokens per session scan A a5262d32421f

Subscribe to this mod's changes

debug is a skill published in the GitHub repository cyrusagents/cyrus (923 stars, last pushed yesterday), licensed Apache-2.0. It adds 25 tokens to every session and 328 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

debug compared with skills from other repositories

debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debugcyrusagents/cyrusSkill923yesterdayApache-2.0A25Claude Code, Codex
merge-queue-recoverylangchain-ai/open-sweSkill11ktodayMITA31Claude Code, Codex
unityDotHarness/dotcraft-unitySkill242d agoApache-2.0A32Codex
halo-loggingopenkursar/hello-haloSkill1.9ktodaynoneA102Claude Code, Codex
ss-debugbonnguyenitc/specshipSkill23mo agoMITA97Codex
debug-fixer1139030773-cmd/agent-workflow-systemSkill75mo agoMITA36Claude Code
agent-debug-fixer1139030773-cmd/agent-workflow-systemSkill75mo agoMITA71Codex