agentic-ship: Instructions file for Codex

AGENTS.md

agentic-ship AGENTS.md is an instructions file for Codex, OpenCode from moasq/agentic-ship. It costs 12,255 tokens per session, scanned C, original, MIT.

A set of instructions for working with the Agentic Ship repository, a tool-only project that provides guidance, skills, and agent definitions rather than a finished application.

In plain words
What is it for?
Use it when an agent needs to understand the project’s commands, skills, agent files, and configuration for downstream product work.
Why use it?
It explains the repository structure and keeps different coding agents following the same rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is moasq/agentic-ship's own configuration. It tells Codex and OpenCode how to work on agentic-ship 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 agentic-ship configures →

Reuse

Borrowing it

Nothing to install: this file belongs to moasq/agentic-ship. 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/moasq/agentic-ship/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/moasq/agentic-ship

Made for: Codex, OpenCode.

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 agentic-ship AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/moasq/agentic-ship/agents-md/github.svg)](https://agentmods.dev/instructions/moasq/agentic-ship/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/moasq/agentic-ship/agents-md"><img src="https://agentmods.dev/badge/instructions/moasq/agentic-ship/agents-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 agentic-ship AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/moasq/agentic-ship/agents-md"><img src="https://agentmods.dev/badge/instructions/moasq/agentic-ship/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,255 This file is loaded in full into every session.
When invoked 12,255 The same file — it is already loaded in full.
Security scan C 1 finding. 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.12255 $0.12255
Opus 5.5 $0.04902 $0.04902
Sonnet 5.5 $0.02451 $0.02451
Haiku 4.5 $0.01226 $0.01226

Measured 1mo ago against content hash eccb5f4dc30b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

agentic-ship AGENTS.md scanned grade C 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

**Never write `cp`, `ln`, `readlink`, `grep`, `rm -rf`, `mkdir -p`, `chmod`, `openssl`,
AGENTS.md · 767 lines

How it starts

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

Agentic Ship

This is the tool-only repository. It has no bundled application, backend, assets, or deployment. The product-stack rules below are guidance for a downstream product workspace that adopts Agentic Ship; do not expect src/, convex/, or a local website to exist here.

This file is where every rule is declared. CLAUDE.md imports it with one line; .claude/skills links to .agents/skills. Skills elaborate these rules into procedure — they must never restate one differently, and never introduce a rule that is not declared here. When a skill and this file disagree, this file is right and the skill is a bug.

Works with any agentic tool. Codex, Cursor, Windsurf, Cline, Copilot, Gemini CLI, and OpenClaw (with this repository as its agent workspace) read this file natively; skills are plain markdown any agent can follow. Canonical role briefs live in .agents/agents/; pnpm sync:agents generates the Claude plugin's top-level agents/, project-native Codex and Cursor agents, and non-secret Hermes and OpenClaw profiles. Cursor gets MCP through the committed .cursor/mcp.json mirror; Codex gets project-scoped TOML generated from the same pinned catalog. The repo is also an installable plugin for Claude Code and Codex — manifests in .claude-plugin/ and .codex-plugin/ point at the same .agents/skills/, so the plugin adds a second delivery path, never a second copy of a rule. Per-tool matrix and sync rules: .agents/skills/agent-compatibility/SKILL.md. Skills with a references/ folder keep their deep material there — load it only when the task needs it.

Instructions live here. Procedures live in .agents/skills/. Tool wiring lives in .mcp.json. Product, feature, and human-input contracts live in .agents/contracts/. Safe runtime coordination lives under gitignored .agent-state/; credentials never do. The project-scoped agentic-ship MCP server wraps the real health, verification, connection, queue, and UI-evidence services. Its mutation tools require the explicit --allow-mutations server argument; its full contract lives in .agents/skills/agent-compatibility/references/agentic-ship-mcp.md. Plugin wiring lives in .claude/settings.json (the official nextjs plugin from the vercel/next.js repo is declared there). Provenance for all of it lives in skills.lock.json. One rule, one home: it is declared here, applied there.

Read the full file on GitHub · 767 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. 1mo ago Changed · +41 lines · +647 tokens per session eccb5f4dc30b
  2. 1mo ago First seen · 726 lines · 11,608 tokens per session scan C 38bcd2a13f76

Subscribe to this mod's changes

agentic-ship AGENTS.md is an instructions file published in the GitHub repository moasq/agentic-ship (11 stars, last pushed 2d ago), licensed MIT. It adds 12,255 tokens to every session, about $0.0490 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens