agents-shipgate

agents-shipgate is a skill for Claude Code, Codex from ThreeMoonsLab/agents-shipgate. It costs 56 tokens per session (1,521 once invoked), scanned A, a copy of agents-shipgate, Apache-2.0.

A static release-readiness checker for AI-agent tools, prompts, permissions, and related configuration. Static means it reads files and reports findings; it does not run agents, call tools, or contact MCP servers.

In plain words
What is it for?
Use it for local checks, host audits, pull-request gates, and reports about MCP exports, OpenAPI specs, tool definitions, prompts, scopes, and approval policies.
Why use it?
It gives a consistent decision about whether agent-related changes are ready for a pull request or release. It also highlights issues that need human review.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/threemoonslab/agents-shipgate/codex-skill
Any agent
npx skills add ThreeMoonsLab/agents-shipgate --skill codex-skill
Clone the repo
git clone --depth 1 https://github.com/ThreeMoonsLab/agents-shipgate

Made for: Claude Code, Codex.

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 agents-shipgate

README.md
[![agentmods](https://agentmods.dev/badge/skills/threemoonslab/agents-shipgate/codex-skill.svg)](https://agentmods.dev/skills/threemoonslab/agents-shipgate/codex-skill)
Your own site
<a href="https://agentmods.dev/skills/threemoonslab/agents-shipgate/codex-skill"><img src="https://agentmods.dev/badge/skills/threemoonslab/agents-shipgate/codex-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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 $0.00056 $0.01521
Opus 5 $0.00028 $0.00760
Sonnet 5 $0.00011 $0.00304
Haiku 4.5 $0.00006 $0.00152

Measured 4d ago against content hash 6c4f112551d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agents-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 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.

Origin

This is a copy

98% identical to agents-shipgate — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

adoption-kits/codex-skill/SKILL.md · 45 lines

How it starts

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

Agents Shipgate

Agents Shipgate is the deterministic merge gate for AI-generated agent capability changes — a local-first, static Tool-Use Readiness review. It reads shipgate.yaml plus local tool sources and writes deterministic reports as Markdown, JSON, SARIF, and supporting Release Evidence Packets.

Use this skill when a task touches agent tools, MCP exports, OpenAPI specs, prompts that constrain tool use, permissions/scopes, approval or confirmation policies, shipgate.yaml, Shipgate CI, or agents-shipgate-reports/report.json.

Do not use it for general linting, runtime monitoring, evals, model-output quality, or runtime guardrail enforcement. Shipgate is static-only: no agent execution, no tool calls, no LLM calls, no MCP server connections, and no telemetry by default.

Workflow

  1. For local checks, verifier runs, host audits, and supporting recovery commands, read references/recipes.md.
  2. For reading report.json, summarizing release decisions, or deciding what may be auto-applied, read references/report-reading.md.
  3. Before running Shipgate CLI commands, require a CLI whose agents-shipgate contract --json reports minimum_control_contract_version: {{ minimum_control_contract_version }}: run command -v agents-shipgate, agents-shipgate --version, and agents-shipgate contract --json. If it is missing or stale, tell the user to install or upgrade agents-shipgate. The Codex plugin supplies workflows, not the scanner binary.
  4. Set AGENTS_SHIPGATE_AGENT_MODE=1 before running Shipgate commands so errors include structured next_action JSON.
  5. Default first-time CI to advisory mode. Do not enable release-blocking CI or save a baseline until a human has reviewed current findings.
  6. For local agent control, run shipgate check --agent codex --workspace . --format agent-boundary-json and read the stdout shipgate.agent_boundary_result/v2 object. Switch on control.state; follow only control.next_action, control.allowed_next_commands, and control.human_review. Treat decision as diagnostic context only.
  7. Before editing shipgate.yaml, Shipgate CI, AGENTS/CLAUDE/Cursor rules, policy packs, baselines, waivers, suppressions, Codex hooks/config, Codex plugin manifests, .mcp.json, .app.json, or SKILL.md, plan to run agents-shipgate verify before completion and route trust-root review to a human when the verifier requires it.
  8. For full PR verification, validate agents-shipgate-reports/verification-receipt.json first, then read agent-handoff.json and switch on control.state; read verifier.json for detailed control state, verify-run.json for the request graph, and report.json for reviewer detail. report.json.release_decision.decision remains the release gate. Refresh with agents-shipgate agent control --workspace . — which refuses the read when HEAD, the tree, or the working tree has moved since the decision — before you act on any of that, and again before enforcing a cached must_stop, before commit/push/PR update, before merge, and before declaring the task complete. A non-zero exit means no control identity is current and you hold no authority; if current_control_id changed, discard every cached control state and restart from the new identity. A result remembered from earlier in the conversation never outranks the current pointer, in either direction. What that command prints depends on the installed CLI, so read agents-shipgate contract --json once: when it reports agent_control_schema_version, agent control returns that compact shipgate.agent_control/v1 object — control_state, permissions, next_actor, next_action — and routing on it alone is enough, with --format pointer returning the raw current-control.json; when it does not, the CLI predates the envelope and agent control returns the raw pointer, whose fields are lifecycle_state and nested control.state.
  9. Auto-apply only high-confidence safe patches. Do not auto-assert action effect, action authority, agent bindings, approval, confirmation, idempotency, broad-scope, prohibited-action, or runtime-trace evidence.
  10. Ensure .gitignore covers agents-shipgate-reports/ before committing.

Read the full file on GitHub · 45 lines

Files

What ships with it

5 files 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. 4d ago First seen · 45 lines · 56 tokens per session scan A 6c4f112551d0

Subscribe to this mod's changes

agents-shipgate is a skill published in the GitHub repository ThreeMoonsLab/agents-shipgate (87 stars, last pushed 4d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,521 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to agents-shipgate, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

release-notes

Generate GitHub release notes for the Membrane api-gateway repo by collecting the commits between the last release and master, grouping them into Features / Improvements / Fixes / Security / Dependencies, and linking each to its PR. Use whenever the user wants to draft, extract, or write release notes / a changelog /…

membrane/api-gateway · 124 tokens

changelog

Invoke before committing user-facing changes (new features, bug fixes, behavior changes) to update CHANGELOG.md. Skip for internal refactors, CI, docs-only, or minor dependency bumps.

aviatesk/JETLS.jl · 41 tokens

prepare-release

Prepare a release (phases 1-6). Usage: /prepare-release [version]. If version omitted, infers from conventional commits. Coordinates agents for review, runs prepare-release.sh, then enhances release notes with rich formatting.

erraggy/oastools · 50 tokens

publish-release

Publish a prepared release (phase 7). Usage: /publish-release . Requires version argument. Wraps publish-release.sh for deterministic execution.

erraggy/oastools · 33 tokens

emdash-github-actions

Sets up GitHub Actions CI/CD workflows for EmDash plugins — TypeScript type-checking, ESLint linting, Vitest testing, npm publishing, and automated releases. ALWAYS use this skill when a user wants to create, add, set up, or configure GitHub Actions, CI/CD, automated checks, or deployment workflows for an EmDash…

jdevalk/skills · 234 tokens

github-repo

Audits and improves GitHub repository quality — README structure, community health files, .github directory setup, issue/PR templates, metadata, releases, and branch hygiene. Use this skill whenever the user asks to improve, audit, review, or set up a GitHub repository, or when they mention things like "make my repo…

jdevalk/skills · 176 tokens