Borrowing it
Nothing to install: this file belongs to mickeyyaya/evolve-loop. 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/mickeyyaya/evolve-loop/main/AGENTS.mdgit clone --depth 1 https://github.com/mickeyyaya/evolve-loopWrote 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/mickeyyaya/evolve-loop/agents-md)<a href="https://agentmods.dev/instructions/mickeyyaya/evolve-loop/agents-md"><img src="https://agentmods.dev/badge/instructions/mickeyyaya/evolve-loop/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/mickeyyaya/evolve-loop/agents-md"><img src="https://agentmods.dev/badge/instructions/mickeyyaya/evolve-loop/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.05032 | $0.05032 |
| Opus 5.5 | $0.02013 | $0.02013 |
| Sonnet 5.5 | $0.01006 | $0.01006 |
| Haiku 4.5 | $0.00503 | $0.00503 |
Grade C, and why
evolve-loop AGENTS.md scanned grade C 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 5d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- instructions-digest BEGIN --> How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Cross-CLI Canonical Instructions
Read this file first if you are an AI agent that works in this repository. The agent can be Claude Code, Codex CLI, Antigravity/agy, Ollama, Gemini CLI or a generic agent. This file is the one source of the instructions for each CLI.
evolve skills generaterenders CLAUDE.md and GEMINI.md from it. Each file has a short overlay for its CLI and a copy of the digest section of this file. Change this file, not a rendered copy.evolve skills checkfails when a rendered copy differs from this file.Operating policy (canonical): docs/operations/operating-policy.md has the environment-independent process rules. Each rule has the incident evidence behind it. The rules cover:
- the pipeline-integrity procedure (console-first, maximum reasoning);
- the queue/routing authority;
- the engineering standards;
- the failure-handling contract;
- the release policy.
A clean environment gets the full policy from the repo alone. Session memory is only an advisory mirror.
Digest (each CLI loads this part)
This digest has the facts that each agent must have when it starts. The full rules, the reasons and the evidence are in AGENTS.md and in the linked docs. Read them when your task touches their subject.
Hard rules
- Top law: a self-healing, AI-driven loop that relentlessly builds the best-quality features, and fixes any issue with logic, research and the best practical option.
- Serve the top law, not a local metric. Finish inside each gate and limit, and report a conflict with the law.
- Never mutate or run a live kill guard. Inject the signal sender, so that a test cannot kill a real process.
- Never kill processes by a command pattern on the shared host. Kill only the process ids that you started.
- No LLM in the pipeline starts or directs another. The console acts for the operator, and runs a seat only through evolve agent run. (enforced by
go/internal/guards/phase.go) - Run the phases in the order Scout, Build, Audit, Ship. Never skip a phase, and never ignore a kernel-gate failure. (enforced by
go/internal/core/statemachine.go) - Commit and push only through evolve ship. The ship gate denies a bare git commit and a bare git push. (enforced by
go/internal/guards/ship.go) - The builder writes only inside the worktree that the runtime provisions. An agent never runs git worktree. (enforced by
go/internal/guards/role.go) - Ship only when the EGPS verdict has a red count of zero. Never edit the hash-chained ledger by hand.
- Never fabricate a cycle number, a test count or a verdict. Report only what a command printed.
- Do all development on a branch in a worktree, never on main. Main is the integration branch only.
- MANDATORY: code has no comments, except tool-read lines and the one package doc that docgo requires. A reason goes to the package note. (enforced by
go/internal/commitgate/comments_added.go) - Write each document through the docs-write skill. The new text passes evolve docs ste-lint --strict. (enforced by
go/internal/stelint) - Reach each outside service through a CLI, never through MCP. Build a CLI when a service has none.
- Put research, lessons and failed approaches under docs/. Never delete a document; archive it.
- Read no control value from the environment. An operator setting lives in policy.json, and a bypass is a CLI parameter.
- Add no feature flag. Select each behavior through configuration data and a design pattern.
- Stop after two consecutive cycles that ship nothing, and find the root cause in the pipeline.
- Before you claim done, run the check and read its output. Report test counts as N/N PASS.
- Read a module and list its real exports before you call or import it. Never invent an API.
- Fix the root cause through a redesign. Never apply a workaround that hides a failure.
- Never duplicate logic, settings or prose. Keep each in one home, and generate each copy from it.
- Record each issue, alert or mistake through issue-record. Capture its evidence by code before the fix, and cite that evidence for each fact.
- Each skill of this project runs unchanged on every LLM CLI, takes its scope as parameters, and carries its eval set and its verification section.
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.
- 5d ago Changed · +1 lines · +31 tokens per session a63aedbbd1d2
- 6d ago Changed · -227 lines · -8,370 tokens per session 1fa1def4b161
- 9d ago Changed · -2 tokens per session 04f8129f3931
- 10d ago Changed · +2 lines · +97 tokens per session 16bad9269193
- 11d ago Changed · -21 lines · -677 tokens per session d0f94b27977c
- 13d ago Changed · +3 lines · +155 tokens per session 283a80abc184
- 14d ago Changed · +95 tokens per session e9914c74b7ba
- 17d ago Changed · +1 lines · +28 tokens per session 86816dd3ae89
- 29d ago Changed · +2 lines · +114 tokens per session 58599e60c5ca
- 1mo ago First seen · 458 lines · 13,561 tokens per session scan C 29c1e195d560
evolve-loop AGENTS.md is an instructions file published in the GitHub repository mickeyyaya/evolve-loop (8 stars, last pushed 5d ago), licensed Apache-2.0. It adds 5,032 tokens to every session, about $0.0201 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
evolve-loop AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| evolve-loop AGENTS.mdmickeyyaya/evolve-loop | Instructions file | 8 | 5d ago | Apache-2.0 | C | 5,032 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,951 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | yesterday | MIT | A | 3,077 | GitHub Copilot |