coach: Instructions file for Codex

AGENTS.md

coach AGENTS.md is an instructions file for Codex, OpenCode from watt-mind/coach. It costs 2,768 tokens per session, scanned B, original, Apache-2.0.

A set of instructions for AI coding agents working in the watt-mind/coach repository. It explains the project, issue tracking in Linear, required worktree setup, and rules agents must follow before coding.

In plain words
What is it for?
Use it when an agent starts or continues work on a watt-mind/coach ticket, especially when creating a worktree, following the Linear workflow, or checking project-specific requirements.
Why use it?
It prevents agents from using the wrong checkout or treating archived documents as active tasks. It also establishes how work is claimed, tracked, and validated.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Gemini CLI.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/watt-mind/coach/agents-md"><img src="https://agentmods.dev/badge/instructions/watt-mind/coach/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,768 This file is loaded in full into every session.
When invoked 2,768 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.02768 $0.02768
Opus 5.5 $0.01107 $0.01107
Sonnet 5.5 $0.00554 $0.00554
Haiku 4.5 $0.00277 $0.00277

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

Security

Grade B, and why

coach AGENTS.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 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Postgres: `sudo pg_ctlcluster 16 main start` (cluster `16 main`, listens on `localhost:5432`).
AGENTS.md · 99 lines

How it starts

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

Agent Guidelines (AGENTS.md)

Primary context for AI agents (Claude Code, Gemini CLI, Cursor) working in this repository.

Project

Coach Watts — AI endurance coaching platform. Nuxt 3 + Nuxt UI, Vercel AI SDK, Prisma, Trigger.dev.

Issue tracking

All work is tracked in Linear, team key CW. Issue IDs look like CW-105.

Read docs/04-guides/issue-management.md before picking up any ticket. It defines the label taxonomy, workflow states, the AI-ready ticket template, and the concurrent-agent claim protocol.

Task state lives in Linear, never in git-tracked markdown. Files under docs/issues/ are the archive of already-resolved issues plus specs — do not treat them as a live queue and do not update their status as a way of tracking work.

Non-negotiables for agents

  1. One git worktree per ticket, created by bin/worktree-up.sh. Never work on two tickets in the same checkout, and never hand-roll a worktree — no bare git worktree add, no hand-edited .env, no improvised port, no pnpm dev on whatever port is free. See Worktrees.
    bin/worktree-up.sh CW-105 feat slug     # worktree + branch + database + port + .env
    
  2. Claim before you code. Set the ticket to In Progress, assign it to yourself, add ai:in-progress — then re-read it. If the assignee is not you, another agent won the race; take the next ticket.
  3. Only touch the ticket's Owned Paths. If the work requires files outside that set, stop and move the ticket to Blocked.
  4. Never mark a ticket Done without clean verification output. Run the ticket's Verification Command and post the output as a comment.
  5. Blocked is a state, not a vibe. Missing credentials, ambiguity, or an external dependency → move to Blocked and say what you need. Never leave a stalled ticket sitting in In Progress.
  6. File follow-ups in Linear. Bugs, risks, missing requirements, tech debt, or out-of-scope todos discovered while working → create a CW issue in Triage (see issue-management §8). Do not expand the current ticket's scope to absorb them.

Read the full file on GitHub · 99 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 · 99 lines · 2,768 tokens per session scan B 22cd5402270a

Subscribe to this mod's changes

coach AGENTS.md is an instructions file published in the GitHub repository watt-mind/coach (105 stars, last pushed 14d ago), licensed Apache-2.0. It adds 2,768 tokens to every session, about $0.0111 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

coach AGENTS.md compared with instructions from other repositories

coach AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coach AGENTS.mdwatt-mind/coachInstructions file10514d agoApache-2.0B2,768Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode