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 skills add asgarovf/locusai --skill debugginggit clone --depth 1 https://github.com/asgarovf/locusaiWrote 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/skills/asgarovf/locusai/debugging)<a href="https://agentmods.dev/skills/asgarovf/locusai/debugging"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/debugging/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/skills/asgarovf/locusai/debugging"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/debugging.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.00029 | $0.01319 |
| Opus 5.5 | $0.00012 | $0.00528 |
| Sonnet 5.5 | $0.00006 | $0.00264 |
| Haiku 4.5 | $0.00003 | $0.00132 |
Grade B, and why
debugging scanned grade B with 2 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 3mo 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
curl -X POST http://localhost:3000/api/users -d '{"name": "test"}' Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s http://localhost:3000/api/users/123 | jq . How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debugging
When to use this skill
- Investigating error messages or stack traces
- Diagnosing unexpected behavior
- Fixing failing tests
- Debugging production issues
- Understanding why code doesn't work as expected
Step 1: Reproduce the problem
Before fixing anything, confirm you can reproduce it:
# Run the failing command/test
npm test -- --grep "failing test name"
pytest -xvs test_file.py::test_name
# Check error logs
tail -100 logs/error.log
docker compose logs app --tail 100
Key questions:
- What exactly is the error? (exact message, stack trace)
- When did it start? (recent commit, dependency update?)
- Where does it happen? (specific input, environment, timing?)
- How often? (every time, intermittent, under load?)
Step 2: Read the error carefully
TypeError: Cannot read properties of undefined (reading 'map')
at UserList (src/components/UserList.tsx:15:23)
at renderWithHooks (node_modules/react-dom/...)
Parse the stack trace:
- Error type:
TypeError— wrong type, likely null/undefined - Message:
Cannot read properties of undefined— something is undefined - Property:
reading 'map'— trying to call.map()on undefined - Location:
UserList.tsx:15— exact file and line - Context: React component render — data likely not loaded yet
Step 3: Narrow the scope
Binary search approach
If you don't know where the bug is, bisect:
# Git bisect to find the breaking commit
git bisect start
git bisect bad # Current commit is broken
git bisect good abc123 # This commit was working
# Git will checkout middle commits — test each one
git bisect run npm test
Isolate variables
- Does it fail with minimal input?
- Does it fail in a fresh environment?
- Does it fail without feature flags / config?
- Does it fail with the previous version of dependencies?
Step 4: Inspect state
Check the data
# Search for where the variable is set
grep -rn "userData\s*=" --include="*.ts" src/
# Check database state
psql -c "SELECT * FROM users WHERE id = 123"
# Check API response
curl -s http://localhost:3000/api/users/123 | jq .
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.
- 3mo ago First seen · 189 lines · 29 tokens per session scan B 52e823d7bc6b
debugging is a skill published in the GitHub repository asgarovf/locusai (23 stars, last pushed 8mo ago), licensed MIT. It adds 29 tokens to every session and 1,319 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
debugging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debuggingasgarovf/locusai | Skill | 23 | 8mo ago | MIT | B | 29 | Claude Code |
| especialista-em-debugricneves-ai/flowgrammers-skills | Skill | 118 | 2mo ago | MIT | A | 47 | Claude Code, Codex |
| mpm-doctorbobmatnyc/claude-mpm | Skill | 161 | 3mo ago | none | A | 13 | Claude Code |
| seedance-troubleshootEmily2040/seedance-2.0 | Skill | 8.5k | 2mo ago | MIT | A | 56 | Claude Code |
| cx-casescoralogix/cx-cli | Skill | 244 | today | Apache-2.0 | A | 140 | Claude Code, Codex |
| cx-telemetry-queryingcoralogix/cx-cli | Skill | 244 | today | Apache-2.0 | A | 231 | Claude Code, Codex |
| huawei-cloud-mrs-host-fault-diagnosehuaweicloud/huaweicloud-skills | Skill | 67 | today | MIT | A | 239 | Claude Code |