odyssey: Command for Claude Code

.claude/commands/ship-check.md

ship-check is a command for Claude Code from KhourySpecialProjects/odyssey. It costs 0 tokens per session (1,295 once invoked), scanned A, original, MIT.

A branch finishing checklist that runs local continuous-integration checks and prepares a pull-request summary. A pull request is a proposed code change for review before it is merged.

In plain words
What is it for?
Use it before opening a pull request to check the working tree, run CI, inspect the commit history and diff, and measure the change size.
Why use it?
It catches failing checks and warns about uncommitted work before you ask others to review the branch. It also shows what changed and whether the branch is too large.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument.

This is KhourySpecialProjects/odyssey's own configuration. It tells Claude Code how to work on odyssey itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything odyssey configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/ci-local.sh.

Reuse

Borrowing it

Nothing to install: this file belongs to KhourySpecialProjects/odyssey. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/KhourySpecialProjects/odyssey/develop/.claude/commands/ship-check.md
Clone the repo
git clone --depth 1 https://github.com/KhourySpecialProjects/odyssey

Made for: Claude Code.

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-check

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/khouryspecialprojects/odyssey/ship-check"><img src="https://agentmods.dev/badge/commands/khouryspecialprojects/odyssey/ship-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,295 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.00000 $0.01295
Opus 5.5 $0.00000 $0.00518
Sonnet 5.5 $0.00000 $0.00259
Haiku 4.5 $0.00000 $0.00129

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

Security

Grade A, and why

ship-check 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 8d 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.

.claude/commands/ship-check.md · 124 lines

How it starts

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

Prepare Branch for PR

Run pre-ship checks and prepare a PR-ready summary for the current branch.

Mode: $ARGUMENTS

If no mode specified, run full checks.

Steps

1. Verify clean state

Run git status to check for uncommitted changes. If there are unstaged changes, warn the human and ask whether to proceed or stop.

2. Run full CI

Run the same checks as /ci full:

bash scripts/ci-local.sh

If CI fails, show the failures and STOP. Do not proceed to PR preparation with failing checks. Tell the human what needs fixing.

3. Gather branch context

git log --oneline production..HEAD
git diff --stat production..HEAD

Count files changed, insertions, deletions. Identify which areas were touched (frontend components, request functions, Strapi schemas, tests, config).

3b. Check PR size

Measure the branch against the PR size budget in CLAUDE.md. Compare with the branch the PR will target (usually develop; use the previous PR's branch for a stacked PR):

git diff --numstat origin/develop...HEAD -- . \
  ':(exclude,glob)**/package-lock.json' ':(exclude,glob)**/yarn.lock' \
  ':(exclude,glob)**/documentation/**' ':(exclude,glob)**/types/generated/**' \
  ':(exclude,glob)**/__snapshots__/**' ':(exclude,glob)**/*.svg' ':(exclude,glob)**/*.md' \
  | awk '{ n = $1 + $2 }
    $3 ~ /(test|spec)s?[\/.]|\/tests?\/|testing\/|e2e\// { t += n; next }
    { c += n }
    END { printf "code %d, tests %d\n", c, t }'
  • Code ≤ 400: within budget.
  • Code 401–1,000: warn. If the plan has a PRs table, suggest the split it gives; otherwise propose one (backend, then frontend data, then UI).
  • Code > 1,000: "Ready to push: NO" unless the human confirms an exception: a promotion PR (develop → production, or an integration branch whose ticket PRs were already reviewed), a mechanical change such as a rename, or a generated-file update.
  • Tests more than twice the code: flag it. Point at "Keep tests lean" in .claude/rules/testing.md (copied cases, pasted data, the same rule tested at two layers).

Read the full file on GitHub · 124 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. 8d ago First seen · 124 lines · 0 tokens per session scan A de3f1239ac9e

Subscribe to this mod's changes

ship-check is a command published in the GitHub repository KhourySpecialProjects/odyssey (10 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,295 tokens. 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-26.

Related

ship-check compared with commands from other repositories

ship-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ship-checkKhourySpecialProjects/odysseyCommand10yesterdayMITA0Claude Code
merge-conflict-analysisrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
release-notesOpenHands/extensionsCommand191yesterdayMITA44Claude Code
commitechoVic/blade-codeCommand18118d agoMITA8Claude Code
repo-audittractorjuice/arc-kitCommand2.3kyesterdaynoneA29Claude Code
codex-reviewoalders/kitchen-sinkCommand5yesterdayMITA41Claude Code
releaseparuff/uFawkesAICommand23d agoMITA39Claude Code