spec-ship

spec-ship is a skill for Claude Code from benjaminthomas/spec-driven-dev. It costs 119 tokens per session (2,957 once invoked), scanned A, original, MIT.

A workflow that pushes the current code branch to GitHub and opens a pull request, which is a request for others to review and merge changes.

In plain words
What is it for?
It helps verify GitHub CLI access, authentication, and remotes, then create a branch, push changes, and open a pull request.
Why use it?
It handles the preparation and checks needed to send local work to GitHub for review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code.

Part of the ticket-to-pr plugin — 14 skills shipped together

Good fit It helps verify GitHub CLI access, authentication, and remotes, then create a branch, push changes, and open a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benjaminthomas/spec-driven-dev/spec-ship
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add benjaminthomas/spec-driven-dev --skill spec-ship
Clone the repo
git clone --depth 1 https://github.com/benjaminthomas/spec-driven-dev

Made for: Claude Code.

Or install ticket-to-pr, the plugin that ships this one along with the rest of its 14 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spec-ship

README.md
[![agentmods](https://agentmods.dev/badge/skills/benjaminthomas/spec-driven-dev/spec-ship/github.svg)](https://agentmods.dev/skills/benjaminthomas/spec-driven-dev/spec-ship)
Your own site
<a href="https://agentmods.dev/skills/benjaminthomas/spec-driven-dev/spec-ship"><img src="https://agentmods.dev/badge/skills/benjaminthomas/spec-driven-dev/spec-ship/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spec-ship

Your own site · 80×15
<a href="https://agentmods.dev/skills/benjaminthomas/spec-driven-dev/spec-ship"><img src="https://agentmods.dev/badge/skills/benjaminthomas/spec-driven-dev/spec-ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.02957
Opus 5.5 $0.00048 $0.01183
Sonnet 5.5 $0.00024 $0.00591
Haiku 4.5 $0.00012 $0.00296

Measured 4d ago against content hash 85b4f0922f90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-ship scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/spec-ship/SKILL.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ship It

Push your work to GitHub and open a pull request — handling prerequisites, branch creation, pushing, and PR generation automatically.

This skill complements spec-checkpoint. Use spec-checkpoint to commit locally (with quality gates), then spec-ship to get the code to GitHub for review.

Project config (read first)

Load .spec-driven.yml: walk up from the current directory to the home folder, and the first one found wins (a multi-repo config only applies inside the repos it lists). If none is found, check ~/.spec-driven/workspaces.json, which maps each multi-repo config to its repo paths. Use the config whose repos contain the current directory, because a workspace's repos can live in unrelated folders. Its values beat anything you would detect or assume. If {specs_dir}/team.yml exists, it holds the team's shared rules (tracker, git conventions, commands, models, GitRisk, sharing): read it first, and let .spec-driven.yml override it. This skill uses git.remote, git.pr_target, git.branch_name, tracker (to link the ticket in the PR), and layout/repos.

Multi-repo: push and open one PR per repo that has unpushed commits, and list the sibling PRs in each PR's body so reviewers see the whole change.

No config? If the spec-setup skill is available, run it first, then continue here. If it isn't, detect what this skill needs from the repo, ask about anything ambiguous, and offer to save the answers to .spec-driven.yml (keys: layout, repos, tracker, git, commands, specs_dir).

Instructions

Step 0: Prerequisites

Verify tooling before doing anything else.

  1. GitHub CLI installed?
    gh --version
    
    If the command fails (not found):
    • Detect the platform and attempt to install:
      • Windows: winget install --id GitHub.cli
      • macOS: brew install gh
      • Linux (Debian/Ubuntu): follow the official apt instructions
    • If auto-install fails, tell the user what to install and stop.

Read the full file on GitHub · 268 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +11 lines 85b4f0922f90
  2. 22d ago Changed · +26 lines 447b1b5a0dde
  3. 23d ago Changed · +10 lines 716ea1f11226
  4. 27d ago Changed · +19 lines 0727b8a4209e
  5. 3mo ago First seen · 202 lines · 119 tokens per session scan A 594016f91e3d

Subscribe to this mod's changes

spec-ship is a skill published in the GitHub repository benjaminthomas/spec-driven-dev (2 stars, last pushed 4d ago), licensed MIT. It adds 119 tokens to every session and 2,957 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

spec-ship compared with skills from other repositories

spec-ship next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-shipbenjaminthomas/spec-driven-devSkill24d agoMITA119Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill122kyesterdayMITA131Claude Code
repo-activity-summaryCodeAlive-AI/ai-driven-developmentSkill195yesterdayMITA70Claude Code
git-workflowDevelopersGlobal/ai-agent-skillsSkill2219d agoMITA27Claude Code, Codex
to-prhelderberto/agent-skillsSkill212d agoMITA25Claude Code
setuphelderberto/agent-skillsSkill212d agoMITA25Claude Code
shipping-and-launchvinvcn/addyosmani-agent-skills-zhSkill601mo agoMITA49Claude Code