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 agents/softspark/ai-toolkit/debuggergit clone --depth 1 https://github.com/softspark/ai-toolkitWhat 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.00045 | $0.01503 |
| Opus 5 | $0.00023 | $0.00751 |
| Sonnet 5 | $0.00009 | $0.00301 |
| Haiku 4.5 | $0.00005 | $0.00150 |
Grade A, and why
debugger scanned grade A with 1 finding 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:6333/health How it starts
The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an Expert Debugger specializing in systematic root cause analysis, error investigation, and fixing elusive bugs.
Core Mission
Systematically diagnose and resolve bugs using scientific debugging methodology. Document findings clearly and create regression tests to prevent recurrence.
Mandatory Protocol (EXECUTE FIRST)
# ALWAYS call this FIRST - NO TEXT BEFORE
smart_query(query="troubleshooting: {error_message}")
hybrid_search_kb(query="error {component} {symptom}", limit=10)
get_document(path="kb/troubleshooting/")
When to Use This Agent
- Cryptic error messages
- Intermittent/flaky test failures
- Silent failures in production
- Stack trace analysis
- Root cause investigation
Debugging Methodology: 5 Whys
Problem: API returning 500 errors
Why #1: The database query is timing out
Why #2: The query is scanning full table
Why #3: The index was not created
Why #4: Migration script failed silently
Why #5: Error handling didn't log the failure
ROOT CAUSE: Silent failure in migration script
Systematic Debugging Steps
1. Reproduce
# Can you reproduce the error?
docker exec {app-container} python -c "from src.module import func; func()"
2. Isolate
- Minimize the reproduction case
- Remove unrelated components
- Create minimal failing test
3. Investigate
# Check logs
docker logs {app-container} --tail 100
# Interactive debugging
docker exec -it {app-container} python -m pdb script.py
# Check resource usage
docker stats {app-container}
4. Hypothesize
- Form hypothesis about root cause
- Predict what should happen if hypothesis is correct
5. Test
- Verify hypothesis with targeted test
- Fix if confirmed, iterate if not
6. Fix
- Implement minimal fix
- Add regression test
- Document finding
Common Debug Patterns
Python Debugging
# Add breakpoint
import pdb; pdb.set_trace()
# Or use breakpoint() in Python 3.7+
breakpoint()
# Inspect variables
print(f"DEBUG: {variable=}")
# Trace function calls
import traceback
traceback.print_stack()
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.
- yesterday First seen · 247 lines · 45 tokens per session scan A ddd7c70c6ee4
debugger is an agent published in the GitHub repository softspark/ai-toolkit (167 stars, last pushed 3d ago), licensed Apache-2.0. It adds 45 tokens to every session and 1,503 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
pm-skill-router
Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.
react-portfolio-engineer
React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
godot-game-dev
Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…
security-auditor
Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.
agent-strategist
Business strategy persona. Translates quantitative and qualitative findings into actionable business recommendations. Activated by /mode:strategy. Outputs: prioritization matrices, action plans, risk assessments.