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 mystilleef/spae-framework --skill troubleshootgit clone --depth 1 https://github.com/mystilleef/spae-frameworkWrote 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/mystilleef/spae-framework/troubleshoot)<a href="https://agentmods.dev/skills/mystilleef/spae-framework/troubleshoot"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/troubleshoot/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/mystilleef/spae-framework/troubleshoot"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/troubleshoot.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.00081 | $0.03324 |
| Opus 5.5 | $0.00032 | $0.01330 |
| Sonnet 5.5 | $0.00016 | $0.00665 |
| Haiku 4.5 | $0.00008 | $0.00332 |
Grade C, and why
troubleshoot scanned grade C 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 5d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- prettier-ignore-start --> How it starts
The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Troubleshoot
When to use
- Diagnose failures, regressions, unclear errors, flaky behavior, broken tests, build issues, runtime faults, or unexpected output.
- Hand an independent agent, with no memory of this run, a diagnosis it fixes without re-investigating.
- Re-diagnose after a failed fix attempt or code drift: refine the existing diagnosis.
- Execute immediately upon invocation, without waiting for confirmation.
Goal
- Reproduce the failure, isolate each root cause with evidence, and settle a fix direction, leaving no open hypothesis.
- Write the target and change nothing else:
Draft: a new./<slug>-diagnosis.md.Refine: the supplied diagnosis, in place.
Input
Draft: symptom—issue, error, failing command, stack trace, test failure, or incorrect output—from the argument, the conversation, or a file. Failing declared checks stand in when the request names no symptom.Refine: path to an existing diagnosis, plus any new evidence—failed fix attempt, new symptom—from the argument or the conversation.- Project instruction and architecture docs, when present—for example
AGENTS.md,CONTRIBUTING.md,README.md. - Codebase sections the failure touches.
references/DIAGNOSIS.md: section template.references/prose-protocol.md,references/outcome-guide.md,references/verification-guide.md,references/shell-command-guide.md.
Workflow
Select path by argument:
Refine: argument names an existing file holding a diagnosis.Draft: otherwise. A file holding only a symptom supplies the symptom.
- GATE—Make no writes:
- Select
DraftorRefine, then set the target:Draft: require an actionable symptom—absent one, run the repository's declared checks and adopt the first failure. Derive a kebab-case<slug>from the symptom, target./<slug>-diagnosis.md, and confirm it doesn't exist.Refine: target the supplied file and read it in full.
- Inside a git repository, record
git --no-pager rev-parse HEADandgit --no-pager status --porcelainasBaseline. - Halt on any Halt conditions entry.
- Select
- ORIENT—Name the failure, scope, and path in one sentence:
- Every file except the target stays unmodified.
- Read project instruction and architecture docs in full when present.
- PLAN—Declare the work:
- Read
references/shell-command-guide.md. Refine: build a claim ledger—every finding, hypothesis, and claim in the target, with its section.- Name the reproduction command and the codebase sections the investigation needs.
- State one likely root cause and one targeted check confirming or rejecting it.
- Read
- ACT—Reproduce, isolate, draft:
- Reproduce the failure, recording command, output, and exit code. On
flakiness, measure the failure rate.
Refine: re-run the target'sReproductionfirst, recording drift against itsBaseline.
- On coexisting issues or expensive reproduction, triage severity and scope before observing further.
- Run the targeted check. On rejection, log it under
Ruled outand return to PLAN. - After 3 rejections, stop generating hypotheses and trace data flow from the entry point.
Draft: draft perreferences/DIAGNOSIS.mdand Directives.Refine: re-baseline, then reconcile every claim-ledger entry against the new evidence—confirm, revise, or move toRuled out. Restructure perreferences/DIAGNOSIS.mdand Directives.
- Reproduce the failure, recording command, output, and exit code. On
flakiness, measure the failure rate.
- VERIFY—Loop over Verification criteria:
- For each failure: return to ACT, fix, then re-enter VERIFY.
- Exit only when every criterion passes.
- PERSIST—Write the target, then re-read it to confirm the content:
Draft: create it.Refine: overwrite it in place.
- REPORT—Emit result following result directives and using result template, then stop.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · +16 lines c81214646f29
- 9d ago Changed · -11 lines 653a3fb7f8fc
- 13d ago Changed · +5 lines 5d8d1d6baafe
- 16d ago Changed · +1 lines ddd89cf7a125
- 17d ago Changed · +8 lines f970be945ea8
- 21d ago Changed · +128 lines · +61 tokens per session 56a04bb0fb3d
- 1mo ago Changed 19a0d97676f5
- 1mo ago Changed · -1 lines 2904582ac0ef
- 1mo ago Changed · +3 lines 6c8564cd25fb
- 3mo ago First seen · 150 lines · 20 tokens per session scan C e8630040bb12
troubleshoot is a skill published in the GitHub repository mystilleef/spae-framework (2 stars, last pushed 4d ago), licensed MIT. It adds 81 tokens to every session and 3,324 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
troubleshoot compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| troubleshootmystilleef/spae-framework | Skill | 2 | 4d ago | MIT | C | 81 | Claude Code |
| ahk-triageenmanuelmag/agent-harness-kit | Skill | 183 | 1mo ago | Apache-2.0 | A | 29 | Claude Code |
| ahk-askenmanuelmag/agent-harness-kit | Skill | 183 | 1mo ago | Apache-2.0 | A | 37 | Claude Code |
| windows-encoding-fixesoleg494/coding-kit | Skill | 3 | 13d ago | MIT | A | 109 | Claude Code, Codex |
| fix-and-verifyRyosukeSAMA/github-ai | Skill | 6 | 21d ago | MIT | A | 38 | Codex |
| systematic-debuggingRobinBeraud/hermes-skills | Skill | 11 | today | none | A | 16 | Claude Code, Codex |
| sitemap-link-checkerRobinBeraud/hermes-skills | Skill | 11 | today | none | A | 46 | Claude Code, Codex |