Borrowing it
Nothing to install: this file belongs to pyrex41/skill-manager. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/pyrex41/skill-manager/master/.claude/commands/cl/debug.mdgit clone --depth 1 https://github.com/pyrex41/skill-managerWrote 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.
[](https://agentmods.dev/commands/pyrex41/skill-manager/debug)<a href="https://agentmods.dev/commands/pyrex41/skill-manager/debug"><img src="https://agentmods.dev/badge/commands/pyrex41/skill-manager/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.
<a href="https://agentmods.dev/commands/pyrex41/skill-manager/debug"><img src="https://agentmods.dev/badge/commands/pyrex41/skill-manager/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.00562 |
| Opus 5.5 | $0.00004 | $0.00225 |
| Sonnet 5.5 | $0.00002 | $0.00112 |
| Haiku 4.5 | $0.00001 | $0.00056 |
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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug
You are tasked with investigating issues encountered during manual testing. This is a read-only investigation command.
Getting Started
If given a plan/ticket file: Acknowledge the file and ask: "What specifically went wrong? What were you testing?"
If invoked without parameters: Ask: "What issue are you encountering? Please describe:
- What you were trying to do
- What happened instead
- When did it last work correctly (if known)"
Available Investigation Tools
Logs
- Application logs in standard locations
- Service-specific logs
- Error logs and stack traces
Database (if applicable)
- Query current state
- Check recent events/transactions
- Verify data consistency
Git State
- Current branch and commits
- Uncommitted changes
- Recent history
Investigation Process
Step 1: Understand the Problem
- Read any context provided (plan, ticket, description)
- Check git status for current state
- Identify what should be happening vs. what is happening
Step 2: Investigate in Parallel
Spawn parallel task agents to examine:
- Logs: Look for errors, warnings, unexpected patterns
- State: Check database or file state
- Code: Verify the implementation matches expectations
Step 3: Present Findings
Structure your debug report:
## Debug Report
### Problem Summary
[What went wrong in one sentence]
### Evidence Found
#### From Logs
- [Relevant log entries with timestamps]
- [Error messages or stack traces]
#### From State
- [Database state or file contents]
- [Expected vs. actual values]
#### From Code
- [Relevant code paths]
- [Any mismatches between implementation and expectation]
### Root Cause Analysis
[Most likely explanation based on evidence]
### Recommended Next Steps
1. [First thing to try]
2. [Alternative if that doesn't work]
3. [Escalation path if needed]
### What I Couldn't Check
- [Things outside investigation scope]
- [Missing access or tools]
Important Constraints
- This is investigation only - no file editing
- Focus on evidence - don't speculate without data
- Be systematic - check logs, state, and code
- Present clearly - make findings easy to act on
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.
- 2mo ago First seen · 103 lines · 9 tokens per session scan A 161fa740bead
debug is a command published in the GitHub repository pyrex41/skill-manager (4 stars, last pushed 9mo ago), licensed MIT. It adds 9 tokens to every session and 562 once invoked, about $0.0000 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-31.
debug compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debugpyrex41/skill-manager | Command | 4 | 9mo ago | MIT | A | 9 | Claude Code |
| qa-changesOpenHands/extensions | Command | 176 | yesterday | MIT | A | 63 | Claude Code |
| react-nativegetsentry/toolkit | Command | 958 | today | none | A | 0 | Claude Code |
| auditar-cascadingluanpdd/kit-mcp | Command | 5 | 5d ago | MIT | A | 54 | Claude Code |
| http-serviceMadAppGang/magus | Command | 14 | yesterday | MIT | A | 27 | Claude Code |
| doctordoncheli/don-cheli-sdd | Command | 59 | 2mo ago | Apache-2.0 | A | 76 | Claude Code |
| doctorfatihkan/badi | Command | 7 | 1mo ago | MIT | A | 0 | Claude Code |