joenandez/spectre/spectre-execute
Claude Code and agent skill by joenandez/spectre
- community
Checking that the SKILL.md file is still in the repository.
Execute tasks/plans with checks/reviews/proof. Use after planning/resume. Not for planning, unplanned fixes, or pruning.
Install
npx vskill@latest install joenandez/spectre/spectre-executeSKILL.md
execute
Preserve parallelism, authority, gates, repair.
Inputs
$ARGUMENTS: path;--origin plan|fix;--preflight-plan <xs|light|standard|comprehensive>; wave hints;--orchestrated; orchestrated-only--finalization-owner parent. Default owner:self.--review-profile final-only, valid only with--orchestrated --finalization-owner parent; it defers intermediate review and requires the orchestrating caller to invokeSkill(spectre-code_review)exactly once; caller owns sequencing, never semantic review.structured: execute index + resolvabletasks.json; malformed structured input escalates, never becomes a plan.fix-source: bug-report path/root or identifying content—not--origin—selectsfix; loadreferences/fix-source.md, not Plan preparation.plan-direct: explicit readable plan, including paths, Plan handoff markers, and legacyExecution Mode: directheaders. The explicit supplied plan wins over ambient task artifacts and enters this preparation contract.- No path: use existing same-run source evidence first, then a plan at the confirmed root, then structured-only fallback. No-path selected plans receive this preparation before dispatch. Never infer from branch/recency.
--preflight-plan <depth>remains a preparation-depth hint, not authorization, classification, or task-graph switch; a depth hint must not create authority pause.Execution Mode: directis a legacy coordination hint. No selected readable plan needs a completeness/header ceremony.
Working Set
- Reuse a managed
FEATURE_ROOTonly when explicit/current-thread evidence ties it to this work (physical directory wins; never branch/recency/lifecycle/scans); distinct work ignores ambient roots. Otherwise, including on collision, standalone MUST first load and follow@skill-spectre:spectre-feature-rootthrough DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged. - Keep the invocation checkout.
- Structured detail precedence: declared
Tasks JSON→ adjacenttasks.json→ sibling.tasks.json; else escalate. Read whole; detail targeted slices. - Structured/plan-direct read
references/telemetry.md, start/resume local event run with origin, follow primary/worker authority. Local workflow store is the sole lifecycle/progress authority; plans/tasks immutable. Summaries retain origin/shape/category/elapsed/aggregate tokens; Plan-direct emits events. Telemetry failure degrades observation, never delivery authority. SCOPE_DOCS: manifest paths or scope/UX/research cited by the plan.- On first selected readable-plan use/resume, read
references/plan-direct.mdfor preparation state. On the first verification failure, review finding, E2E gap, or proof failure, readreferences/repair-policy.md. - Maintain compact verification ledger by HEAD, check id, changed/dependency surface, result, attribution, disposition; controls reruns. Never persist raw output or per-wave evidence/checkpoint/report files.
Outputs + DONE
- Commit implementation batches/canonical artifacts. Task/plan immutable; Execute evidence/state local/uncommitted.
self: one final comprehensive review; proof endsPASS.parent:IMPLEMENTATION_READY+ACCEPTANCE_PENDINGmanifest; no final review, proof, or acceptance claim. With--review-profile final-only, every phase recordsfinal-onlyand the parent receivesFINAL_REVIEW_PENDING.- DONE: selected work/adaptations
done|skipped; current affected verification; each phasefinal-onlyor reviewed once for recorded compounding risk; every finding dispositioned; no safe authorized work or stale/uncovered final surface; self final review + end-only proof when applicable; no primary-authored planned work; structured telemetry complete or honestlydegraded.
Method / guardrails
- Plan preparation. For selected readable plans, resolve root, plan, Scope, depth/state before run creation. Reuse applicable
task_context.mdassessment by plan/authority hashes; after scope-safe byte-only review edits, rebind if topology/uncertainty is unchanged; reroute only if absent/materially invalidated. Missing assessment dispatchesSkill(spectre-plan-route)to a fresh child agent for one classification. Hash-bound observed size, never depth, decides Plan Review: XS/S recordreview:not-required:<size>and skip; M+ reuse a closed correctness+simplification chain only with external-attempt/recorded-failure+fallback provenance, completed route/reports, finalized plan hash/disposition, and protected files unchanged; reject route-only/interrupted/NOT DONE; else resume hash-valid or user-decided partial correctness or dispatch${CLAUDE_PLUGIN_ROOT}/skills/spectre-execute/references/plan-review.md --auto-apply scope-safe --orchestratedonce to fresh child. Review-worthy risk reclassifies M+; no hidden XS/S exception. Mechanical repairs stay local; semantic corrections use child. Scope/explicit-design changes remain withheld; scope-safe result proceeds without a second user gate. ATOMIC/DIRECT use the bounded local workstream/Active Wave pattern. For STRUCTURED, pass finalized plan path/hash, closed review evidence, and assessment depth; STRUCTURED dispatches a fresh child with${CLAUDE_PLUGIN_ROOT}/skills/spectre-execute/references/create-tasks.md --orchestrated(L → standard, XL → comprehensive). No automatic task review; when a user explicitly requests a task-graph audit, load${CLAUDE_PLUGIN_ROOT}/skills/spectre-execute/references/task-review.md. Select only a validated pair bound to finalized plan and closed review chain. For all preparation children, consume child DONE inside the same Execute run before proceeding.
- Resolve and resume. Persistent execution authority: on initial entry and every continuation/resume, including after compaction, reload this contract with original source arguments and continue the same durable run; never implement from memory or substitute another workflow. Rebuild the frontier from the store:
run startwith original--sourcereturns the samerunId;run status --run-id <id> --jsonreports it. Compare selected source/preparation hashes before trusting mappings;references/plan-direct.mdowns hash-bound pair reuse and source-mode continuity. Fresh structured selection persists its resolved JSON event source so resubmitting the plan resumes the same run. Trust onlycompleted/skipped; every other value is redo-or-verify.INVALID_TASK_TRANSITIONmeans the log is ahead: re-read, never force. Source order alone does not block concurrent dispatch; detail only the ready frontier. - Batch and dispatch. Read
references/parallel-scheduling.mdbefore first dispatch; apply it to every source and frontier. Waves guide; phases bound review. Batch at most three sequential parents or bounded plan-direct workstreams. Assign plan-required real-input probes to@spectre:devbefore dependent implementation; independent ready work may proceed. Require a sanitized real capture/fixture and observed result against the plan's stop condition; static inference cannot replace them. Every source-owned workstream, including single/sequential work, goes to@spectre:dev; the primary only orchestrates, verifies, accepts, and records state; it never implements planned work. Forrisk, use Claudeclaude-opus-5-5or Codexgpt-6-sol; otherwise defaults. Give exact assignment, context, threatened invariant, and shared contract; omit unrelated ids. Structured dispatch includes exact<workflow_telemetry>. Require the worker to load${CLAUDE_PLUGIN_ROOT}/skills/spectre-execute/references/tdd.md, run focused checks, commit, return compressed insights, and report E2EComplete|Gap|Adaptation. - Gate accepted batches. Before any reviewer, the primary independently runs affected lint/typecheck/build and native focused non-harness tests selected from the returned diff and demonstrated dependency/consumer boundaries; gate batches while other assignments remain in flight, letting early parents ride the next covering gate. Never run a repository baseline/root suite, full app harness, benchmark, or broad qualification here. Record stable check ids/result against current HEAD without raw output or new evidence files. Attribute failures and follow
references/repair-policy.md; implementation reports are leads only. - Capture boundaries. After exact run/work identity, invoke
Skill(spectre-work-record)once at start with truthful intent/scope. Workers return compact findings/evidence; after each accepted batch primary invokesSkill(spectre-capture)only for qualifying reusable knowledge. For meaningful blocked handoff/resolved resumption, invokeSkill(spectre-work-record); never task, batch, check, review, commit, or routine-progress update. At terminal completionrun finishfirst, then invokeSkill(spectre-work-record)once with truthful seven-section account and--source-run-id <exact-run>; capturing earlier leaves a start-only delivery receipt Ship can never select. Authorized successfulselfsendsexecution: finalizedwithremainingWork: "None.", independent of Ship, any PR, and later review/CI/merge/closure;parentstaysIMPLEMENTATION_READY/ACCEPTANCE_PENDING; blocked/failed/incomplete runs stay non-final with truthful residual work. Capture failure does not block verification, review, proof, lifecycle authority, or delivery; return recovery input. - Record and adapt. Record accepted completion only in local state; emit primary completion against passing gate; worker submission never acceptance. Never mutate source task/plan artifacts for lifecycle state. Add/split/skip/reorder only source-required derivative work; amend the canonical graph only when its definition was wrong. New derivatives join when assigned.
- Route intermediate review by compounding risk or final-only profile. With
--review-profile final-only, record each verified completed phase asfinal-onlywithout loading review routing or dispatching a reviewer. Otherwise a phase may be reviewed only after all source-owned tasks/workstreams and adaptations aredone|skippedunder current affected verification; completion alone is not a trigger. On first phase completion, readreferences/review-routing.md.
- Inputs: phase diff/commits/files, risk, scope, verbatim requirement/AC slices—not dev rationale, pending phases, unrelated files.
- Check named risk, Defined → Connected → Reachable, E2E completeness, security/correctness, dead/orphaned outputs, duplicate sources, old active paths.
- Return
CLEANor evidence-backed CRITICAL/HIGH withfile:line, invariant, observable scenario, evidence chain, smallest in-thread fix. Persist only local route/dispositions, never an intermediate review report. Follow repair policy: one consolidated pass, affected verification, no repair re-review.
- Repeat until the selected completion projection is satisfied.
Finalization
Compute coverage from the ledger. Run only stale or uncovered checks; never blanket-rerun cumulative verification or a root suite. Expensive harness/performance/full qualification runs only for the final relevant candidate unless a source task produces a prerequisite or product-consumed qualification artifact blocking downstream work. Cache by candidate definition hash = relevant inputs + scenario/config + command; permit one run per hash, rerun only after changed inputs or diagnosed infrastructure invalidation.
This is the start of the file. Read the full SKILL.md on GitHub.
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-execute/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-execute)