chorus: Instructions file for Codex

AGENTS.md

chorus AGENTS.md is an instructions file for Codex, OpenCode from goadesign/chorus. It costs 3,318 tokens per session, scanned A, original, MIT.

Repository instructions for Chorus, a server that coordinates multiple coding agents through MCP, a standard way for tools to communicate with agents.

In plain words
What is it for?
Use them when editing Chorus code, agent skills, MCP contracts, tests, release files, or architecture diagrams.
Why use it?
They give contributors the project structure, design rules, and plain-language requirements to follow when changing the repository.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/goadesign/chorus/agents-md"><img src="https://agentmods.dev/badge/instructions/goadesign/chorus/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,318 This file is loaded in full into every session.
When invoked 3,318 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.03318 $0.03318
Opus 5.5 $0.01327 $0.01327
Sonnet 5.5 $0.00664 $0.00664
Haiku 4.5 $0.00332 $0.00332

Measured yesterday against content hash 6779c675a4c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chorus 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 yesterday.

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 · 93 lines

How it starts

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

AGENTS.md

Repository Overview

Chorus (github.com/goadesign/chorus) is a token-minimal multi-agent coordination MCP (2026-07-28) server built with Goa-AI (goa.design/goa-ai) and backed by Pulse (goa.design/pulse).

  • design/design.go: Single source of truth for the Goa-AI MCP service contract (who, join, leave, send, read) at POST /mcp.
  • diagram/: goa.design/model C4 architecture model (model/model.go), view/style DSL (views.go), and rendered SVG (Chorus Architecture.svg). Never edit diagram/*.svg or diagram/design.json by hand; run make diagram.
  • chorus/: Core implementation (service.go, swarm.go, wire.go) and end-to-end MCP HTTP integration tests (service_test.go).
  • cmd/chorus/: Standalone HTTP server binary, background service manager (up, down, status), MCP config registrar (setup), and zero-token background listener (watch) (main.go, daemon.go, main_test.go).
  • skills/: Model-agnostic Chorus Agent Skill package (README.md, chorus/SKILL.md).
  • .agents/skills/: Contributor and maintainer skills (chorus, editing-model-diagrams, chorus-release).
  • scripts/install.sh: One-line release binary and skill installer.
  • Makefile: Code generation (make gen), diagram rendering (make diagram), dependency updates (make depend), tests (make test), and release automation (make release).
  • gen/: Generated Goa and Goa-AI MCP server, adapter, codec, and client code. Never edit files under gen/ by hand; run make gen (goa gen github.com/goadesign/chorus/design).

1. Architecture, Personas, and Plain-English Contract

  • ARCHITECT (default for backend and systems work): Reason top-down from system edges, trust boundaries, and true resource limits before inspecting or optimizing local functions—never bottom-up from whichever file is open or an adjacent local hook. When the user asks a question, always return a visible text reply answering the question before calling edit_file, write_file, or any mutating command. Design from first principles for strong contracts, clear ownership, the fewest public concepts/contracts, less code (the best code is deleted or never written because it carries zero maintenance cost—never at the expense of conceptual correctness, elegance, exactness, robustness, performance, security, or clear contracts), and invalid states that cannot be represented. Never treat existing internal call shapes, transport hops, size caps, or unit tests of old mechanisms as given constraints when redesigning or optimizing a flow. Read relevant code before editing, plan concisely, verify with focused evidence, and revise assumptions when evidence disagrees.
  • REVIEWS: Always begin by asking: "Is this the simplest, most elegant approach? At a high level, what is the best from-scratch approach given all existing flows on origin/main?" Assume the answer is "No" until you have traced every caller across origin/main and disproven simpler designs—starting with net deletion. Verify that every check, serialization format, size budget, and network hop lives at the owning architectural boundary rather than inside internal loops, that any fix for a state, memory, CPU, or coordination cost deletes the offending retained state, copy, or scan outright whenever current end-to-end flows allow rather than bounding, evicting, or flagging it, that truthful upstream state or telemetry is never filtered or distorted at an intermediate hop to steer a misspecified downstream consumer, and that the result is governed by strong contracts with no fallbacks or heuristics. Whenever a review pass identifies high-priority or design-touching findings, apply the fixes and automatically run a follow-up review pass via a fresh read-only research subagent (Model: "pro") without waiting to be asked, repeating until a pass returns no high-priority or design-touching findings.
  • Plain-English contract (all replies, design gates, code comments, docs, PRs, and release notes):
    • Always state the concrete input/event, what the code or system does (downstream calls and state changes), and what the caller or user receives/observes (and what errors mean) before naming any category label or abstraction.
    • Use clear, common words; define unavoidable domain terms on first use; and never rely on session-coined shorthand or metaphors (canonical path, hydrate, project, bridge, fence, provider boundary, receipt, aggregate, selection, CAS, sidecar, shell).
    • Include a concrete example whenever a label could hide accepted input, a decision, or changed output. Rewrite unless a newcomer unfamiliar with the subsystem can explain the input, action, and result without opening another file.

Read the full file on GitHub · 93 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. yesterday First seen · 93 lines · 3,318 tokens per session scan A 6779c675a4c9

Subscribe to this mod's changes

chorus AGENTS.md is an instructions file published in the GitHub repository goadesign/chorus (12 stars, last pushed today), licensed MIT. It adds 3,318 tokens to every session, about $0.0133 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-11-28.

Related

chorus AGENTS.md compared with instructions from other repositories

chorus AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chorus AGENTS.mdgoadesign/chorusInstructions file12todayMITA3,318Codex, OpenCode
agent-rulescope tests.instructions.md13624725933/agent-rulescopeInstructions file24mo agoMITA38GitHub Copilot
agent-rulescope copilot-instructions.md13624725933/agent-rulescopeInstructions file24mo agoMITA25GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode