For Claude Code & Codex

Design it right. Build it once. One command to start.

Spectre is a battle-tested 6 stage agentic engineering workflow for building complex, production-ready features. You stay in the loop for the decisions that matter. Your agents handle the the rest.

Think like a product builder. Ship like an engineering org.

Free · Open source · MIT licensed

See how Spectre works

Why Spectre

AI agents made building easy. Building the right thing, the right way is still hard.

Direct prompting works when the change is obvious. When the details are fuzzy—or the work is big enough that planning would prevent rework—every missing decision becomes another correction loop. You become the orchestration layer.

The more ambiguity a change carries, the more expensive improvisation becomes.

Spectre moves the feedback loops forward—to scope, UX, and technical decisions, where your judgment has the most leverage.

How we solve it with Spectre

One command starts a complete path to a production-ready feature.

Spectre scales the workflow to the work. It keeps focused changes compact and adds structure as uncertainty, risk, or coordination grows.

01 / Right-sized from XS to XL

The workflow scales to the work.

Spectre creates the smallest sufficient plan for the job. Focused work stays compact. As uncertainty, risk, or coordination grows, Spectre adds the research, review, and task breakdown the work actually needs.

02 / Less rework, Less fix loops

Build it once, the right way.

Get much closer to right the first time. Your agent is not improvising from a paragraph-long prompt. Before implementation, it has explicit scope, UX decisions, codebase research, an approved technical design, a stress-tested implementation plan, and a defined verification path. When it is time to prove the work, that original intent becomes the acceptance criteria.

  1. 01Explicit scopeboundaries aligned
  2. 02UX decisionsbehavior defined
  3. 03Codebase researcharchitecture understood
  4. 04Stress-tested planblind spots repaired
  5. 05Implementation beginswith the full record

03 / Foccus where it matters

Spend your time where it matters the most.

Replace correction loops with product work. You focus on definition, user flows, high-level technical decisions, and last-mile adjustments to a working experience. Spectre handles the coordination so agents can work longer without asking you to babysit every step.

04 / From Idea to PR, Step by Step

One command to start, one command to remember.

For feature work worth planning, start with /spectre:scope in Claude Code or $spectre-scope in Codex. Spectre clarifies the boundaries, evaluates the work, and chooses the smallest sufficient path—from a compact XS plan to a reviewed, structured XL plan. No command map to memorize. No documentation to keep open.

Feature work that starts with Scope

One entry point/spectre:scope
Scope handles firstDefine the feature

Set boundaries and acceptance. Spectre then guides you to UX or Plan.

One command → next step included

05 / Regularly updated & improved

Battle-tested. Proven. And getting better.

Every skill, handoff, and workflow has been shaped through 18 months of daily use and iteration across Subspace, New June, Spectre itself, and projects built by early users. When reality exposes a gap, that lesson goes back into the system. Spectre will keep getting faster, more efficient, easier to use, and more effective.

“My time is now spent 90% on scope/UX planning, big thorny complex problems, dogfooding, and building the machine that builds the machine.”
Joe, creator of Spectre
  1. Scoperetrieves relevant context
  2. Executeverifies the pieces connect
  3. Reviewcatches issues before they compound
  4. Proveuses the product like a user

The right-sized plan. Less rework. Less back-and-forth. One clear next step at a time.

How it works

Six phases. One path from ambiguity to evidence.

Each phase turns decisions into durable context for the next. You stay at the judgment points, where AI helps you shape the right product. Spectre handles the research, coordination, review, and verification between them.

scope.mdboundaries aligned

Team notifications

  • IN · Inbox, unread counts, mark read
  • OUT · Email and push notifications
  • ANTI-SCOPE · No preferences UI
Human gate · boundaries approvedRecommended next · UX or Plan

01 / 06

Scope

Decide what you’re building

Define what is in, out, future, and explicitly not part of the feature. If the experience is still fuzzy, work through user flows, interactions, states, and UI prototypes before planning.

scope.mdboundaries aligned

Team notifications

  • IN · Inbox, unread counts, mark read
  • OUT · Email and push notifications
  • ANTI-SCOPE · No preferences UI
Human gate · boundaries approvedRecommended next · UX or Plan

02 / 06

Plan

Turn intent into architecture

Subagents fan out across the codebase first. You review, refine, and approve the high-level design. Spectre then creates the implementation plan, challenges it with an opposing agent, and prepares detailed tasks, subtasks, and a ready-to-use goal prompt.

planning bundlereviewed + executable

From codebase to executable plan

  1. 01
    Subagents fan out across the codebase
  2. 02
    Review the high-level designFeedback + approval
  3. 03
    Create plan + adversarial opposing-agent review
  4. 04
    Create detailed tasks, subtasks + a /goal prompt
Human gates · design + reviewed planReady · Execute

03 / 06

Execute

Build without becoming the coordinator

Your primary agent dispatches dependency-ready work, keeps each workstream test-first and committed, independently verifies the affected system after every wave, and routes compounding risk through review and repair. Once the plan is complete, an opposing agent performs one final adversarial review before Prove.

execution loopdependency-safe waves

Build in verified waves

  1. 01
    Dispatch dependency-ready work
  2. 02
    Build test-first + commit each workstream
  3. 03
    Verify the affected system
  4. 04
    Route risk-triggered review + repair
Repeat · until the plan is completeAdversarial review → Prove

04 / 06

Prove

Show that the experience works

Spectre turns the scope and UX you approved into acceptance criteria, then gathers real evidence by using the product like a user would. It inspects the resulting tests, screenshots, video, output, state, and logs and creates a visual proof artifact you can review.

proof.json + proof.htmlacceptance evidence

Use the product. Prove the contract.

  • New notification appears
  • Unread state persists after refresh
  • Screenshots · video · tests · logs
Acceptance gate · every row classifiedAggregate · PASS

05 / 06

Ship

Finish the last five percent

Spectre cleans the working set, closes risk-weighted test gaps, safely rebases, observes the full suite once, and opens a reviewer-ready draft pull request.

draft PR #482reviewer-ready

feat: team notifications

  • Cleanup committed
  • Risk-weighted test gaps closed
  • Safe rebase · full suite observed
Draft PR · openedNext · review the PR

06 / 06

Learn

Make the next feature smarter

Capture the durable decisions, patterns, and gotchas this build uncovered so future agents can load the right context when it matters.

knowledge recorddurable context

What this build taught the project

  • Pattern · inbox batching
  • Decision · Postgres retention
  • Gotcha · idempotent unread counts
Human gate · record approvedRegistered · verified + loadable

Scope Plan Execute Prove Ship Learn

Only command to remember/spectre:scopeClaude Code$spectre-scopeCodex

The principles

☠️ Ambiguity is death.

When scope, UX, plans, or acceptance are vague, the model fills in the blanks. Sometimes you get lucky. On real product work, those guesses compound into tangled rework, brittle code, and poor experiences.

01 · explicit inputs

Great inputs -> great outputs.

Spectre makes rigorous scoping, UX thinking, and technical planning easier. You bring the vision; AI helps shape it, challenge it, and explore its edges before planning and implementation begin.

scope.mdIn · Out · Future · Anti-scope

Do not use AI to skip thinking. Use AI to make rigorous thinking cheap, then give agents enough clarity to execute it well.

Use the right tool for the work

Built for work worth planning. Not every change.

Use Spectre when the details need alignment, existing behavior needs protection, or a plan would reduce rework—whether the work is focused or complex.

Great for

  • Focused changes with fuzzy requirements
  • Existing features with behavior to protect
  • New products and production MVPs
  • New major customer features and capabilities
  • Authentication and permissions
  • Onboarding and billing flows
  • Search and major UI surfaces
  • New platform capabilities and integrations
  • Complex internal tools
  • Significant refactors with product implications

Use something lighter for

  • Bug fixes, regressions
  • Exact copy, color, and papercut edits
  • Small, obvious UI components
  • Throwaway prototypes
  • Routine post-build iteration
  • Massive programs that should first be divided into clear feature phases

If the edit is exact, obvious, and low-risk, use your agent directly. When ambiguity, boundaries, or verification make planning worthwhile, Spectre scales the workflow to fit. For bugs, use /spectre:fix.

Completely free and open source

Install Spectre. Remember one command.

Choose your agent and install the plugin. For feature work worth planning, Scope is the only command you need to remember.

Claude Code2 commands
claude plugin marketplace add joenandez/spectre
claude plugin install spectre@spectre
Codex2 commands
codex plugin marketplace add joenandez/spectre
codex plugin add spectre@spectre

Restart or open a new Codex session after installation.

Your first feature

Start with Scope. Spectre guides the rest.

Tell Spectre what you want to build. It researches what it can, asks questions until the boundaries are clear, writes the scope, and recommends the right next action. UX-heavy feature? It guides you to UX. Experience already clear? It moves you to Plan. You never have to remember what comes next.

One command to start. One clear next step from there.

Read the documentation on GitHub
Claude Code/spectre:scope
Codex$spectre-scope
scope.md · saved

Recommended next

/spectre:uxInteraction-heavy feature · define the experience before Plan.
Copied