Borrowing it
Nothing to install: this file belongs to coco-research/coco. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/coco-research/coco/main/AGENTS.mdgit clone --depth 1 https://github.com/coco-research/cocoWrote 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.
[](https://agentmods.dev/instructions/coco-research/coco/agents-md)<a href="https://agentmods.dev/instructions/coco-research/coco/agents-md"><img src="https://agentmods.dev/badge/instructions/coco-research/coco/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.
<a href="https://agentmods.dev/instructions/coco-research/coco/agents-md"><img src="https://agentmods.dev/badge/instructions/coco-research/coco/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00659 | $0.00659 |
| Opus 5.5 | $0.00264 | $0.00264 |
| Sonnet 5.5 | $0.00132 | $0.00132 |
| Haiku 4.5 | $0.00066 | $0.00066 |
Grade A, and why
coco 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — read this before touching anything
Repo
- Name:
coco - Origin:
https://github.com/coco-research/coco.git - Stack: node
- SoT playbook:
~/code/jev-use/docs/repo-playbook.html
0. The documents, and when each is authoritative
| File | Answers | Update when |
|---|---|---|
docs/prd.md |
What and why | Scope changes |
docs/architecture.md |
How the parts fit | Structure changes |
docs/rules.md |
The laws. Invariants | ONLY with owner approval |
docs/design.md |
What it looks and feels like | UI work |
docs/tasks.md |
What is worked on now | Every PR |
docs/memory.md |
Decisions and dead ends | Every PR that settles something |
If two documents disagree, the earlier one in that table wins. Never silently pick one — fix the disagreement in the same PR.
1. The PR contract
- Every change is a small PR. No direct pushes to
main. - Gate green before review. Run
.githooks/pre-pushorgit pushand let it. - Evidence, not assertions. Paste the command and its real output.
- One concern per PR. Two things touched means two PRs.
- Fill the PR template in honestly, including the Risk section.
2. Never commit
- Any API key, token, or secret. Not in code, not in docs, not in a fixture.
- Absolute personal paths in shipped code. Docs may name one as an example.
- Build output.
target/,dist/,node_modules/are ignored and stay ignored.
3. When unsure
docs/rules.md holds the invariants, each with the measurement that justifies it.
If a task appears to require breaking one, stop and ask.
4. Recording what you learned
docs/memory.md is not a diary. It records decisions with reasons and
dead ends worth not repeating. If you spent an hour proving a
hypothesis wrong, that sentence saves the next agent the hour.
5. A bug you find is a bug you fix
Found a bug while installing or working in this repo? Fix it and open a PR. A finding left in a chat is lost.
- Counts as a bug: an install that delivers less than it advertises; a path, count, command or skill reference that does not resolve; a gate that cannot fail; a silent fallback where a loud failure belongs; docs that contradict the code.
- How: reproduce in a throwaway
HOMEfirst. Fix the source, not generated output. Add the gate that would have caught it. Run the fullci.ymlmirror, includingbuild-delivery-index.py, before pushing. The PR says what broke, why it was invisible, and the command that proves the fix. - Scope: this repo, fix and PR. Any other repo, report to its owner and stop.
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.
- 1mo ago Changed · +8 lines · +185 tokens per session 691473c7f374
- 2mo ago First seen · 47 lines · 474 tokens per session scan A 11181118a2f0
coco AGENTS.md is an instructions file published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 659 tokens to every session, about $0.0026 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-09-21.
coco AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coco AGENTS.mdcoco-research/coco | Instructions file | 323 | yesterday | Apache-2.0 | A | 659 | Codex, OpenCode |
| ai-agent-rules-generator ui-design.instructions.mdsavedpixel/ai-agent-rules-generator | Instructions file | 8 | 7mo ago | MIT | A | 701 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |