ship

ship is a skill for Claude Code from thoughtbot/rails-consultant. It costs 20 tokens per session (1,861 once invoked), scanned A, original, MIT.

An automated workflow that takes a written software specification through preparation, test-first implementation, review, verification, and a draft pull request. A pull request is a proposed code change for others to inspect before it is merged.

In plain words
What is it for?
Use it when you have a SPEC file and want the workflow to implement the feature, run tests and real-application checks, apply review fixes, and open a draft pull request.
Why use it?
It separates building, reviewing, and checking into different sessions, so the session that wrote the code is not the only one assessing it. The specification supplies the acceptance criteria for each step.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the rails-consultant plugin — 15 skills shipped together

Good fit Use it when you have a SPEC file and want the workflow to implement the feature, run tests and real-application checks, apply review fixes, and open a draft pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thoughtbot/rails-consultant/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 thoughtbot/rails-consultant --skill ship
Clone the repo
git clone --depth 1 https://github.com/thoughtbot/rails-consultant

Made for: Claude Code.

Or install rails-consultant, the plugin that ships this one along with the rest of its 15 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 ship

README.md
[![agentmods](https://agentmods.dev/badge/skills/thoughtbot/rails-consultant/ship/github.svg)](https://agentmods.dev/skills/thoughtbot/rails-consultant/ship)
Your own site
<a href="https://agentmods.dev/skills/thoughtbot/rails-consultant/ship"><img src="https://agentmods.dev/badge/skills/thoughtbot/rails-consultant/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 ship

Your own site · 80×15
<a href="https://agentmods.dev/skills/thoughtbot/rails-consultant/ship"><img src="https://agentmods.dev/badge/skills/thoughtbot/rails-consultant/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,861 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.00020 $0.01861
Opus 5.5 $0.00008 $0.00744
Sonnet 5.5 $0.00004 $0.00372
Haiku 4.5 $0.00002 $0.00186

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

Security

Grade A, and why

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 23d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/workflow.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ship/SKILL.md · 166 lines

How it starts

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

Ship

/slice gives you a SPEC. This runs the rest of the chain against it:

Prepare  --> Implement --> Review --> Verify --> Open
  prep        tdd          5 lenses    real app   draft PR
  refactor                 + fix       + shots    + check

Nobody has to be watching. A person can run it, or something in the cloud can, and either way the draft PR is what you come back to.

Each step runs in a context that never saw the one before it. That's the whole point — a session that just wrote the code is the worst possible reviewer of it, and a session that watched the review happen writes a description that defends the review instead of the change.

Run it

Hand assets/workflow.js to the Workflow tool, with the SPEC path as args:

Workflow({
  scriptPath: "<this skill's directory>/assets/workflow.js",
  args: { spec: "docs/specs/<the-slug>.md" }
})

If scriptPath is refused, read the file and pass its contents as script instead. Don't rewrite it inline from memory.

No SPEC path? Ask for one. The script throws without it, and every step after Prepare measures itself against those acceptance criteria — the chain has nothing to aim at otherwise.

When it returns

The return value is the whole report — nothing reaches the user on its own. Give them a tl;dr: what happened and what needs them. The PR holds the rest.

Four lines, in this order, in plain words. One sentence each, under 25 words; detail belongs in the PR. Never print the return value's field names.

Draft PR: https://github.com/acme/billing/pull/42
Built: invoices are due 30 days after issue, overdue the day after.
Checked: tests green. Called Invoice#overdue? on a sample invoice; got true.
Needs you: nobody ran the app. 2 screenshots in tmp/ship/, not on the PR.
  • Draft PR — prUrl. None means it never opened: say so with notOpenedReason.
  • Built — the SPEC's criteria that got built, one line. Add any in criteriaUnbuilt as "not built: …".
  • Checked — suiteGreen first; false means the branch is red, whatever else the run says. Then how verified checked the criteria outside the tests, or that nobody did.
  • Needs you — only what applies, comma-separated: a red suite, unbuilt criteria, reviewLeft findings, lensesUnchecked, an app nobody drove, screenshots to attach (local paths; nothing uploads them yet), and a description nobody checked (checkChanges is null). Nothing applies? "Needs you: nothing."

Read the full file on GitHub · 166 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago First seen · 166 lines · 20 tokens per session scan A aee6eb7e51d8

Subscribe to this mod's changes

ship is a skill published in the GitHub repository thoughtbot/rails-consultant (39 stars, last pushed 9d ago), licensed MIT. It adds 20 tokens to every session and 1,861 once invoked, about $0.0001 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-11-07.

Related

ship compared with skills from other repositories

ship next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shipthoughtbot/rails-consultantSkill399d agoMITA20Claude Code
uw-code-reviewIdoCohen560/claude-unity-game-studioSkill304mo agoMITA124Claude Code
elixir-wayoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA55Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA35Claude Code
reviewoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA51Claude Code
pr-reviewoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA61Claude Code, Codex