Borrowing it
Nothing to install: this file belongs to dimetron/pi-go. 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/dimetron/pi-go/main/AGENTS.mdgit clone --depth 1 https://github.com/dimetron/pi-goWrote 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/dimetron/pi-go/agents-md)<a href="https://agentmods.dev/instructions/dimetron/pi-go/agents-md"><img src="https://agentmods.dev/badge/instructions/dimetron/pi-go/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/dimetron/pi-go/agents-md"><img src="https://agentmods.dev/badge/instructions/dimetron/pi-go/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.09409 | $0.09409 |
| Opus 5.5 | $0.03764 | $0.03764 |
| Sonnet 5.5 | $0.01882 | $0.01882 |
| Haiku 4.5 | $0.00941 | $0.00941 |
Grade A, and why
pi-go 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 13d 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 — 770 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — pi-go
Guidance for coding agents working in this repo. Applies to Claude Code and to pi-go's own agent; where the two differ, both are described.
Before starting work
Use an isolated git worktree for every task that edits tracked files. Before reading or changing code, enumerate the repository's instruction files and read the applicable ones:
rg --files -g 'AGENTS.md' -g 'CLAUDE.md' -g '!tmp/**' -g '!.git/**' ..
Read the root AGENTS.md first, then any instruction file in each parent
directory of the files you will touch. Instructions closer to a file add
constraints to the repository guidance; do not skip them because a task appears
small.
Work in a git worktree, not the primary checkout
Do not make uncommitted edits in the primary checkout and leave them there.
The primary checkout has its branch switched frequently, and git checkout
discards uncommitted changes in tracked files without warning. Work has been
lost to this. A worktree gives each task its own working directory and its own
branch, so a switch in one cannot destroy another.
Check first: are you already in a worktree?
Do not create a worktree when you are already inside one. Nesting a worktree below another puts the new branch's base at the enclosing worktree's HEAD, and leaves two worktrees whose branches shadow each other on the same task. If you are already in one, work in the current directory.
The check is a comparison, because git rev-parse --git-dir and
--git-common-dir differ in exactly the case that matters:
# Already in a worktree? Then the two paths differ.
if [ "$(git rev-parse --git-dir)" != "$(git rev-parse --git-common-dir)" ]; then
echo "already in a worktree: $(git rev-parse --show-toplevel) — work here"
else
echo "primary checkout — create a worktree for this task"
fi
In the primary checkout both report .git. Inside a linked worktree --git-dir
is <repo>/.git/worktrees/<name> while --git-common-dir stays <repo>/.git.
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.
- 13d ago Changed 2f8f2ebb1dee
- 1mo ago Changed · +47 lines · +633 tokens per session 4b9b655506f2
- 1mo ago Changed · +216 lines · +3,020 tokens per session ac13b885691f
- 1mo ago First seen · 507 lines · 5,756 tokens per session scan A aeb7cc0b463d
pi-go AGENTS.md is an instructions file published in the GitHub repository dimetron/pi-go (222 stars, last pushed 3d ago), licensed MIT. It adds 9,409 tokens to every session, about $0.0376 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-20.
pi-go AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pi-go AGENTS.mddimetron/pi-go | Instructions file | 222 | 3d ago | MIT | A | 9,409 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | 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 |