brigade AGENTS.md

brigade AGENTS.md is an instructions file for Codex, OpenCode from escoffier-labs/brigade. It costs 1,962 tokens per session, scanned A, original, MIT.

Development instructions for Brigade, a Python command-line tool that handles agent memory, handoffs, and local project rules. They define how contributors verify changes and report results.

In plain words
What is it for?
Use them to run focused checks during development and the full verification suite for pull requests, merges, releases, or changes to verification infrastructure.
Why use it?
They provide a consistent definition of done and help prevent contributors from claiming a check passed without actually observing its result.

Instructions file for CodexOpenCode

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 instructions/escoffier-labs/brigade/agents-md
Clone the repo
git clone --depth 1 https://github.com/escoffier-labs/brigade

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/escoffier-labs/brigade/agents-md.svg)](https://agentmods.dev/instructions/escoffier-labs/brigade/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/escoffier-labs/brigade/agents-md"><img src="https://agentmods.dev/badge/instructions/escoffier-labs/brigade/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,962 This file is loaded in full into every session.
When invoked 1,962 The same file — it is already loaded in full.
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.1 $0.01962 $0.01962
Opus 5 $0.00981 $0.00981
Sonnet 5 $0.00392 $0.00392
Haiku 4.5 $0.00196 $0.00196

Measured 5d ago against content hash 7ae72b50118c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

brigade 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 5d 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 · 155 lines

How it starts

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

AGENTS.md

Brigade is a zero-runtime-dependency Python CLI for agent memory, handoffs, and local guardrails, published to PyPI as brigade-cli. Source lives in src/brigade/, tests in tests/, harness/depth/include manifests in src/brigade/templates/.

Installing, evaluating, or adapting Brigade for a user's workspace? Follow docs/agents-guide.md instead. This file is for developing Brigade itself; the contributor policy lives in CONTRIBUTING.md.

Definition of Done

Development slices use the focused gate through Brigade:

brigade work verify run --target . --argv-json '["./scripts/verify-focused","<pytest-selector>"]' --capture brigade-work

./scripts/verify-focused runs ruff lint, ruff format check, the version-sync check, managed snapshot, template-profile snapshot, mypy, and only the named pytest selectors. Report the actual result, paste any failure verbatim, and never claim success you did not observe.

Reserve the full coverage gate for pull requests, merges, releases, and verification-infrastructure changes. Run it once through Brigade:

brigade work verify run --target . --argv-json '["./scripts/verify"]' --timeout 3600 --capture brigade-work

--timeout 3600 bounds the known-long integration gate and is not permission to retry status 75.

Do not pass --no-reuse for a full gate. Status 75 means another full verification is already running for this checkout. It must not be retried with a larger timeout. Use ./scripts/verify-focused or wait for the active Brigade receipt.

CI-only jobs still cover work that is slower, platform-oriented, or depends on extra checkout/install context: content-guard, repo-metadata, install-from-source, quickstart-smoke, and windows-native-acceptance. The local ./scripts/verify gate is the full coverage gate. Do not treat it as a replacement for those CI-only release and public-repo checks.

Setup, if .venv/ is missing:

python -m venv .venv && source .venv/bin/activate && pip install -e ".[dev]"

Read the full file on GitHub · 155 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. 5d ago First seen · 155 lines · 1,962 tokens per session scan A 7ae72b50118c

Subscribe to this mod's changes

brigade AGENTS.md is an instructions file published in the GitHub repository escoffier-labs/brigade (72 stars, last pushed today), licensed MIT. It adds 1,962 tokens to every session, about $0.0098 per session on Opus 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.