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.
npx agentmods add commands/threemoonslab/agents-shipgate/shipgategit clone --depth 1 https://github.com/ThreeMoonsLab/agents-shipgateWrote 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.
[](https://agentmods.dev/commands/threemoonslab/agents-shipgate/shipgate)<a href="https://agentmods.dev/commands/threemoonslab/agents-shipgate/shipgate"><img src="https://agentmods.dev/badge/commands/threemoonslab/agents-shipgate/shipgate.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.01157 |
| Opus 5 | $0.00008 | $0.00579 |
| Sonnet 5 | $0.00003 | $0.00231 |
| Haiku 4.5 | $0.00002 | $0.00116 |
Grade A, and why
shipgate 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Arguments: $ARGUMENTS
Agents Shipgate is the deterministic merge gate for AI-generated agent capability changes.
If the arguments include audit, run the host-grant audit flow. If they include
check, run the local boundary check. Otherwise run the verifier flow. The
supporting adoption and scan commands remain available, but this slash command
should lead with only the prominent flows: shipgate check, agents-shipgate verify,
and shipgate audit --host.
The canonical, self-contained verifier instructions live in the bundled prompt
files. For verifier runs, read prompts/verify-agent-diff.md. Try these paths
in order; use the first that exists:
${CLAUDE_PLUGIN_ROOT}/skills/agents-shipgate/prompts/<recipe>.md— when this command runs from the installedagents-shipgateplugin, Claude Code expands${CLAUDE_PLUGIN_ROOT}to the plugin directory and the version-matched recipes are bundled there. (When the command is a committed project file instead, the variable is not expanded and this path simply won't exist — continue down the list.).claude/skills/agents-shipgate/prompts/<recipe>.md— bundled with theagents-shipgateskill if installed in this project.prompts/<recipe>.md— present when this repo is a clone ofagents-shipgateitself.https://raw.githubusercontent.com/ThreeMoonsLab/agents-shipgate/main/prompts/<recipe>.md— last-resort unpinned fetch; prefer any bundled copy above.
Prominent commands:
AGENTS_SHIPGATE_AGENT_MODE=1 shipgate check \
--agent claude-code --workspace . --format agent-boundary-json
AGENTS_SHIPGATE_AGENT_MODE=1 agents-shipgate verify \
--workspace . --config shipgate.yaml \
--base origin/main --head HEAD \
--ci-mode advisory --format json
AGENTS_SHIPGATE_AGENT_MODE=1 shipgate audit --host \
--json --out agents-shipgate-reports/host-grants.json
For local uncommitted work, omit --base/--head so uncommitted edits are
scanned. For committed PR/CI refs, make the base ref available first because
verify never fetches.
Required behavior (do not skip):
- Set
AGENTS_SHIPGATE_AGENT_MODE=1for every CLI call so errors emit anext_actionJSON line on stderr. - Run
agents-shipgate contract --jsonwhen available and use it to verify the installed CLI's schema versions and gating signal. - For verifier runs, read
agents-shipgate-reports/current-control.jsonfirst, then validate theagents-shipgate-reports/verification-receipt.jsonit binds, then parseagents-shipgate-reports/agent-handoff.json, thenverifier.json,verify-run.json, andreport.json.release_decision.decisionas the release gate. - For check runs, parse stdout as
shipgate.agent_boundary_result/v1and switch oncontrol.state; followcontrol.next_action,control.allowed_next_commands, andcontrol.human_review. Treatdecisionas diagnostic context only. - For host audits, parse
agents-shipgate-reports/host-grants.jsonwhen--outis used, or stdout when running JSON-only. - Do not bypass the verifier by suppressing findings, lowering severity,
expanding baselines or waivers, removing Shipgate CI, or weakening agent
instructions. Verify-mode
SHIP-VERIFY-*checks route those trust-root edits to human review. - Add
agents-shipgate-reports/to.gitignoreif it is not already.
Report back: release_decision.decision and reason, merge_verdict,
can_merge_without_human, blocker / review-item counts, top 3 active findings
by severity, verifier_summary trust-root flags when present, capability
change highlights, and one suggested next step.
Ongoing PRs
For an ongoing PR that changes agent tools, MCP exports, OpenAPI specs, prompts,
permissions, policies, CI gates, or shipgate.yaml, run the verifier:
agents-shipgate verify --base origin/main --head HEAD --json
Read agents-shipgate-reports/current-control.json first, then validate the
agents-shipgate-reports/verification-receipt.json it binds, then read
agents-shipgate-reports/agent-handoff.json and lead with
gate.merge_verdict (a deterministic projection of release_decision.decision,
which remains the gate in report.json), then the authoritative substrate
agents-shipgate-reports/verifier.json and supporting/provisional
capability_review.top_changes[]. Do not claim completion unless
control.state is complete; conversation-level acknowledgement cannot clear
a human-review route. Never weaken shipgate.yaml, Shipgate CI, AGENTS.md, policies, baselines, or
waivers to make Shipgate pass.
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.
- 3d ago First seen · 92 lines · 16 tokens per session scan A 107e60198df5
shipgate is a command published in the GitHub repository ThreeMoonsLab/agents-shipgate (87 stars, last pushed 4d ago), licensed Apache-2.0. It adds 16 tokens to every session and 1,157 once invoked, about $0.0001 per session on Opus 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-30.
Other commands, from other repositories
drift
Post-implementation spec drift check — verify the implementation matches existing OpenSpec specifications.
pr-review-style-reference
PR レビュー時のスタイル参考ガイド (重要度ラベル / ノイズ抑制 / 粒度ガイド / 重複回避 / CI 扱い) を読み込む。.
brainblast-deploy-plan
Deployment Intelligence for Anchor programs. Run before anchor deploy so you know how much SOL you need and the exact ordered transaction sequence — instead of working it out by hand.
brainblast-firewall
Inspect a serialized Solana transaction before signing it — the AI-agent transaction firewall.
pi-code-review
Adversarial code review via Codex — break confidence in changes, not validate them.
brainblast-score
A 0–100 trust score and A–F grade for any deployed Solana program: upgrade authority (renounced > DAO > multisig > single-key), verified build, audits, directory curation, and cross-cluster parity — with a transparent factor breakdown.