Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/debug-diagnoserWrote 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/morningstar202604/awesome-skillkit/debug-diagnoser)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/debug-diagnoser"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/debug-diagnoser/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/morningstar202604/awesome-skillkit/debug-diagnoser"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/debug-diagnoser.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.00085 | $0.01602 |
| Opus 5.5 | $0.00034 | $0.00641 |
| Sonnet 5.5 | $0.00017 | $0.00320 |
| Haiku 4.5 | $0.00009 | $0.00160 |
Grade A, and why
debug-diagnoser 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 — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug Diagnoser
Triage errors: parse the stack → match known error patterns → rank by severity → give a minimal fix suggestion, producing a structured diagnosis JSON for code-generator to consume. It only diagnoses and ranks; it doesn't change code.
Input Checklist
| Input | Required | Description |
|---|---|---|
--trace |
One of two | Stack/error text (quoted, may contain escaped newlines) |
--file |
One of two | Path to an error log file; at least one of --trace / --file must be provided |
--output |
Optional | Where the diagnosis is written; defaults to stdout |
When inputs are missing, ask for all at once: "Please provide: (1) the full traceback text or the path to an error log file; (2) (optional) whether to write the result to a file. Everything else I run on defaults: the diagnosis prints to the terminal."
Pre-flight Checks
Probe the environment before running; on any failure → give the fix and STOP:
python3 --version # expected 3.8+; on failure: install python3
python3 scripts/diagnoser.py --help >/dev/null 2>&1 # expected exit code 0; on failure: script missing → check the skill directory
test -f <the --file path the user gave> # expected exit code 0; on failure: the log file doesn't exist → use --trace to paste the text directly
Workflow
Step 1: Collect the complete error
Expected: get a full traceback containing the exception type and File "...", line N (a truncated stack loses matching clues).
On failure: the user only gave a screenshot/description of the error → ask them to paste the text log; if the log file is too large → first run grep -n "Traceback\|Error" error.log to locate the key section.
Step 2: Run the diagnosis
python3 scripts/diagnoser.py --trace "Traceback ... TypeError: 'NoneType' object is not callable"
python3 scripts/diagnoser.py --file error.log --output diagnosis.json
Expected: stdout (or the --output file) emits JSON with status = diagnosed, containing issues[] (each with error_type/likely_cause/fix_suggestion/severity), locations[] (file:line, up to 5), top_severity, recommendation, and next_skill.
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 Changed · -5 tokens per session 025766252f6e
- 2mo ago First seen · 108 lines · 90 tokens per session scan A 9efc96ecbfdb
debug-diagnoser is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,602 once invoked, about $0.0003 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-09-19.
debug-diagnoser compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debug-diagnoserMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 85 | Claude Code, Codex |
| systematic-debuggingNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 16 | Claude Code, Codex |
| python-debugpyNousResearch/hermes-agent | Skill | 267k | today | MIT | B | 17 | Claude Code, Codex |
| sglang-diffusion-benchmark-profilesgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 26 | Claude Code, Codex |
| resolve-handoffomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 23 | Claude Code, Codex |
| verify-omnigentomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| iterate-implementationhumanlayer/humanlayer | Skill | 13k | 7d ago | Apache-2.0 | A | 16 | Claude Code, Codex |