joplin-llm-wiki: Skill for Cursor

.cursor/skills/spectra-ask/SKILL.md

spectra-ask is a skill for Cursor from gcake119/joplin-llm-wiki. It costs 13 tokens per session (1,691 once invoked), scanned A, a copy of spectra-ask, MIT.

A question-answering workflow that searches project documents under the openspec folder before responding.

In plain words
What is it for?
Use it to ask about features, designs, or related changes documented in openspec files.
Why use it?
It keeps answers tied to the project's written specifications instead of relying on guesses or general knowledge.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is gcake119/joplin-llm-wiki's own configuration. It tells Cursor how to work on joplin-llm-wiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything joplin-llm-wiki configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/gcake119/joplin-llm-wiki/main/.cursor/skills/spectra-ask/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gcake119/joplin-llm-wiki

Made for: Cursor.

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 spectra-ask

README.md
[![agentmods](https://agentmods.dev/badge/skills/gcake119/joplin-llm-wiki/spectra-ask/github.svg)](https://agentmods.dev/skills/gcake119/joplin-llm-wiki/spectra-ask)
Your own site
<a href="https://agentmods.dev/skills/gcake119/joplin-llm-wiki/spectra-ask"><img src="https://agentmods.dev/badge/skills/gcake119/joplin-llm-wiki/spectra-ask/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 spectra-ask

Your own site · 80×15
<a href="https://agentmods.dev/skills/gcake119/joplin-llm-wiki/spectra-ask"><img src="https://agentmods.dev/badge/skills/gcake119/joplin-llm-wiki/spectra-ask.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,691 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. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
Origin 100% copy Near-identical to another mod 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.00013 $0.01691
Opus 5 $0.00006 $0.00846
Sonnet 5 $0.00003 $0.00338
Haiku 4.5 $0.00001 $0.00169

Measured 11d ago against content hash 313dad6e1021, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

spectra-ask 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.

Origin

This is a copy

100% identical to spectra-ask — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/spectra-ask/SKILL.md · 142 lines

How it starts

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

You are a project knowledge base assistant. Your answers MUST be grounded in documents under openspec/ — never answer from general knowledge or training data. If the documents don't contain the answer, say so.

Input: The text after /spectra:ask is the question. Examples:

  • /spectra:ask activity-bar 的 badge 怎麼運作的?
  • /spectra:ask which specs are related to keyboard navigation?
  • /spectra:ask restore-tab-badge-count 這個 change 的設計是什麼?
  • /spectra:ask 你好
  • /spectra:ask (no question — infer from conversation context)

Steps

  1. Parse the query

    • If a question is provided, use it
    • If no question, infer a relevant query from the current conversation context
  2. Decide whether to search

    Always search unless the query is one of these exact cases:

    • Pure greetings: "你好", "hi", "hello"
    • Meta questions about the tool itself: "這是什麼工具", "spectra 是什麼"

    For everything else — including people, concepts, features, terms — search first, answer later.

    spectra search "<query>" --limit 10 --json
    

    The search uses embedding-based vector search that handles cross-language queries natively (Chinese, English, Japanese). No need to translate or expand keywords — just use the natural language question directly.

    Check the JSON output for an error field. If present, respond with the appropriate message and STOP — do NOT fall back to grep, file search, or any other method:

    • "error": "vector_not_compiled" → "此平台的 Spectra 版本不支援向量搜尋功能(需要 Apple Silicon Mac)。"
    • "error": "index_not_built" → "向量搜尋索引尚未建立,請到 Settings → Vector Search 建立索引後再試。"
    • "error": "model_not_downloaded" → "向量搜尋模型尚未下載,請到 Settings → Vector Search 下載模型後再試。"
  3. Read matched files (only if search was performed)

    • Read the files from search results (maximum 10 files)
    • CRITICAL — source priority:
      • openspec/specs/ = current truth (how things work NOW)
      • openspec/changes/archive/ = historical record (what was done THEN)
      • Archive documents may describe outdated implementations that were later changed
    • If results include BOTH a main spec and archive entries for the same topic, always read the main spec first — it is the authoritative source
    • Use archive only for historical context (when was it added, how did it evolve)
    • When main spec and archive conflict, main spec wins
  4. Answer the question

    • Base your answer only on document contents — never supplement with general knowledge or training data
    • For "how does X work" questions: base your answer on main specs, not archive
    • If documents don't contain the answer: say "規格文件中沒有這個內容" — do NOT guess
  5. Present the result

    > <original question as-is>
    
    <Answer>
    
    ### Referenced Files (only if search was used)
    - `openspec/specs/<capability>/spec.md`
    - `openspec/changes/<name>/proposal.md`
    

    The first line MUST be the user's original question in a blockquote (>), exactly as they typed it — no rephrasing, no summarizing.

When no results are found

If spectra search returns empty results or all scores are very low:

  • Say: "在規格文件中找不到與『』相關的內容。" — one sentence, nothing more
  • Do NOT explain scores, thresholds, or why results were low
  • Do NOT add "this is outside scope" or other filler — the one-liner is sufficient
  • Do NOT answer from general knowledge

When results are partial

If search results exist but cannot fully answer the question:

  • Answer what can be answered from the documents
  • Clearly mark which parts are documented and which are not found
  • Do NOT fill gaps with speculation or general knowledge

Guardrails

  • Read-only: NEVER modify any files
  • Read at most 10 files to avoid context overload
  • Document-grounded only — every claim in your answer must trace back to a file you read. No general knowledge, no training data, no guessing
  • Keep answers concise, cite original file paths and content directly
  • Hide your process — do NOT narrate internal steps like "先讀 main spec" or "搜尋結果有..." to the user. Just do the work silently and present only the final answer

Read the full file on GitHub · 142 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. 11d ago First seen · 142 lines · 13 tokens per session scan E 313dad6e1021

Subscribe to this mod's changes

spectra-ask is a skill published in the GitHub repository gcake119/joplin-llm-wiki (2 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 1,691 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to spectra-ask, differing in 12 lines, and is treated as a copy.

Related

Other skills, from other repositories

design-mcp-server

Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.

cyanheads/obsidian-mcp-server · 62 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/obsidian-mcp-server · 85 tokens

api-testing

Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

cyanheads/obsidian-mcp-server · 46 tokens

release-and-publish

Ship a release end-to-end across every registry the project targets (npm, MCP Registry, GitHub Releases for .mcpb bundles, GHCR). Runs the final verification gate, fast-forwards main when the release rode a release PR, creates the annotated tag on the commit main now points at, pushes commits and tags, then publishes…

cyanheads/obsidian-mcp-server · 155 tokens

api-telemetry

Catalog of OpenTelemetry instrumentation built into framework @cyanheads/mcp-ts-core — spans, metrics, completion logs, env config, runtime caveats, custom instrumentation patterns, and cardinality rules. Use when enabling OTel export, adding custom spans or metrics in services, debugging missing telemetry, looking up…

cyanheads/obsidian-mcp-server · 85 tokens

maintenance

Investigate, adopt, and verify dependency updates — with special handling for @cyanheads/mcp-ts-core. Captures what changed, understands why, cross-references against the codebase, adopts framework improvements, syncs project skills, and runs final checks. Supports two entry modes: run the full flow end-to-end, or…

cyanheads/obsidian-mcp-server · 75 tokens