armada: Instructions file for Codex

AGENTS.md

armada AGENTS.md is an instructions file for Codex, OpenCode from rafmacalaba/armada. It costs 1,423 tokens per session, scanned A, original, MIT.

Repository instructions for Armada, a coordinated software project with separate roles for delivery, development, testing, security, architecture, and documentation. They define the requirements document and repository rules each role must follow.

In plain words
What is it for?
Following project requirements, locating end-to-end tests, respecting role permissions, and coordinating backend, frontend, quality, security, architecture, and documentation work.
Why use it?
They give coding agents a shared definition of done and clear boundaries for who may change particular files. This helps keep implementation, tests, reviews, and security work organized.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 armada AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rafmacalaba/armada/agents-md"><img src="https://agentmods.dev/badge/instructions/rafmacalaba/armada/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,423 This file is loaded in full into every session.
When invoked 1,423 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.01423 $0.01423
Opus 5.5 $0.00569 $0.00569
Sonnet 5.5 $0.00285 $0.00285
Haiku 4.5 $0.00142 $0.00142

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

Security

Grade A, and why

armada 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 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.

AGENTS.md · 154 lines

How it starts

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

armada — Build Rules

These rules apply to every agent working on this project. Generated by armada.

The job

Build exactly as specified in armada/REQUIREMENTS.md. That document is the contract: its phases, success criteria and final criteria decide when work is done. When in doubt, armada/REQUIREMENTS.md wins.

The team

  • orchestrator — Delivery lead / scheduler. Model opencode-go/minimax-m3.
  • backend-dev — Backend implementation. Model opencode-go/deepseek-v4-pro.
  • frontend-dev — Frontend implementation. Model opencode-go/minimax-m3.
  • qa — Quality assurance. Model opencode/mimo-v2.5-free.
  • adversary — Adversarial reviewer. Model opencode-go/deepseek-v4-pro.
  • security — Security auditor. Model opencode/big-pickle.
  • docs — Technical writer. Model opencode/deepseek-v4-flash-free.
  • architect — Architecture / code review. Model opencode/big-pickle.

Role boundaries are enforced by permissions and are absolute. Do not work around them with shell commands: if the edit tool would deny a file, do not modify that file any other way.

Repository conventions

  • End-to-end tests live under armada/e2e/{feature}/. Only qa writes there.
  • Screenshots live under armada/screenshots/{feature}/.
  • No emojis in code, comments, print statements or logging.
  • Keep it simple: small modules, clear names, no defensive programming, no overengineering.
  • Prefer popular, well-supported libraries over custom code.
  • Shipnames title format: When invoking task, set description to the work-only title. Do not manually prefix <Ship> or [role]; the shipnames plugin auto-prefixes them.
  • Evidence-based receipts: Subagent tasks require pasted evidence in the receipt Evidence block. No claim of done is accepted without evidence.

Adaptive delivery

  • Commodore infers risk; QA always active; evidence depth follows risk. Other roles stay standby.
  • Ask user risk override only for ambiguity, high consequence, contract conflict, or downgrade.
  • Dependency-ready phases and separate voyages run parallel; serialize shared writers. Group findings before fixes; only BLOCKING stops work. Use compact receipts.

Read the full file on GitHub · 154 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 First seen · 154 lines · 1,423 tokens per session scan A f3f3911f8736

Subscribe to this mod's changes

armada AGENTS.md is an instructions file published in the GitHub repository rafmacalaba/armada (105 stars, last pushed 2mo ago), licensed MIT. It adds 1,423 tokens to every session, about $0.0057 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

armada AGENTS.md compared with instructions from other repositories

armada AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
armada AGENTS.mdrafmacalaba/armadaInstructions file1052mo agoMITA1,423Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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