use-with-codex

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

A compatibility guide for using Agents Shipgate with Codex. Shipgate is a command-line tool that checks a code workspace and provides structured instructions for what the agent should do next.

In plain words
What is it for?
Running Shipgate verification, setup, report-reading, advisory continuous integration, and issue-triage workflows from Codex.
Why use it?
It explains how Codex should follow Shipgate's checks and workflows instead of treating its diagnostic output as ordinary prose.

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-codex
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-codex

README.md
[![agentmods](https://agentmods.dev/badge/agents/threemoonslab/agents-shipgate/use-with-codex.svg)](https://agentmods.dev/agents/threemoonslab/agents-shipgate/use-with-codex)
Your own site
<a href="https://agentmods.dev/agents/threemoonslab/agents-shipgate/use-with-codex"><img src="https://agentmods.dev/badge/agents/threemoonslab/agents-shipgate/use-with-codex.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 2,838 The whole file, excluding the scripts and references it only reads on demand.
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 $0.00000 $0.02838
Opus 5 $0.00000 $0.01419
Sonnet 5 $0.00000 $0.00568
Haiku 4.5 $0.00000 $0.00284

Measured 3d ago against content hash 4d9bf2aabe8f, 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-codex 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.

docs/agents/use-with-codex.md · 265 lines

How it starts

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

Use Agents Shipgate with Codex

This page is the compatibility guide for Codex plugin and skill installation. For the normative agent protocol, use codex.md and protocol.md. The canonical Codex control command is:

shipgate check --agent codex --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.

Agents Shipgate ships a skill-only Codex plugin so users can install it from the Codex plugin experience, start a new thread, invoke $agents-shipgate, and have Codex run the existing Shipgate CLI workflows correctly. The plugin gives Codex the workflows for verify, bootstrap, report reading, advisory CI, and finding triage; the scanner itself still runs through the agents-shipgate CLI installed in the local environment.

For repos that prefer committed instructions instead of a plugin install, OpenAI Codex also reads repo-level AGENTS.md instructions and repo-scoped Codex Skills under .agents/skills/<name>/.

Surface What it does Source path in this repo
Codex plugin Installable plugin package for Codex with the Agents Shipgate skill bundled. plugins/agents-shipgate/
Marketplace Repo marketplace entry that lets Codex discover and install the plugin. .agents/plugins/marketplace.json
AGENTS.md snippet Tells Codex when Shipgate is relevant and names the canonical commands. docs/target-repo-agent-snippets.md §AGENTS.md
Codex skill Repo-scoped skill Codex can invoke explicitly with $agents-shipgate or implicitly when the task matches. .agents/skills/agents-shipgate/
Reusable prompts Longer copy-paste recipes for agents that do not use skills. prompts/README.md

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

Subscribe to this mod's changes

use-with-codex is an agent published in the GitHub repository ThreeMoonsLab/agents-shipgate (87 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,838 tokens. 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.