agent-chorus: Instructions file for Claude Code

CLAUDE.md

agent-chorus CLAUDE.md is an instructions file for Claude Code from cote-star/agent-chorus. It costs 1,974 tokens per session, scanned B, original, MIT.

Repository instructions for Agent Chorus, including a context pack: a set of files that explains the project, its rules, and where relevant code lives. Agents must read selected context files before opening source code.

In plain words
What is it for?
Use them to start tasks, answer architecture questions, follow project rules, and maintain the context pack.
Why use it?
They help an agent understand the repository in a controlled order and avoid searching or editing unrelated files.

Instructions file for Claude Code

Written for Claude Code: SessionEnd hook event. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

This is cote-star/agent-chorus's own configuration. It tells Claude Code how to work on agent-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 agent-chorus configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 agent-chorus CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cote-star/agent-chorus/claude-md"><img src="https://agentmods.dev/badge/instructions/cote-star/agent-chorus/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,974 This file is loaded in full into every session.
When invoked 1,974 The same file — it is already loaded in full.
Security scan B 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.01974 $0.01974
Opus 5.5 $0.00790 $0.00790
Sonnet 5.5 $0.00395 $0.00395
Haiku 4.5 $0.00197 $0.00197

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

Security

Grade B, and why

agent-chorus CLAUDE.md scanned grade B 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 16d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Install by adding to `~/.claude/settings.json`:
CLAUDE.md · 203 lines

How it starts

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

BEFORE starting any task, read these 3 files in order:

  1. .agent-context/current/00_START_HERE.md
  2. .agent-context/current/30_BEHAVIORAL_INVARIANTS.md
  3. .agent-context/current/20_CODE_MAP.md Do NOT open repo source files until steps 1-3 are complete. Then open only files .agent-context identifies as relevant to your task.

Context Pack

Scope: this section applies to tasks about this repository's code, data or behavior. For questions that are not about this repository (for example the workstation, agent setup or authoring standards), follow the enclosing workspace's instructions instead; its identity and approval rules still apply.

BEFORE starting any task, read the context pack in this order:

  1. .agent-context/current/00_START_HERE.md — entrypoint, routing, stop rules
  2. .agent-context/current/30_BEHAVIORAL_INVARIANTS.md — change checklists, file families, what NOT to do
  3. .agent-context/current/20_CODE_MAP.md — navigation index, tracing flows

Read these three files BEFORE opening any repo source files. Then open only the files the pack identifies as relevant.

For architecture questions, also read 10_SYSTEM_OVERVIEW.md. For test/deploy questions, also read 40_OPERATIONS_AND_RELEASE.md.

Claude Code Instructions

Naming convention: Use chorus agent-context ... commands. Legacy npm wrappers (npm run agent-context:*) are still available in this repo.

Context Pack

When asked to understand this repository (or any "what does this repo do?" intent):

  1. Read .agent-context/current/00_START_HERE.md first.
  2. Follow the read order defined in that file (10_SYSTEM_OVERVIEW.md, then 30_BEHAVIORAL_INVARIANTS.md, then 20_CODE_MAP.md, then 40_OPERATIONS_AND_RELEASE.md).
  3. Only open project files when the context pack identifies a specific target.

If the context pack is missing, run:

Read the full file on GitHub · 203 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. 16d ago Changed · +2 lines · +50 tokens per session d57d186457db
  2. 3mo ago First seen · 201 lines · 1,924 tokens per session scan B 18c9ed67a32a

Subscribe to this mod's changes

agent-chorus CLAUDE.md is an instructions file published in the GitHub repository cote-star/agent-chorus (15 stars, last pushed 17d ago), licensed MIT. It adds 1,974 tokens to every session, about $0.0079 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-chorus CLAUDE.md compared with instructions from other repositories

agent-chorus CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-chorus CLAUDE.mdcote-star/agent-chorusInstructions file1517d agoMITB1,974Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot