use-with-claude-code

use-with-claude-code is an agent for coding agents from ThreeMoonsLab/agents-shipgate. It costs 0 tokens per session (3,251 once invoked), scanned A, original, Apache-2.0.

A compatibility guide that helps install and use Shipgate with Claude Code, an AI coding assistant. It provides a slash command and an automatically discovered skill for Shipgate workflows.

In plain words
What is it for?
Use it to add Shipgate to a Claude Code project, run release-readiness or agent scans, fix findings, add Shipgate to continuous integration, and work with shipgate.yaml.
Why use it?
It gives Claude Code the instructions and commands needed to install, configure, scan, and explain Shipgate without requiring the user to type each step manually.

Agent

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 agents/threemoonslab/agents-shipgate/use-with-claude-code
Clone the repo
git clone --depth 1 https://github.com/ThreeMoonsLab/agents-shipgate

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 use-with-claude-code

README.md
[![agentmods](https://agentmods.dev/badge/agents/threemoonslab/agents-shipgate/use-with-claude-code.svg)](https://agentmods.dev/agents/threemoonslab/agents-shipgate/use-with-claude-code)
Your own site
<a href="https://agentmods.dev/agents/threemoonslab/agents-shipgate/use-with-claude-code"><img src="https://agentmods.dev/badge/agents/threemoonslab/agents-shipgate/use-with-claude-code.svg" alt="Measured on agentmods" 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 3,251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.03251
Opus 5 $0.00000 $0.01625
Sonnet 5 $0.00000 $0.00650
Haiku 4.5 $0.00000 $0.00325

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

Security

Grade A, and why

use-with-claude-code scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/ThreeMoonsLab/agents-shipgate/main/.claude/commands/shipgate.md \
docs/agents/use-with-claude-code.md · 261 lines

How it starts

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

Use Agents Shipgate with Claude Code

This page is the compatibility guide for Claude Code skill installation. For the normative agent protocol, use claude-code.md and protocol.md. The canonical Claude Code control command is:

shipgate check --agent claude-code --workspace . --format agent-boundary-json

Parse stdout as shipgate.agent_boundary_result/v2, switch on control.state, and follow control.next_action, control.allowed_next_commands, and control.human_review. Treat decision as diagnostic context only; do not infer local control from prose.

Two pieces of agent-facing surface ship with this repo. Drop them into your own agent project so Claude Code can install, run, and explain Shipgate without you typing the steps.

Surface What it does Source path in this repo
/shipgate slash command Bootstrap flow: install → init --write → fill placeholders → scan → report top findings .claude/commands/shipgate.md
agents-shipgate skill Auto-discovered when the user mentions release readiness, scanning an agent, fixing a finding, adding Shipgate to CI, or shipgate.yaml. Routes to bundled recipes. skills/agents-shipgate/SKILL.md

The skill is named agents-shipgate, not shipgate, on purpose: Claude Code lets a skill with the same name as a command preempt it, which would silently bypass the /shipgate slash command. Keeping the names distinct lets users invoke the slash command explicitly and lets the skill auto-trigger on relevant phrases.

The skill bundles the prompts/ recipes plus the advisory CI YAML in its own directory, so a user project does not depend on the upstream main branch at runtime. When you change anything in prompts/ or examples/github-actions/01-advisory-pr-comment.yml, sync the bundled copy under skills/agents-shipgate/.

Read the full file on GitHub · 261 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. 4d ago First seen · 261 lines · 0 tokens per session scan A 9e12059f1928

Subscribe to this mod's changes

use-with-claude-code is an agent published in the GitHub repository ThreeMoonsLab/agents-shipgate (87 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,251 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.