agents-shipgate CLAUDE.md

agents-shipgate CLAUDE.md is an instructions file for Claude Code from ThreeMoonsLab/agents-shipgate. It costs 787 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Claude Code, an AI coding assistant. They explain how to run this project’s command-line tool, handle permissions, and interpret its output.

In plain words
What is it for?
Running and diagnosing the Shipgate command-line tool in this repository, including its checks, recovery commands, and environment details.
Why use it?
They keep Claude Code using the correct checkout and interpreter, reducing confusing errors caused by an older installation or the wrong environment.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

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 agents-shipgate CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/threemoonslab/agents-shipgate/claude-md.svg)](https://agentmods.dev/instructions/threemoonslab/agents-shipgate/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/threemoonslab/agents-shipgate/claude-md"><img src="https://agentmods.dev/badge/instructions/threemoonslab/agents-shipgate/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 787 This file is loaded in full into every session.
When invoked 787 The same file — it is already loaded in full.
Security scan A 0 findings. 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.1 $0.00787 $0.00787
Opus 5 $0.00394 $0.00394
Sonnet 5 $0.00157 $0.00157
Haiku 4.5 $0.00079 $0.00079

Measured 6d ago against content hash e8e5c0fe144d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

agents-shipgate CLAUDE.md 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 6d 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.md · 37 lines

How it starts

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

Claude Code Instructions

The full agent-facing instructions for this repo live in AGENTS.md. Everything there applies to Claude Code.

A few Claude-specific notes:

Running the CLI in this repository

Use ./shipgate <command> ... from the repository root — the repository launcher, and the canonical command here (python shipgate <command> ... on Windows, which does not read a shebang). It is the same CLI as agents-shipgate, but it runs this working tree's src/, picks a supported interpreter (the main checkout's virtualenv when you are in a git worktree), and needs no install and no PYTHONPATH. The recovery commands it prints name the launcher, so you can run them as printed.

A bare agents-shipgate may resolve to a different, older install on PATH, or fail with ModuleNotFoundError if the environment behind it is gone. Use it only to check what an installed build does. If a command behaves as though an edit never happened, run ./shipgate doctor --config shipgate.yaml --json and read the environment block — it names the interpreter, the imported package, the checkout, and any mismatches[].

Permissions

  • agents-shipgate scan, preflight, init, doctor, explain, list-checks, fixture, self-check are read-only with respect to user code; safe to run without confirmation.
  • agents-shipgate init --write writes shipgate.yaml in the workspace. Confirm before running on an unfamiliar repo.
  • agents-shipgate init --write --agent-instructions=... writes/updates AGENTS.md, CLAUDE.md, .cursor/rules/agents-shipgate.mdc, and the PR template via managed-block markers. Idempotent; confirm before running on an unfamiliar repo.
  • agents-shipgate baseline save writes one JSON file under .agents-shipgate/. Safe to run; reversible.

Output handling

Prefer --json on every command and parse the result programmatically. Do not scrape stdout when a JSON form exists. The stable JSON shape is the contract.

For scan, parse agents-shipgate-reports/report.json directly — that's where the structured output lives. The stdout summary is for humans.

Read the full file on GitHub · 37 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. 6d ago First seen · 37 lines · 787 tokens per session scan A e8e5c0fe144d

Subscribe to this mod's changes

agents-shipgate CLAUDE.md is an instructions file published in the GitHub repository ThreeMoonsLab/agents-shipgate (87 stars, last pushed yesterday), licensed Apache-2.0. It adds 787 tokens to every session, about $0.0039 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.