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/commands/spectra-propose.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/commands/gcake119/joplin-llm-wiki/spectra-propose)<a href="https://agentmods.dev/commands/gcake119/joplin-llm-wiki/spectra-propose"><img src="https://agentmods.dev/badge/commands/gcake119/joplin-llm-wiki/spectra-propose/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/commands/gcake119/joplin-llm-wiki/spectra-propose"><img src="https://agentmods.dev/badge/commands/gcake119/joplin-llm-wiki/spectra-propose.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.04014 |
| Opus 5 | $0.00009 | $0.02007 |
| Sonnet 5 | $0.00004 | $0.00803 |
| Haiku 4.5 | $0.00002 | $0.00401 |
Grade A, and why
/spectra-propose 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 10d 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 — 387 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create a complete Spectra change proposal — from requirement to validated artifacts — in a single workflow.
Input: The argument after /spectra:propose is the requirement description. Examples:
/spectra:propose add dark mode/spectra:propose fix the login page crash/spectra:propose improve search performance
If no argument is provided, the workflow will extract requirements from conversation context or ask.
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 the requirement source
a. Argument provided (e.g., "add dark mode") → use it as the requirement description, skip to deriving the change name below.
b. Plan file available:
- Check if the conversation context mentions a plan file path (plan mode system messages include the path like
.cursor/plans/<name>.md) - If found, check if the file exists at
.cursor/plans/ - If a plan file is found, use the AskUserQuestion tool to ask:
- Option 1: Use the plan file
- Option 2: Use conversation context
- If conversation context has no relevant discussion, mention this when presenting the choice
- If the user picks the plan file → read it and extract:
plan_title(H1 heading) → use as requirement descriptionplan_context(Context section) → use as proposal Why/Motivation contentplan_stages(numbered implementation stages) → use for artifact creationplan_files(all file paths mentioned) → use for Impact section
- If the user picks conversation context → fall through to (c)
c. Conversation context → attempt to extract requirements from conversation history
- If context is insufficient, use the AskUserQuestion tool to ask what they want to build
From the resolved description, derive a kebab-case change name (e.g., "add dark mode" →
add-dark-mode). Do not keep archive-style date prefixes in active change names. If the source name starts withYYYY-MM-DD-, strip that date prefix before runningspectra new change; archived change names and directories are historical references, not active names to reuse.IMPORTANT: Do NOT proceed without understanding what the user wants to build.
- Check if the conversation context mentions a plan file path (plan mode system messages include the path like
-
Classify the change type
Based on the requirement, classify the change into one of three types:
Type When to use Feature New functionality, new capabilities Bug Fix Fixing existing behavior, resolving errors Refactor Architecture improvements, performance optimization, UI adjustments This determines the proposal template format in step 5.
-
Scan existing specs for relevance
Before creating the change, check if any existing specs overlap:
- Use the Glob tool to list all files matching
openspec/specs/*/spec.md - Extract directory names as the spec identifier list
- Compare against the user's description to identify related specs (max 5 candidates)
- For each candidate (max 3), read the first 10 lines to retrieve the Purpose section
- If related specs are found, display them as an informational summary
IMPORTANT:
- If related specs are found, display them but do NOT stop or ask for confirmation — continue to the next step
- If no related specs are found, silently proceed without mentioning the scan
- Use the Glob tool to list all files matching
-
Create the change directory
spectra new change "<name>" --agent cursorIf a change with that name already exists, suggest continuing the existing change instead of creating a new one.
-
Write the proposal
IMPORTANT — file path rules for the
## Impactsection:- All file paths SHALL be written relative to the project root (e.g.,
src/lib/foo.ts,src-tauri/crates/core/src/bar.rs,docs/specs/specs/auth/spec.md). - Do NOT use relative fragments (e.g.,
parser/mod.rs,core/mod.rs) — preflight rejects them as non-anchored paths. - Do NOT wrap shell commands in backticks inside artifact text (e.g.,
`git mv a.rs b.rs`) — preflight's backtick extractor will otherwise mis-parse the command as a file reference. - When referring to a file without naming its concrete path, use descriptive prose (e.g., "Parser 入口檔") rather than a backticked path fragment.
- All file paths SHALL be written relative to the project root (e.g.,
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.
- 10d ago First seen · 387 lines · 18 tokens per session scan A d759c52b05f3
/spectra-propose is a command 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 4,014 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 commands, from other repositories
arrange-workspace-flow
Workflow for arranging a workspace: layout, reference source code, business/technical context, ecosystem setup.
modernization-flow
Workflow for converting, modernizing, upgrading, or re-architecting code (e.g. C++→Java, monolith→microservices), etc.
api-aqa-flow
Workflow for backend API test automation: TMS / Issue Tracker test cases → automated API tests, HITL-gated.
adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
research-flow
Workflow for deep project research with grounded references, parallel exploration, etc.
vault-expand
Explode a source note into 8-15 interlinked wiki pages plus a MOC.