joenandez/spectre/spectre-capture
Claude Code and agent skill by joenandez/spectre
- community
Checking that the SKILL.md file is still in the repository.
Capture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed persistent blockers as soon as they matter. The user's correction is sufficient authority without code corroboration. Do not use for routine progress, transient errors, incidental code, task outcomes, or historical work accounts.
Install
npx vskill@latest install joenandez/spectre/spectre-captureSKILL.md
capture
Purpose
Maintain concise, reusable project guidance proactively. Capture never gates delivery, verification, acceptance, or PR progression.
Inputs
- A consequential lasting decision/reversal, accepted correction, verified reusable pattern/gotcha/constraint, disproved guidance, or confirmed persistent-blocker transition.
- Current-request discovery and exact-loaded candidates, when available; host project directory, tag intent, and candidate ID/revision when updating.
- No workflow, feature, run, or PR association: this skill owns maintained knowledge, not work history.
Working Set
- Reuse discovered/loaded candidates that answer the same future question. Refine only an unresolved question; do not repeat a broad search at the capture boundary.
- Read
references/tagging-policy.mdandreferences/knowledge-capture-input.json. Search tags only to resolve missing aliases, omitted areas, or genuinely new tag intent; exact-load a record only when needed. - Use relevant files already acquired for entry points. Focus-read to validate observed lines when needed; do not dump files or invent locations.
Outputs + DONE
- A typed capture result: saved, updated, superseded, retired, no-op, skipped, or surfaced failure, with ID, revision, and canonical
recordPathwhen applicable. - Knowledge content has four distinct responsibilities: applicability (
useWhen); current conclusion first, with why and practical consequences (content); selected code entry points; supporting evidence (evidence). Keep the summary a short routing aid rather than a repeat of the guidance. Aim for 250–600 rendered tokens as a soft editing target; split independent questions when useful, and retain required facts and gates over size.
DONE when: a supported durable fact is captured through the typed path, or a skip/no-op/failure is reported truthfully without changing workflow authority.
Method / guardrails
- Capture facts that change a likely future decision, prevent a repeated failure, or route to relevant code. Routine progress, incidental code observations, transient command errors, and task completion alone do not qualify.
- An explicit user statement that a lasting decision is current, corrected, or superseded is authoritative. Do not wait for repository corroboration or reconfirmation. When a correction is accepted, rewrite contradictory current guidance and its title, summary, and
useWhentogether; do not leave the old conclusion imperative. Use existing revision-aware updates, statuses, andrelatedRecordIdsto reconcile known competing guidance and preserve history. Surface write/conflict failures accurately; never claim unresolved records were reconciled or sweep the corpus. - Bound provider observations by observed version, date, and configuration; state when they need rechecking. Keep phase obligations, experiment settings, and one-session permissions separate from project-wide guidance. Explain genuinely unavailable or non-code entry points; a user correction remains valid even without a known code location.
- Put
entryPointsin the semantic input from relevant acquired files: each location has path, symbol or document section, observed positive line, and role. Use a specific explanation for actual unavailable/non-code portions; mixed known and unavailable locations may include both. No file dumps, invented lines, or boilerplate excuses. - Submit JSON on standard input:
knowledge-cli.mjs capture --kind knowledge --input - --project-dir <project-dir> --json. New input needs tag intent; reuse a canonical area or create only under the shared policy. Use--input <path>only for explicit manual/advanced capture or returnedrecoveryInput. - An unchanged retry is a no-op. Changed records require the loaded
revisionTokenas--expected-revision; preserve omitted tags. Never edit canonical packages,index.json, or history. - A capture failure returns recovery input and remains non-blocking. It never becomes a workflow gate.
Handoff
Return the trigger or skip reason, tag and record outcome, ID/revision/conflict, canonical recordPath, applicability, evidence references, and recovery input when applicable.
Escalate-If
- Accepted directions conflict without a clear current decision, or applicability cannot be determined; surface the conflict without guessing.
- A write cannot recover through the available path; report recovery input without blocking delivery.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/spectre/skills/spectre-capture/SKILL.md
Popularity
- Repository stars
- 164
- Repository forks
- 16
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joenandez/spectre/spectre-capture)