Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jasonm4130v0.1.2MITIn 1 marketplace
Nudges the agent to review, push and open a PR when a session ends with unpushed commits on its branch. Its Stop and prompt hooks run automatically and need Node.js 18+ on PATH.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
stop-hook, unpushed-commits, pull-request, code-review, git-push, session-end, trail-off, ship ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code plugin that catches trail-off: sessions that commit work and then end without pushing or opening a PR.
An audit of session history found that 28% of sessions commit work then trail
off unpushed — the commit exists, but nothing tells the agent (or the user)
that the branch is unfinished business. ship-gate closes that gap with a
Stop hook that detects unshipped commits at turn end and an
UserPromptSubmit hook that surfaces the nudge in the agent's own voice on
the next prompt.
The Stop hook checks the current branch against its upstream:
git rev-list --count @{upstream}..HEAD > 0.main/master branch with no upstream at all — nothing has ever
been pushed.Working-tree dirtiness is deliberately not a trigger — uncommitted changes mid-feature are normal and noisy; unpushed commits are the actual trail-off signal.
The nudge fires once per HEAD SHA per session: a flag is written keyed to the
session ID, and a companion shipgate-last-sha-{sid}.txt records the SHA the
nudge was last armed for. If HEAD hasn't moved since the last nudge, the hook
stays silent. Any new commit re-arms it.
| Hook | Script | What it does |
|---|---|---|
Stop | stop-check-unshipped.mjs | Checks the branch/upstream state; writes shipgate-nudge-{sid}.flag if unshipped work is detected and HEAD has changed since the last nudge |
UserPromptSubmit | check-shipgate-flag.mjs | Consumes the flag (fire-once) and injects additionalContext directing the agent to run /code-review and finish the branch (push + PR), or explain to the user what's unshipped |
Both hooks are stdlib-only Node .mjs scripts sharing scripts/lib.mjs
(readStdin, safeJsonParse, resolveSessionId, resolveDataDir,
emitAdditionalContext).
Flag files live under resolveDataDir("ship-gate-data") — CLAUDE_PLUGIN_DATA
if set, otherwise os.tmpdir()/ship-gate-data. Flags are plain text, not JSON.
/plugin marketplace add jasonm4130/claude-skills
/plugin install ship-gate@jasonm4130-claude-skills
/reload-plugins
hook error per matching event). Why there is no silent-skip: scripts/hook-runtime-guard.test.mjs.node --test plugins/ship-gate/tests/*.test.mjs
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jasonm4130/claude-skills --plugin ship-gatePlugins from other owners that cover similar ground