cc-fleet: Instructions file for Codex

AGENTS.md

cc-fleet AGENTS.md is an instructions file for Codex, OpenCode from ethanhq/cc-fleet. It costs 500 tokens per session, scanned A, original, Apache-2.0.

Instructions for contributors and coding agents working on cc-fleet, a system for running tasks through different AI workers. They point to the repository's main guidance, architecture notes, contribution rules, and skill sources.

In plain words
What is it for?
Use them before changing the cc-fleet repository. They guide work involving AGENTS.md, CLAUDE.md, skills, documentation, tests, commits, and attribution.
Why use it?
They reduce inconsistent changes by explaining which files are authoritative, which checks are required, and which coding conventions to follow. They also help agents avoid editing generated or secondary copies incorrectly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

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

Reuse

Borrowing it

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

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 cc-fleet AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ethanhq/cc-fleet/agents-md"><img src="https://agentmods.dev/badge/instructions/ethanhq/cc-fleet/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 500 This file is loaded in full into every session.
When invoked 500 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.00500 $0.00500
Opus 5.5 $0.00200 $0.00200
Sonnet 5.5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

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

Security

Grade A, and why

cc-fleet AGENTS.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 12d 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.

AGENTS.md · 34 lines

What it actually says

AGENTS.md

This repo's agent/AI guidance lives in CLAUDE.md — it is the single source of truth for any coding agent (Claude Code, Codex, Cursor, etc.). Read it before editing: what cc-fleet is, the four execution lanes, the load-bearing invariants, and the build/test commands. The system design lives in docs/architecture.md; the skills' canonical source is skills/ (edit there, then make skill-sync — see CLAUDE.md); the user-facing references to keep in sync are docs/cli.md and docs/workflows.md.

The contribution standard (required checks, commit/PR rules, screenshots, AI attribution) is CONTRIBUTING.md.

Coding standards (the essentials)

  • Minimal intrusion. Change the fewest lines that solve the task. No out-of-scope refactor, rename, or reformat. Match the surrounding style.
  • Simplest correct implementation. No speculative abstraction, dependency, or config surface (YAGNI). Reuse an existing helper before adding one.
  • Concise comments. Explain why, not what; no narration or ticket/changelog notes. Fix comments your change makes stale.
  • Respect the invariants documented in CLAUDE.md: keys never in env/argv/history; classified Result envelopes from subagent/teammate check; validate names before use; honor the lock order (WithProvidersConfigLock → WithServerLock; there is no team lock).
  • Verify before done: go test -race ./..., gofmt -l ., go vet ./... clean; plus claude plugin validate . if you touched the plugin/skill.

AI attribution

  • AI-assisted (a human authored/reviewed the diff) → Co-Authored-By: trailer naming the tool/model in the commit message.
  • Fully AI-authored PR → add the autonomous-PR marker as the last line of the PR body (see CONTRIBUTING.md).
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. 12d ago Changed · -2 tokens per session bdcae012f046
  2. 14d ago Changed · +1 lines · +22 tokens per session f128c257bb5c
  3. 1mo ago First seen · 33 lines · 480 tokens per session scan A 216047c32a84

Subscribe to this mod's changes

cc-fleet AGENTS.md is an instructions file published in the GitHub repository ethanhq/cc-fleet (185 stars, last pushed 4d ago), licensed Apache-2.0. It adds 500 tokens to every session, about $0.0020 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

Other instructions, from other repositories