spectre-plan-route

spectre-plan-route is a skill for Claude Code from joenandez/spectre. It costs 38 tokens per session (904 once invoked), scanned A, original, MIT.

An internal classifier that chooses a planning route for a software change. It uses information about the codebase, uncertainty, risks, and protected parts of the system.

In plain words
What is it for?
Use it only as part of the planning workflow to classify work as atomic, direct, or structured and report related risks.
Why use it?
It helps the planning process choose an appropriate level of detail and identify when more investigation is needed.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it only as part of the planning workflow to classify work as atomic, direct, or structured and report related risks.

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

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 spectre-plan-route

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/joenandez/spectre/spectre-plan-route"><img src="https://agentmods.dev/badge/skills/joenandez/spectre/spectre-plan-route.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 904 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.00038 $0.00904
Opus 5.5 $0.00015 $0.00362
Sonnet 5.5 $0.00008 $0.00181
Haiku 4.5 $0.00004 $0.00090

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

Security

Grade A, and why

spectre-plan-route 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-plan-route/SKILL.md · 59 lines

How it starts

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

plan-route

Purpose

Classify into plan-routing/v1 for Plan/Execute; caller owns authority.

Inputs

  • Canonical Scope/authority + bounded work, not size.
  • Initial; observed uses prior decision + selection before drafting; legacy may include Routing Observations.
  • Execute when transported assessment is missing/materially stale.
  • Resume-only legacy size is normalized once.

Working Set

  • Bounded scan: topology, uncertainty, evidence, boundaries, graph risk, shipped precedent, user decisions.
  • If missing evidence alone would cross a costlier route, use exactly one bounded probe (@spectre_finder/@spectre_patterns) for one repository question.

Outputs + DONE

Produce plan-routing/v1: shape ATOMIC|DIRECT|STRUCTURED; uncertainty LOW|MODERATE|HIGH; evidence SUFFICIENT|PROBE_REQUIRED|PROBED; protected_boundaries[] {type, threatened_invariant, failure_mode}; task_graph_risk LOW|HIGH; design flag, size, route, rationale. Observed adds regret, reason codes, KEEP|RERUN_SMALLER|RERUN_LARGER.

DONE when fields validate; probe is consumed; STRUCTURED names workstreams; HIGH graph risk names an implementation-graph failure; only table derives size/route.

Method / guardrails

Semantic result Size · route
ATOMIC + LOW + no changed protected boundary XS · XS_DIRECT
ATOMIC + LOW + changed protected boundary OR DIRECT + LOW S · S_DIRECT
ATOMIC/DIRECT + MODERATE/HIGH M · M_REVIEWED_DIRECT
STRUCTURED + LOW/MODERATE + ordinary graph risk L · L_STRUCTURED
STRUCTURED + HIGH uncertainty or HIGH task-graph risk XL · XL_REVIEWED_STRUCTURED
  • STRUCTURED requires multiple independently implementable workstreams; render variants of one surface (layout, density, breakpoint, theme), dependencies, supporting artifacts, workflow/acceptance steps, and pilots are not workstreams.
  • Two shipped instances of a change-shape make the next DIRECT; its layers are not workstreams; STRUCTURED requires a named delta beyond repetition.
  • HIGH graph risk requires a credible implementation ordering/coordination/rollback failure; workflow gates/state transitions do not qualify.
  • A protected boundary needs a concrete invariant + credible failure mode; it floors size at S but never creates structure or HIGH graph risk.
  • Honor confirmed Scope assumptions and explicit selected-source boundaries. Missing paths/evidence permit at most the one probe; when Scope mandates an abstraction, spend it on whether it ships; classify the real delta. Only unresolved, approach-changing uncertainty affects size.
  • Design authority needs unresolved product, compatibility, destructive, migration/rollback, or architecture choice; size and routine placement never create it.
  • Observed consumes the completed minimum-solution selection before drafting, reports regret and KEEP|RERUN_SMALLER|RERUN_LARGER, and never repeats work or removes artifacts. The same routing table alone maps selected structural facts, uncertainty, protected boundaries, graph risk, and assurance floor; it does not select solution shape.
  • Normalize legacy once: MICRO→XS, LIGHT→S, STANDARD-DIRECT→M, STANDARD→L, COMPREHENSIVE→XL; labels never decide.
  • Never use file volume, dependency count, surface counts, or sensitive-domain keywords as size authority, and never let them create workstreams. Never plan, write artifacts, emit telemetry, or present gates while classifying; these limits end with the record and never bind the caller's next step.

Read the full file on GitHub · 59 lines

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 23235cf6764e
  2. 1mo ago Changed 4270f2eb58f9
  3. 1mo ago Changed 33ebe4615e0e
  4. 1mo ago Changed 01746a0c98d5
  5. 2mo ago Changed · +1 lines · +3 tokens per session e753bad18d39
  6. 2mo ago First seen · 58 lines · 35 tokens per session scan A ca9fc90b6ec7

Subscribe to this mod's changes

spectre-plan-route is a skill published in the GitHub repository joenandez/spectre (164 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 904 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-plan-route compared with skills from other repositories

spectre-plan-route next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spectre-plan-routejoenandez/spectreSkill1641mo agoMITA38Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code