Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/valentindutra/pr-map/agents-mdgit clone --depth 1 https://github.com/ValentinDutra/pr-mapWhat 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 | $0.00815 | $0.00815 |
| Opus 5 | $0.00407 | $0.00407 |
| Sonnet 5 | $0.00163 | $0.00163 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
pr-map 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 2d 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 — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Autonomous implementation contract
These rules govern any agent implementing tasks from plan.md (e.g. under the ralph loop).
They are mandatory, and /review enforces them — a violation is a defect, not a style note.
Start of each iteration — read the context
Before picking a task, read plan.md and learnings.txt in full. Also read review-notes.txt if it
exists and treat its [REVIEWER …] entries as course-corrections with the same weight as
learnings.txt — fix what they call out before adding new work. (review-notes.txt is written by the
/deliver parallel reviewer; it may not exist outside a /deliver run — read it only if present.)
Test-Driven Development is non-negotiable
Every task follows RED -> GREEN -> REFACTOR:
- RED — write a failing test first that encodes the task's acceptance criterion. Run it and confirm it fails for the intended reason. No production code before a failing test exists.
- GREEN — write the minimal code to make the test pass. No placeholders, stubs, TODOs, or commented-out code.
- REFACTOR — improve structure without changing behavior; keep tests green.
Definition of Done (before every commit)
A task is done only when ALL three gates pass — run the exact commands from plan.md's
## Verification commands:
- Tests — the relevant suite is green, including the new test.
- Lint — clean.
- Type check — clean.
If any gate is red, fix it before committing. Never commit a red gate.
Test integrity
- Tests must assert real behavior tied to the acceptance criterion.
- Never make a test pass by weakening it, deleting assertions, marking it
skip/xfail/only, or loosening the gate config. - A green suite achieved by gaming it is a defect, not "done".
- Test observable behavior through the public interface, not implementation details. A test that breaks on a behavior-preserving refactor was testing the wrong thing.
- No tautological tests: the expected value must come from an independent source — a known-good literal or a worked example from the spec — never recomputed the way the code computes it.
- Mock only at true system boundaries (external APIs, DB, time, randomness, filesystem). Never mock internal collaborators or your own modules.
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.
- 2d ago First seen · 69 lines · 815 tokens per session scan A 3554af0aae64
pr-map AGENTS.md is an instructions file published in the GitHub repository ValentinDutra/pr-map (9 stars, last pushed 2mo ago), licensed MIT. It adds 815 tokens to every session, about $0.0041 per session on Opus 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-08-31.
Other instructions, from other repositories
github-mcp-server copilot-instructions.md
Copilot instructions for github/github-mcp-server, covering github mcp server - copilot instructions, project overview, critical build & validation steps, required commands (run before committing) and when modifying mcp tools/endpoints.
av CLAUDE.md
Instructions for aviator-co/av, covering claude.md, project overview, documentation sources, command structure philosophy and development workflow.
vscode-gitlens AGENTS.md
AGENTS.md instructions for gitkraken/vscode-gitlens, covering gitlens development guide, working style expectations, development environment, development commands and git & repository guidelines.
vscode-gitlens CLAUDE.md
Claude Code instructions for gitkraken/vscode-gitlens, a project described as: Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via…
ghtkn AGENTS.md
Instructions for suzuki-shunsuke/ghtkn, a project described as: A CLI to create short-lived (8 hours) GitHub App User Access Token for secure local development.
dev_agent
Expert engineer for this GitHub Action.