troubleshoot

troubleshoot is a skill for Claude Code from mystilleef/spae-framework. It costs 81 tokens per session (3,324 once invoked), scanned C, original, MIT.

A step-by-step method for finding the cause of software problems by observing what happens, testing one possible explanation at a time, applying a small fix, and checking the result.

In plain words
What is it for?
It is for investigating failures in code and repositories, choosing a safe fix, running focused tests, and verifying that the original problem is gone.
Why use it?
It replaces guesswork when errors, broken tests, build failures, runtime faults, regressions, or unpredictable behavior occur.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Good fit It is for investigating failures in code and repositories, choosing a safe fix, running focused tests, and verifying that the original problem is gone.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mystilleef/spae-framework/troubleshoot
Install

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.

Any agent
npx skills add mystilleef/spae-framework --skill troubleshoot
Clone the repo
git clone --depth 1 https://github.com/mystilleef/spae-framework

Made for: Claude Code.

Wrote 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.

agentmods badge for troubleshoot

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystilleef/spae-framework/troubleshoot/github.svg)](https://agentmods.dev/skills/mystilleef/spae-framework/troubleshoot)
Your own site
<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.

agentmods 80×15 button for troubleshoot

Your own site · 80×15
<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>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,324 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash c81214646f29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 -->
skills/troubleshoot/SKILL.md · 299 lines

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.
  1. GATE—Make no writes:
    • Select Draft or Refine, 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 HEAD and git --no-pager status --porcelain as Baseline.
    • Halt on any Halt conditions entry.
  2. 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.
  3. 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.
  4. ACT—Reproduce, isolate, draft:
    • Reproduce the failure, recording command, output, and exit code. On flakiness, measure the failure rate.
      • Refine: re-run the target's Reproduction first, recording drift against its Baseline.
    • On coexisting issues or expensive reproduction, triage severity and scope before observing further.
    • Run the targeted check. On rejection, log it under Ruled out and return to PLAN.
    • After 3 rejections, stop generating hypotheses and trace data flow from the entry point.
    • Draft: draft per references/DIAGNOSIS.md and Directives.
    • Refine: re-baseline, then reconcile every claim-ledger entry against the new evidence—confirm, revise, or move to Ruled out. Restructure per references/DIAGNOSIS.md and Directives.
  5. VERIFY—Loop over Verification criteria:
    • For each failure: return to ACT, fix, then re-enter VERIFY.
    • Exit only when every criterion passes.
  6. PERSIST—Write the target, then re-read it to confirm the content:
    • Draft: create it.
    • Refine: overwrite it in place.
  7. REPORT—Emit result following result directives and using result template, then stop.

Read the full file on GitHub · 299 lines

Files

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.

Changes

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.

  1. 5d ago Changed · +16 lines c81214646f29
  2. 9d ago Changed · -11 lines 653a3fb7f8fc
  3. 13d ago Changed · +5 lines 5d8d1d6baafe
  4. 16d ago Changed · +1 lines ddd89cf7a125
  5. 17d ago Changed · +8 lines f970be945ea8
  6. 21d ago Changed · +128 lines · +61 tokens per session 56a04bb0fb3d
  7. 1mo ago Changed 19a0d97676f5
  8. 1mo ago Changed · -1 lines 2904582ac0ef
  9. 1mo ago Changed · +3 lines 6c8564cd25fb
  10. 3mo ago First seen · 150 lines · 20 tokens per session scan C e8630040bb12

Subscribe to this mod's changes

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.

Related

troubleshoot compared with skills from other repositories

troubleshoot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
troubleshootmystilleef/spae-frameworkSkill24d agoMITC81Claude Code
ahk-triageenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A29Claude Code
ahk-askenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A37Claude Code
windows-encoding-fixesoleg494/coding-kitSkill313d agoMITA109Claude Code, Codex
fix-and-verifyRyosukeSAMA/github-aiSkill621d agoMITA38Codex
systematic-debuggingRobinBeraud/hermes-skillsSkill11todaynoneA16Claude Code, Codex
sitemap-link-checkerRobinBeraud/hermes-skillsSkill11todaynoneA46Claude Code, Codex