/kstack:k-spectre <research question>from K-stack
Decomposes multi-source research questions into independent facets, runs parallel researchers, synthesizes findings, and validates each claim from primary sources. Best for comparing tools, cross-domain questions, or anything needing evidence synthesis.
Ships in K-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Decompose the question into facets, run parallel researchers, synthesize, then independently validate every key claim before reporting.
Classify the question into one tier:
| Tier | Criteria | Researchers |
|---|---|---|
| XS | Single focused question, narrow scope | 2 |
| S | One topic, one or two angles | 3 |
| M | Multi-facet topic, several angles | 4 |
| L | Competing approaches, many stakeholders, cross-domain | 6 |
| XL | Research project spanning domains, past and current and future | 8 |
Signals: words like "landscape", "comprehensive", "compare all" push toward L/XL. More distinct angles, more domains, or a past-to-future span push up. A single narrow question is XS or S.
Detect the context: web-only, codebase-only, or both. Mentions of this project, file paths, or symbol names mean the codebase is in play.
Write the facets yourself: disjoint, each phrased as a question, together covering the topic. For XL you may dispatch one design worker with templates/facet-decomposition-prompt.md to draft the list. You still own the final facets.
For L and XL, show the facet list and confirm with AskUserQuestion before dispatching. For XS through M, show the facets and proceed.
Create the run dir in the cwd: .kstack/spectre/<slug>-<YYYYMMDD-HHMM>/ with a findings/ directory inside. <slug> is a short kebab-case form of the question.
Dispatch all researchers in ONE message as background agents, one per facet:
research, prompt built from templates/researcher-prompt.mdexplore, prompt built from templates/codebase-researcher-prompt.mdEach brief names the topic, the facet, the run dir, and the other facets so edges stay disjoint. The output contract: write findings/<facet-slug>.md following templates/findings-template.md. Every claim gets an ID, a source URL or file:line, an access date, a short verbatim quote, and a confidence. The researcher returns only a summary of 10 lines or fewer.
One design worker reads all of findings/*.md and writes synthesis.md in the run dir, following templates/synthesis-prompt.md: the key claims with their IDs preserved, agreements across facets, contradictions, and gaps.
review workers re-verify every key claim: one worker for XS through M, two workers splitting the claim list for L and XL.
Each validator sees only the claim text and its cited source, never the researcher's reasoning. It re-fetches the primary source and searches independently. Verdict per claim: confirmed, contradicted, or unverifiable, each with the validator's own source. Validators write validation.md in the run dir (two validators write validation-a.md and validation-b.md); disagreements stand, no forced consensus. Use templates/validator-prompt.md.
One docs worker compiles report.md in the run dir from templates/report-template.md, then renders report.html from templates/dashboard.html. Use templates/report-compiler-prompt.md for the brief.
Answer the question in 15 lines or fewer: the answer with each claim labeled confirmed or unverified, the top sources, and the run dir path.
templates/codebase-researcher-prompt.md (opens in a new tab)templates/dashboard.html (opens in a new tab)templates/facet-decomposition-prompt.md (opens in a new tab)templates/findings-template.md (opens in a new tab)templates/report-compiler-prompt.md (opens in a new tab)templates/report-template.md (opens in a new tab)templates/researcher-prompt.md (opens in a new tab)templates/synthesis-prompt.md (opens in a new tab)templates/validator-prompt.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
research, parallel-search, synthesis, claim-validation, multi-source
npx claudepluginhub kasempiternal/k-stack --plugin kstack14 skills in this plugin
/k-agent-timeUse when asked to improve, optimize, redesign or solve an open-ended technical problem, or before dismissing an option as too big, slow or costly. Prices effort for agents, not human-hours./k-cursor-architectDelegate focused implementation or investigation from Claude Code to the Cursor Agent CLI (cursor-agent) running Grok 4.7. Use when the user invokes /k-cursor-architect, asks Claude to hand work to Cursor or Grok, or enables session-only delegation. Session mode makes Cursor the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode./k-designDesign before implementing. Opus produces the data shape, interface, file plan, failure cases, tests, and verification commands for a change, and runs a competing-designs bakeoff when the design is contested or has no precedent. Use for architecture, system or API design, implementation plans, repo restructuring, RFC-grade decisions, or from k-mode before code that crosses a function boundary./k-e2e-qaE2E and UI verification workflows. AgentController for native macOS apps (mcp__agentcontroller__*) and for iOS simulators and physical iPhones (mcp__agentcontroller-ios__*), Maestro or raw adb for Android (mcp__maestro__*), Claude in Chrome or Playwright MCP for the web. Use when running UI tests, QA automation, simulator or device testing, or driving and verifying a macOS app, iPhone, Android device, or web page./k-effortSwitch K-stack's routing level the way /effort switches session effort. Levels are lean < balanced < quality, plus burn on top. A typed level applies now and is saved as the default; add "session" to keep it to this session. Use for /k-effort, "kstack effort", "cheaper kstack routing", or "more effort on kstack"./k-exploreExplain how a subsystem works, trace a runtime flow, answer where code should live, or dig up why something was built this way (git history). Read-only. Use for "how does X work", "walk me through", "why is this like this", "where should this live", onboarding onto unfamiliar code, or from k-mode before changing a subsystem.Other plugins' skills for the same job