Agent skill

Spectre Ship

by joenandez in joenandez/spectre

Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-createpr.

MITAuto-check passedDevelopment

Install Spectre Ship

skills CLI
$ npx skills add joenandez/spectre --skill spectre-ship -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install joenandez/spectre spectre-ship --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/joenandez/spectre.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/spectre/skills/spectre-ship .claude/skills/spectre-ship && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spectre-ship
GitHub stars
164
Token cost
~1.8k tokens
SKILL.md length
765 words
Files
5 (incl. references)
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-createpr.

  • Works in 6 steps: Resolve once. Confirm branch/target/set;… → Parallel cleanup boundary. Classify… → Sweep. Start measure start --label… → …
  • Asked to ship finished work
  • SKILL.md covers Inputs, Feature root, Proof independence and Outputs + DONE, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Spectre Ship is an agent skill from joenandez/spectre. Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-createpr. Use when asked to ship finished work. Proof is optional. Do NOT use for implementation, main/master pushes, releases, or autonomous request-to-PR delivery.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/prune.md`, `references/rebase.md` and `references/sweep.md`).

It sits in Development, covering Pull requests. The repository describes itself as: 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…. The licence is MIT.

When your agent uses it

  • Asked to ship finished work
  • Main/master pushes
  • Autonomous request-to-PR delivery

Example prompts

  • “/spectre-ship”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Resolve once. Confirm branch/target/set; reject main/master. Read the exact branch; never derive work identity from branch, recency, or…
  2. Parallel cleanup boundary. Classify P0-P3; invoke measure start for Prune/Test. Load ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/p…
  3. Sweep. Start measure start --label "Sweep"; load ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/sweep.md with --orchestrated…
  4. Rebase. Start measure start --label "Rebase"; load ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/rebase.md with target…
  5. Observe one full suite after rebase. At FULL_SUITE_SHA, derive and freeze candidate {repository, base, head, diff} as…
  6. Create PR and measure. After suite call Skill(spectre-create_pr) with target, --orchestrated --pr-phase final-update, URL/body, the same…

What it can do on your machine

Read from SKILL.md and the folder at commit 931c9e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spectre Ship loads about 1.8k tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 765 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from joenandez/spectre at commit 931c9e8, republished under its MIT licence (© joenandez). 765 words, ~1,786 tokens.

Download SKILL.mdSave it as .claude/skills/spectre-ship/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
spectre-ship
description
Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-create_pr. Use when asked to ship finished work. Proof is optional. Do NOT use for implementation, main/master pushes, releases, or autonomous request-to-PR delivery.
user-invocable
true
disable-model-invocation
true

ship

Own cleanup, rebase, advisory suite, and draft PR.

Inputs

  • $ARGUMENTS: optional feature root/artifact, target (default origin/main), feedback focus, or --draft; live branch/tree/remotes/PR state.

Feature root

  • Reuse a managed FEATURE_ROOT only 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-root through DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged.

Proof independence

Proof is optional: do not inspect, infer, invoke, or gate on it. Only authority/publication-safety impasses prevent PR creation.

Outputs + DONE

  • Return PR URL, commits, rebase/tested SHA, verification/repairs, CI: pending, measurement, and PR_OPENED status PASS|REPAIRED|PRE_EXISTING_FAILURES|INDETERMINATE|KNOWN_FAILURES_REMAIN.

DONE when: Prune analysts/Test testers finish their gates, then Sweep, rebase, one full suite, repair/routing, measurement relay/degradation, and PR URL. Non-green verification never prevents DONE.

Method / guardrails

  1. Resolve once. Confirm branch/target/set; reject main/master. Read the exact branch; never derive work identity from branch, recency, or ambient roots — selection binds to the frozen post-rebase candidate. FEATURE_ROOT is artifact-only. Reuse unambiguous ancestral CLEANED_THROUGH_SHA. Invoke spectre-workflow measure start --label Ship; below, measure means spectre-workflow measure.
  2. Parallel cleanup boundary. Classify P0-P3; invoke measure start for Prune/Test. Load ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/prune.md and ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/test.md with the set/risk/FEATURE_ROOT/--orchestrated. Skill loading imports instructions, not phase delegation: the primary owns both contracts and makes one parallel dispatch of leaf @spectre:analyst/@spectre:tester batches; no phase child spawns agents. Neither stages/commits. Invoke measure finish after all batches, attaching a child identity only when singular; relay compact paths/checks and repair/route cross-boundary needs unless NEEDS_AUTHORITY.
  3. Sweep. Start measure start --label "Sweep"; load ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/sweep.md with --orchestrated, unchanged set, and both results. It alone integrates stale/uncovered checks, repairs attributable failures, and commits; invoke measure finish for the Sweep snapshot.
  4. Rebase. Start measure start --label "Rebase"; load ${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/rebase.md with target, --orchestrated --verification-owner parent; retain backup summary. No checks; invoke measure finish for the Rebase snapshot.
  5. Observe one full suite after rebase. At FULL_SUITE_SHA, derive and freeze candidate {repository, base, head, diff} as EXPECTED_BASE_SHA/EXPECTED_HEAD_SHA/EXPECTED_DIFF_SHA256. Before the first PR side effect, select against that frozen tuple with knowledge-cli.mjs work membership --branch <exact-branch> --candidate <tuple-json>; freeze its selected work-ID set and report excluded/ambiguous without substituting recency. Still before Create PR, invoke Skill(spectre-work-record) per selected record: finalize a complete one with execution.state finalized and remainingWork exactly None.; refresh a blocked/incomplete one truthfully and never finalize it. No PR, CI, review, or readiness value enters remainingWork. Then invoke measure start --label "Full suite" and measure start --label "Create PR". In parallel run the full-suite lane and Skill(spectre-create_pr) pending with target, --orchestrated --pr-phase pending, the frozen set, and the tuple; it returns a draft with local verification RUNNING. At each end invoke measure finish with child identity when available. No duplicate suites or raw child output.
    • Attribute failures branch-caused|unrelated|indeterminate, preferring target-SHA CI and otherwise reproducing only the failing check at target.
    • Repair branch-caused families; rerun only failing/affected checks, never the full suite. Route unrelated/indeterminate findings; record repaired HEAD and CI: pending.
    • Verification is evidence, never a stop condition.
  6. Create PR and measure. After suite call Skill(spectre-create_pr) with target, --orchestrated --pr-phase final-update, URL/body, the same frozen set, refreshed tuple, and FINAL_VERIFICATION_SUMMARY; change Testing only. Refresh claims after repairs; on PR_CANDIDATE_STALE, refresh and retry. Once PR identity exists, re-run work membership against the final tuple after any repair; a record it no longer proves is reported, not associated. Annotate the still-selected set through one work associate --work-id <id> … --pull-request-id <id> --candidate <final-json> --pull-request <json>, replaying retry.expectedRevisions via --expected-revisions until associated/noop and reporting partial remaining. Association annotates only: it never confers finality, PR state is draft-open, never merged, and a later Execute run on this branch keeps its own record and joins this same PR only when the updated candidate proves membership. Ambiguity or capture failure returns recovery input but does not block PR. Run measure summary --rows … --outer-snapshot … --persist --project-dir … --feature-root "$FEATURE_ROOT" --base-sha "$EXPECTED_BASE_SHA" --head-sha "$EXPECTED_HEAD_SHA" --diff-sha256 "$EXPECTED_DIFF_SHA256"; relay table, persistence status, and history path. Persistence degradation never blocks PR completion; never inspect transcripts, track clocks, or calculate. Unattributed Prune/Test and Full suite/Create PR use one exact parallel-group total; unavailable measurement never blocks Ship.
Show full SKILL.md (83 more words)Show less

Never use --no-verify, force-push over unrelated remote history, suppress failures, or publish evidence containing secrets/PII.

Handoff

HandoffDetails
🧭 Current phaseDone
📦 What was just doneResult
▶️ Proposed next stepRender resolved action.

Return PR URL + PR_OPENED/verification; review PR, CI owns merge-gating full-suite. Terminal: no handoff.

Escalate-If

  • Cleanup/rebase/create-PR reports NEEDS_AUTHORITY: no safe path exists without new user authority.
  • Ambiguous branch/target, unexpected remote divergence, or secrets/PII.
  • Never escalate solely for test/lint/type/build failures, full-suite status, repair count, diff growth, or candidate drift that can be refreshed.

© joenandez, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in plugins/spectre/skills/spectre-ship of joenandez/spectre.

  • SKILL.md
  • references/prune.md
  • references/rebase.md
  • references/sweep.md
  • references/test.md

Open the folder on GitHubat commit 931c9e8

Compare with similar skills

Spectre Ship next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spectre Ship compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spectre Ship this skilljoenandez/spectre164—~1.8kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands91k—~2.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    91k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Record PR Demo

    payloadcms/payload

    A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.

    45k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from joenandez/spectre

All 26 skills in this repo
  • Verify Spectre

    joenandez/spectre

    A skill your agent uses when validating that the Spectre plugin itself still works after ANY change to this repo — skills, prompts, agents, hooks, the CLI, the Codex mirror, or a release.

    164 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed
  • A skill your agent uses when modifying the Codex SPECTRE install flow, SessionStart continuity, project skill syncing, registry injection, or Codex-specific runtime files.

    164 GitHub stars~2.2k tokensUpdated 8 days ago
    Auto-check passed
  • Spectre Handoff

    joenandez/spectre

    Save a quiet, branch-keyed session snapshot with continuity, active work, and optional task/todo state for automatic resume.

    164 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Spectre Learn

    joenandez/spectre

    User-invoked front door for durable capture. An agent skill from joenandez/spectre.

    164 GitHub stars~1k tokensUpdated 8 days ago
    Auto-check passed
  • Spectre Rewrite Skill

    joenandez/spectre

    Rewrite a verbose SPECTRE skill into a compact, contract-form Spectre skill proposal — clear on WHAT, silent on HOW — grounded in the spectre-light distillation and freedom-tier budget.

    164 GitHub stars~3k tokensUpdated 8 days ago
    Auto-check passed
  • Spectre Rewrite Subagent

    joenandez/spectre

    Rewrite Spectre subagent definitions into compact, contract-driven agents with clear routing, least-privilege tools, output schemas, and an auditable rewrite trail.

    164 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed

Categories

Questions about Spectre Ship

What does Spectre Ship do?

Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-createpr. Spectre Ship is an agent skill from joenandez/spectre. Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-createpr.

When should I use Spectre Ship?

Spectre Ship fits situations like: asked to ship finished work; main/master pushes; autonomous request-to-PR delivery.

How do I install Spectre Ship in Claude Code?

Run `npx skills add joenandez/spectre --skill spectre-ship -a claude-code`. Or copy the skill folder (plugins/spectre/skills/spectre-ship in joenandez/spectre) into .claude/skills/spectre-ship in your project. Claude Code loads it when a task matches its description.

How do I install Spectre Ship in Codex?

Run `npx skills add joenandez/spectre --skill spectre-ship -a codex`. Or copy the skill folder (plugins/spectre/skills/spectre-ship in joenandez/spectre) into .agents/skills/spectre-ship in your project. Codex loads it when a task matches its description.

Can I use Spectre Ship in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joenandez/spectre --skill spectre-ship -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spectre-ship, .gemini/skills/spectre-ship, .github/skills/spectre-ship and .opencode/skills/spectre-ship in your project.

What does Spectre Ship need to run?

SKILL.md names no scripts, command-line tools or credentials: Spectre Ship is instructions for the agent only.

Does Spectre Ship access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spectre Ship safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Spectre Ship use?

Spectre Ship is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spectre Ship use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.5k tokens, read only when the agent opens those files.

What are the alternatives to Spectre Ship?

Skills that share tags, products or a category with Spectre Ship: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 91k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spectre Ship?

joenandez (a GitHub user) maintains it in joenandez/spectre, which has 164 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 2, 2026.

Source: joenandez/spectre on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.