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.
npx agentmods add commands/joaquimscosta/arkhe-claude-plugins/debuggit clone --depth 1 https://github.com/joaquimscosta/arkhe-claude-pluginsWrote 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/joaquimscosta/arkhe-claude-plugins/debug)<a href="https://agentmods.dev/commands/joaquimscosta/arkhe-claude-plugins/debug"><img src="https://agentmods.dev/badge/commands/joaquimscosta/arkhe-claude-plugins/debug.svg" alt="Measured on agentmods" 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 | $0.00048 | $0.01768 |
| Opus 5 | $0.00024 | $0.00884 |
| Sonnet 5 | $0.00010 | $0.00354 |
| Haiku 4.5 | $0.00005 | $0.00177 |
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 4d 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 — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Systematic Debug
Ultrathink!
Systematically investigate and diagnose the issue using evidence-based debugging.
Parse arguments from: $ARGUMENTS
- If arguments contain
--deep, enable deep mode (agent-assisted debugging) and strip--deepfrom issue description - Remaining text is the issue description (error message, bug description, or symptom)
- If no arguments provided: analyze the current conversation context to identify the error, bug, or unexpected behavior
Step 1: Evidence Gathering
Gather targeted evidence about the issue. This step runs in both default and deep modes.
1a. Parse the Issue
Extract structured information from the issue description or conversation context:
- File paths mentioned in error messages or stack traces
- Line numbers from stack traces
- Error types/names (e.g., TypeError, NullPointerException, panic)
- Function/method names referenced in the error
1b. Git Context
Run these commands to understand the current state:
!git status --short
!git diff --stat
!git log -5 --oneline
If specific files were identified in the error, run git diff -- <file> and git log -3 --oneline -- <file> for each relevant file.
1c. Ecosystem Detection
!ls package.json pyproject.toml build.gradle build.gradle.kts pom.xml Cargo.toml go.mod Makefile 2>/dev/null || true
1d. Error Reproduction
Detect the test runner from the ecosystem and attempt to reproduce the error:
Node.js (if package.json exists):
!node -e "try{const s=require('./package.json').scripts||{};console.log(JSON.stringify({test:s.test||null}))}catch(e){}" 2>/dev/null
- If a specific test file is mentioned in the error: run only that test
- If a source file is mentioned: find and run its corresponding test file
- Otherwise: run the full test suite
Python (if pyproject.toml exists):
!grep -c '\[tool\.pytest' pyproject.toml 2>/dev/null && echo "pytest detected" || true
- Run pytest with the specific test file or function if identifiable
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.
- 4d ago First seen · 214 lines · 48 tokens per session scan A c8d321440ee4
debug is a command published in the GitHub repository joaquimscosta/arkhe-claude-plugins (21 stars, last pushed 20d ago), licensed MIT. It adds 48 tokens to every session and 1,768 once invoked, about $0.0002 per session on Opus 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.
Other commands, from other repositories
battlecard
Create a sales-ready competitive battlecard — positioning, feature comparison, objection handling, and win strategies.
sheet-report
Analyze a Numbers or Excel file and generate a report with charts.
check
View the latest screenshot from /Pictures/Screenshots.
tidy
Consistency check for non-code repos with INDEX.md hierarchy. Verifies INDEX.md accuracy, MEMORY.md references, orphaned files, stale dates, and WAITING markers.
gh-release
Create a new release for the marketplace or a specific plugin.
p1-business-model
Develops the Business Model with Business Model Canvas, sharpens the value proposition, and defines a first pricing approach. The result is BUSINESSMODEL.md as the economic foundation of the project.