spectre-capture
Capture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed…
Assess and repair a project's Spectre knowledge, work history, tags, and retrieval quality through primary-led decisions, parallel evidence review, and delegated repairs. Use for corpus cleanup, claim accuracy review, legacy migration, format compliance, or Knowledge Doctor. Not
$ npx -y skills add joenandez/spectre --skill spectre-doctor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/spectre-doctorContext preview
The summary Claude sees to decide when to auto-load this skill.
Assess and repair a project's Spectre knowledge, work history, tags, and retrieval quality through primary-led decisions, parallel evidence review, and delegated repairs. Use for corpus cleanup, claim accuracy review, legacy migration, format compliance, or Knowledge Doctor. Not
name: "spectre-doctor" description: "Assess and repair a project's Spectre knowledge, work history, tags, and retrieval quality through primary-led decisions, parallel evidence review, and delegated repairs. Use for corpus cleanup, claim accuracy review, legacy migration, format compliance, or Knowledge Doctor. Not for installer/runtime diagnostics, product-code fixes, or routine capture." user-invocable: true
Help users and agents trust project memory as code, decisions, and record formats change. Run Doctor when stale or conflicting guidance, duplicate records, or gaps in organization make it hard to know what still applies. Bring older records into the current format and make reliable guidance and relevant history easy to find, so future work can reuse prior evidence and decisions with uncertainty explicit.
Prioritize accuracy and useful coverage. Preserve decisions, qualifications, provenance, and recoverable history.
One bounded report and machine-readable repair manifest, with baseline identity, scope, coverage, evidence, unresolved findings, and recovery references. Default to `docs/knowledge-doctor/<unique-run-id>/report.md` and `repair-manifest.json` in the resolved project; honor an explicit destination and preserve prior runs. Workers return evidence directly; no per-worker report files.
Each proposed repair names exact record/tag identities and loaded revisions, priority and expected user impact, action, reason, claim-level evidence, before/after content or patch, related records/resources, dependencies, expected result, and recovery method. Include justified no-op, retain, and defer dispositions. A source or record change invalidates its dependent proposal.
Keep maintenance history in a separate Doctor ledger, preserving record schema v1. Its contract records run identity, project/scope, policy version, baseline/source versions, per-phase outcome, coverage, claim findings, repairs with pre/post revisions, unresolved work, checks, and recovery references:
If ledger support is unavailable, return this information in the report/manifest and state that persistent maintenance history was not updated. These dates are maintenance metadata, not tags or invented provenance.
**DONE, assess:** every scoped record has an accounted-for disposition; structural checks and semantic review coverage are explicit; evidence-backed repairs and uncertainties are reviewable. Unverifiable claims may remain, but excluded or unreviewed material cannot be reported healthy.
**DONE, apply:** each authorized repair is applied and verified, a justified no-op, or an explicit conflict/failure/defer with recovery. Report actual coverage and partial results; do not label failed verification successful or suppress unresolved findings.
Both modes require a self-contained final response with the highest-priority repairs and the Handoff next-steps table; artifact links alone are insufficient.
1. **Inspect and map.** The capable primary
SPECTRE is an Agentic Engineering workflow for Claude Code and Codex designed to help you do ONE THING more, faster, and with higher quality.
Capture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed…
Run final adversarial review through a pinned high-effort opposing runtime with one native fallback. Use at the final boundary to…
Generate a grounded draft pull request from the actual diff and open it via gh. Use when wrapping up a branch or writing a PR…
Execute tasks/plans with checks/reviews/proof. Use after planning/resume. Not for planning, unplanned fixes, or pruning.
Internal initializer for a missing Spectre feature root. Invoke only from a standalone workflow with no confirmed managed root.…
Internal diagnosis engine for the Spectre Fix workflow. Use only when invoked by spectre-fix to investigate a reported bug and…