Borrowing it
Nothing to install: this file belongs to gcake119/joplin-llm-wiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gcake119/joplin-llm-wiki/main/.cursor/skills/spectra-drift/SKILL.mdgit clone --depth 1 https://github.com/gcake119/joplin-llm-wikiWrote 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/gcake119/joplin-llm-wiki/spectra-drift)<a href="https://agentmods.dev/skills/gcake119/joplin-llm-wiki/spectra-drift"><img src="https://agentmods.dev/badge/skills/gcake119/joplin-llm-wiki/spectra-drift/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/gcake119/joplin-llm-wiki/spectra-drift"><img src="https://agentmods.dev/badge/skills/gcake119/joplin-llm-wiki/spectra-drift.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.00018 | $0.01360 |
| Opus 5 | $0.00009 | $0.00680 |
| Sonnet 5 | $0.00004 | $0.00272 |
| Haiku 4.5 | $0.00002 | $0.00136 |
Grade A, and why
spectra-drift 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Detect drift between a Spectra change and the current codebase state. Reports time dormancy, broken design anchors, task collisions with external commits, and a single recommended next command.
Input: Optionally specify a change name (e.g., /spectra-drift add-auth). If omitted, infer from conversation context or auto-select if only one active change exists.
Prerequisites: This skill requires the spectra CLI. If any spectra command fails with "command not found" or similar, report the error and STOP.
Steps
-
Determine change name
If not provided, infer from context or run
spectra list --jsonto auto-select. If multiple active changes exist and no name is given, list candidates and ask the user to rerun with an explicit name. -
Run programmatic drift analysis
spectra drift <change-name> --jsonThe JSON contains:
severity:"light"/"medium"/"heavy"total_score: aggregate over Time / Structure / Tasks (Environment is display-only)dimensions: array of{ kind, status, score, contributes_to_total }broken_anchors: design.md references (file paths / symbols / functions / CLI flags) that no longer resolvetasks_blocked_external: pending tasks whose referenced files were modified by commits outside the change dirtasks_maybe_resolved: pending tasks whose verb+target keywords match commit subjects sincecreatedprimary_recommendation: a single copy-pasteable command line
-
Present the report
Use a user-readable, conclusion-first format. The first substantive paragraph after the title MUST be a plain-language conclusion that says what to do next before showing score tables, broken anchors, task collisions, or severity labels.
Translate severity into action-oriented meaning:
- Light: the change can continue with apply.
- Medium: the change can continue, but the plan should be refreshed before implementation.
- Heavy: the old plan is likely unsuitable for direct implementation; restart or refresh first.
Recommended shape:
## Drift Report: <change-name> <Plain-language conclusion. Example for medium: "This change can continue, but update the plan before implementing it. Related code has changed since the plan was written, so applying the old tasks directly may cause rework or conflicts."> ### Why - <1-3 plain-language reasons derived from dimensions, broken anchors, and task collisions> ### Details | Item | Result | | ----------------- | ------------------------------------------------------ | | Time | <status> | | Design references | <broken anchor count or "No broken references"> | | Pending tasks | <blocked/maybe-resolved count or "No task collisions"> | | Overall | <light/medium/heavy, total score N> | ### Recommendation Run `<primary_recommendation>`.Keep technical details below the plain-language conclusion. List broken anchors, blocked tasks, and maybe-resolved tasks only when non-empty. Omit empty technical detail sections entirely. Keep the report short enough to skim; the goal is to help the user decide, not to explain the scoring model.
-
Apply the recommendation interactively
Use the AskUserQuestion tool to offer one decision based on
severity. Use plain-language option labels while preserving the exact command in each option description. Do NOT auto-invoke/spectra-apply,/spectra-ingest, orspectra archive; always wait for the user's choice.- Light (score 0-3, drift is minor):
- Recommended label: "Directly start work"
- Description: run
/spectra-apply <name>
- Description: run
- Alternate label: "Pause for now"
- Description: do nothing until the user reviews manually
- Recommended label: "Directly start work"
- Medium (score 4-8, refresh worth doing):
- Recommended label: "Refresh the plan"
- Description: run
/spectra-ingest <name>with the broken references and task collisions as context
- Description: run
- Alternate label: "Directly start work"
- Description: run
/spectra-apply <name>only if the user knows the reported changes are harmless
- Description: run
- Alternate label: "Pause for now"
- Description: do nothing until the user reviews manually
- Recommended label: "Refresh the plan"
- Heavy (score >8 or anchor decay >30%, design diverges from code):
- Recommended label: "Archive and restart"
- Description: run
<primary_recommendation>
- Description: run
- Alternate label: "Refresh the plan"
- Description: try
/spectra-ingest <name>before restarting
- Description: try
- Alternate label: "Pause for now"
- Description: do nothing until the user reviews manually
- Recommended label: "Archive and restart"
- Light (score 0-3, drift is minor):
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.
- 11d ago First seen · 113 lines · 18 tokens per session scan A a458457fb726
spectra-drift is a skill published in the GitHub repository gcake119/joplin-llm-wiki (2 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 1,360 once invoked, about $0.0001 per session on Opus 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-31.
Other skills, from other repositories
api-errors
McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.
report-issue-framework
File a bug or feature request against @cyanheads/mcp-ts-core when you hit a framework issue. Use when a builder, utility, context method, or config behaves contrary to the documented API — not for server-specific application bugs.
report-issue-local
File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.
papi-verify
Use when the user says "verify", "health check", "check papi", "verify cycle", or after completing all cycle tasks before release. Runs a structured health check on the current PAPI cycle state: plan validity, build state, review coverage, branch hygiene, and data consistency.
check-mcp
Diagnose why PAPI tools are missing or failing. Use when the user says "check mcp", "is papi connected", "papi isn't working", "mcp status", or when PAPI tools are expected but do not appear in the available tools list.
lint
Health-check the wiki. Finds orphan pages, unresolved contradictions, stale claims, missing pages, broken links, and data gaps. Produces a lint report and appends to the log. Trigger phrases: /lint, health check the wiki, audit the wiki, check for broken links, wiki maintenance.