Borrowing it
Nothing to install: this file belongs to gymcoach-app/gymcoach. 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/gymcoach-app/gymcoach/main/CLAUDE.mdgit clone --depth 1 https://github.com/gymcoach-app/gymcoachWrote 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/gymcoach-app/gymcoach/claude-md)<a href="https://agentmods.dev/instructions/gymcoach-app/gymcoach/claude-md"><img src="https://agentmods.dev/badge/instructions/gymcoach-app/gymcoach/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.
<a href="https://agentmods.dev/instructions/gymcoach-app/gymcoach/claude-md"><img src="https://agentmods.dev/badge/instructions/gymcoach-app/gymcoach/claude-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.02861 | $0.02861 |
| Opus 5.5 | $0.01144 | $0.01144 |
| Sonnet 5.5 | $0.00572 | $0.00572 |
| Haiku 4.5 | $0.00286 | $0.00286 |
Grade A, and why
gymcoach CLAUDE.md scanned grade A 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 19d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
code that sends them off-box. The `curl`/`wget` deny in `.claude/settings.json` is How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — working agreement for agents on GymCoach
GymCoach is an open source, self-hosted training tracker with a built-in AI coach. This file tells any Claude Code agent (interactive or inside a loop) how to work in this repo so it does not have to re-derive conventions.
What this project is
- Frontend: Next.js 15 (App Router), TypeScript strict, Tailwind, Shadcn UI.
- Backend: Next.js API routes, Prisma ORM, PostgreSQL 16.
- AI: one provider interface in
lib/llmin front of Anthropic SDK or OpenRouter (and ademoprovider with canned responses, no key). - Infra: Docker / Docker Compose.
Toolchain (important)
- Requires Node >= 20. The system
nodemay be too old; the working version is nvm node v22.17.1..claude/settings.local.jsonputs it on PATH for non-interactive shells, andscripts/verify.shre-exports it. Ifnpmis "not found", that is why. - Package manager is npm.
The green-gate (self-verification — never skip)
Before committing or opening a PR, the change MUST pass:
bash scripts/verify.sh # prisma generate + lint + typecheck + unit + build
bash scripts/verify.sh --full # also integration + E2E (needs test Postgres on :5434)
CI (.github/workflows/ci.yml) runs lint, typecheck, unit, integration, build
and E2E on every PR. The default gate mirrors the fast, DB-free part so a loop
can catch its own regressions locally.
--full bootstraps the test database itself. Inside its lock, verify.sh
runs scripts/test-db.sh: it starts the test Postgres on :5434 with
docker compose -f docker-compose.test.yml up -d when Docker is available (a
fixed compose project, gymcoach-test, so every checkout and worktree shares the
same container), waits until it accepts TCP connections, and applies
prisma migrate deploy to it. The migration URL is a hard-coded test URL,
validated by a guard (localhost:5434/gymcoach_test, no query override) and set
inline only for that command, so the step never migrates a dev or production
database (guard self-tested by scripts/test-db.test.sh in the default gate). If Docker is unavailable and
nothing listens on :5434, the gate stops with instructions (on this WSL box,
start Docker Desktop first). History: lessons L4 and L23, where a fresh or
restarted container (tmpfs data) failed the integration tier with
relation "Message" does not exist until someone migrated it by hand.
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.
- 19d ago Changed · +3 lines · +56 tokens per session e1a59f8a8de4
- 22d ago Changed · +9 lines · +191 tokens per session 25aba1870527
- 24d ago First seen · 167 lines · 2,614 tokens per session scan A 2b00849fd509
gymcoach CLAUDE.md is an instructions file published in the GitHub repository gymcoach-app/gymcoach (169 stars, last pushed 3d ago), licensed MIT. It adds 2,861 tokens to every session, about $0.0114 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.
gymcoach CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gymcoach CLAUDE.mdgymcoach-app/gymcoach | Instructions file | 169 | 3d ago | MIT | A | 2,861 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |