agents-shipgate: Instructions file for Claude Code

CLAUDE.md

agents-shipgate CLAUDE.md is an instructions file for Claude Code from ThreeMoonsLab/agents-shipgate. It costs 889 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.

This is ThreeMoonsLab/agents-shipgate's own configuration. It tells Claude Code how to work on agents-shipgate itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agents-shipgate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ThreeMoonsLab/agents-shipgate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ThreeMoonsLab/agents-shipgate/main/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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agents-shipgate CLAUDE.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 889 This file is loaded in full into every session.
When invoked 889 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00889 $0.00889
Opus 5.5 $0.00356 $0.00356
Sonnet 5.5 $0.00178 $0.00178
Haiku 4.5 $0.00089 $0.00089

Measured 2mo ago against content hash dd77a64d70f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 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 · 39 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. 2mo ago Changed · +2 lines · +102 tokens per session dd77a64d70f8
  2. 2mo 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 today), licensed Apache-2.0. It adds 889 tokens to every session, about $0.0036 per session on Opus 5.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.

Related

agents-shipgate CLAUDE.md compared with instructions from other repositories

agents-shipgate CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agents-shipgate CLAUDE.mdThreeMoonsLab/agents-shipgateInstructions file87todayApache-2.0A889Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode