spectre-fix

spectre-fix is a skill for Claude Code, Codex from joenandez/spectre. It costs 57 tokens per session (816 once invoked), scanned A, original, MIT.

A bug-fixing workflow for investigating a reported software problem, identifying its root cause, and implementing a tested repair. It is designed for errors, failing behavior, stack traces, and reproduction steps.

In plain words
What is it for?
Use it when diagnosing and fixing a specific software bug. It guides the investigation, records the problem and repair plan, and checks that the resulting behavior works.
Why use it?
It separates finding the cause from changing the code, reducing the risk of fixing only a symptom. It also requires the repair to be verified before the work is considered complete.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it when diagnosing and fixing a specific software bug. It guides the investigation, records the problem and repair plan, and checks that the resulting behavior works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joenandez/spectre/spectre-fix
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 joenandez/spectre --skill spectre-fix
Clone the repo
git clone --depth 1 https://github.com/joenandez/spectre

Made for: Claude Code, Codex.

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 spectre-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/joenandez/spectre/spectre-fix/github.svg)](https://agentmods.dev/skills/joenandez/spectre/spectre-fix)
Your own site
<a href="https://agentmods.dev/skills/joenandez/spectre/spectre-fix"><img src="https://agentmods.dev/badge/skills/joenandez/spectre/spectre-fix/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 spectre-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/joenandez/spectre/spectre-fix"><img src="https://agentmods.dev/badge/skills/joenandez/spectre/spectre-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.00816
Opus 5.5 $0.00023 $0.00326
Sonnet 5.5 $0.00011 $0.00163
Haiku 4.5 $0.00006 $0.00082

Measured 1mo ago against content hash 4533dab79a38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spectre-fix 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 1mo 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.

plugins/spectre-codex/skills/spectre-fix/SKILL.md · 47 lines

How it starts

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

fix

Standalone diagnosis-to-Execute bug workflow. Delegate diagnosis to spectre-fix-core; never implement.

Inputs

  • bug_report ($ARGUMENTS): error/stack trace, repro steps, context. If empty, ask the user for error message, repro steps, and relevant context before proceeding.

Working Set

  • Resolve one managed BUG_ROOT: an explicitly named managed root wins; otherwise load and follow Skill(spectre-feature-root) with KIND=bug through DONE. Never adopt an ambient feature root. Keep writes beneath it and pass it unchanged.
  • The bug report plus the exact in-thread diagnosis and experience contract returned by spectre-fix-core.
  • Affected paths, history, analysts, tests, and diagnostics are owned by the core and read just-in-time.

Outputs + DONE

The core's full diagnosis and experience contract rendered in-thread, mirrored in full into a self-locating managed repair plan at {BUG_REPORT_PATH} before code mutation, recording Bug, Bug Root, and the reported problem in the user's own words, plus an explicit Execute handoff. DONE when:

  • Root cause and candidate repair boundary are grounded, not symptom-suppressed — name the cause and affected files.
  • The transcript carries every contract row with its evidence; the plan beneath the managed bug root matches it. A file path is not a presentation.
  • The current→expected experience, preserved invariants, and disclosed collateral changes are explicit; every row is resolved.
  • The same response gives the exact bug-report path, explicit fix origin, and one copy-ready Execute invocation that works in a fresh session.
  • Command display is non-mutating; invoking Execute is the mutation boundary.

Method / guardrails

  1. Run Skill(spectre-fix-core) with the bug report, PHASE=diagnose, and --orchestrated; require DIAGNOSIS_READY and reject symptom-only explanations.
  2. Present the experience contract first in product language: what users do and observe now, what they will do and observe after repair, and which adjacent journeys change or remain unchanged. Then present the root cause, affected files, repair boundary, and verification plan; resolve every unresolved row. Mirror that render into {BUG_ROOT}/bug-report.md, using a scoped name if one already exists; capture the exact written path as BUG_REPORT_PATH; never alter canonical Scope or overwrite a reviewed plan.
  3. In the same response, present one copy-ready host-specific spectre-execute {BUG_REPORT_PATH} --origin fix. Never repair from Fix; invoking Execute is the mutation boundary.
  4. Feedback revises the report and refreshes the command; it does not enter an approval loop.

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file 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. 1mo ago Changed · +5 lines · -21 tokens per session 4533dab79a38
  2. 2mo ago Changed · -1 lines · -6 tokens per session 66b0ac9688fa
  3. 2mo ago First seen · 43 lines · 84 tokens per session scan A a0a40c067f92

Subscribe to this mod's changes

spectre-fix is a skill published in the GitHub repository joenandez/spectre (164 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 816 once invoked, about $0.0002 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-08-30.

Related

spectre-fix compared with skills from other repositories

spectre-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spectre-fixjoenandez/spectreSkill1641mo agoMITA57Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex