troubleshoot

troubleshoot is a skill for Claude Code from mystilleef/spae-framework. It costs 20 tokens per session (1,242 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.

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 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.00020 $0.01242
Opus 5 $0.00010 $0.00621
Sonnet 5 $0.00004 $0.00248
Haiku 4.5 $0.00002 $0.00124

Measured 7d ago against content hash e8630040bb12, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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 · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Troubleshoot

When to use

  • Invoke for failures, regressions, unclear errors, flaky behavior, broken tests, build issues, runtime faults, or unexpected output.
  • Execute immediately upon invocation. Don't wait for confirmation.

Goal

  • Observe real behavior, test one hypothesis at a time, fix proven root causes, and verify the result.
  • Identify the root cause with evidence.
  • Apply the smallest safe fix.
  • Prove the fix through targeted tests and the strongest relevant check.

Input

Determine input by one of the following:

  • Issue, symptom, error, failing command, stack trace, or test failure provided by the user.
  • Current repository state and failing verification when the user gives only a broad troubleshooting request.

Testing

See references/testing-guide.md for test structure, isolation, mocking, assertion, and performance standards.

Shell Commands

See references/shell-command-guide.md for command safety, timeouts, redirects, and non-interactive environment directives.

Cleanup

See references/cleanup-guide.md for the self-introduced-artifact checklist and diff-only audit scope.

Workflow

  1. GATE—Require an actionable symptom: error, failure, trace, or incorrect output. Halt and ask if none exists.
  2. ORIENT—Name the failure and scope in one sentence. State what won't change.
  3. PLAN—Read references/shell-command-guide.md. State one likely root cause and one targeted check to confirm or reject it.
  4. ACT—Execute:
    • Reproduce the failure.
    • Run the targeted check; on rejection, return to PLAN.
    • After 3 rejections, trace data flow from entry point.
    • Read references/testing-guide.md. Write a failing test reproducing the root cause, when practical.
    • Apply the smallest safe fix after evidence confirms.
  5. VERIFY—Loop over every criterion declared in PLAN:
    • Audit the task's own git diff/git status against the Self-cleanup checklist in references/cleanup-guide.md; remove every self-introduced artifact before proceeding.
    • For each unmet criterion: revert the fix, return to ACT, execute, then re-enter VERIFY.
    • Exit only when all criteria pass.
    • Halt only for out-of-scope blockers.
  6. PERSIST—Write all fix artifacts once, atomically, after VERIFY passes. Never precedes VERIFY. Never partial.
  7. REPORT—Emit the result following the result directives and using the result template.

Read the full file on GitHub · 150 lines

Files

What ships with it

3 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. 7d 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 (1 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 1,242 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories