Borrowing it
Nothing to install: this file belongs to Verified-zkEVM/evm-asm. 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/Verified-zkEVM/evm-asm/main/AGENTS.mdgit clone --depth 1 https://github.com/Verified-zkEVM/evm-asmWrote 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/verified-zkevm/evm-asm/agents-md)<a href="https://agentmods.dev/instructions/verified-zkevm/evm-asm/agents-md"><img src="https://agentmods.dev/badge/instructions/verified-zkevm/evm-asm/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/verified-zkevm/evm-asm/agents-md"><img src="https://agentmods.dev/badge/instructions/verified-zkevm/evm-asm/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.12487 | $0.12487 |
| Opus 5.5 | $0.04995 | $0.04995 |
| Sonnet 5.5 | $0.02497 | $0.02497 |
| Haiku 4.5 | $0.01249 | $0.01249 |
Grade A, and why
evm-asm 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 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.
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 — 603 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Agent Guide for EvmAsm
Guidance for AI agents working on the EvmAsm project. This page is the compact
router: non-negotiable rules + where to find everything else. Deep material is
in docs/agents/ — load a deep page only when its trigger applies.
What this project is (and where it's going)
EvmAsm is a verified macro assembler for RISC-V in Lean 4 (in the lineage of
"Coq: The world's best macro assembler?", Kennedy et al., PPDP 2013), applied to
one goal: a formally verified zkEVM stateless guest. The guest
(stateless_guest, run under the ZisK zkVM / ziskemu) validates an Ethereum
execution payload against a witness; the north-star theorem is
run_stateless_guest_spec (EvmAsm/Stateless/EntrySpec.lean) — the emitted
guest's output is correct per the SpecRef port of
execution-specs' run_stateless_guest.
Two layers, with a CI-enforced boundary (check-layering.sh):
- The verified core (
EvmAsm/exceptCodegen//Tests//Examples/): machine model, separation logic, proofs, the executable spec ports. The core must NEVER importCodegen. EvmAsm/Codegen/: the unverified-but-emitted guest (asm strings, emission, region maps, probes) that the verification is progressively replacing routine-by-routine. Verified ↔ emitted correspondence is tied by byte-identity_eq_progdrift guards or full re-emit gates (EEST A/B) — seedocs/agents/verified-replacement-strategy.md.
The center of gravity is the evm-asm-4ch8f epic ("replace every guest
routine with a verified triple"). The per-opcode Evm64 track that built this
substrate is largely complete (52 opcodes, kernel-checked registry in
EvmAsm/Progress.lean); most new work is porting guest routines, in
callee-first order, against the separation-logic state-assertion vocabulary.
Start here
- What to work on: the in-repo sources are
PLAN.md(roadmap; seeCLAUDE.mdfor its maintenance protocol) anddocs/agents/top-theorem-ledger.md(what remains for the north star). Work items are coordinated in an external issue tracker ("beads", ids likeevm-asm-4ch8f.75.1) that most agents do NOT have access to — treat bead ids appearing in docs/PRs as opaque work-item references; if your session does have the tracker, use it, otherwise your task assignment supersedes. - Starting any 4ch8f bead →
docs/agents/roadmap-4ch8f.md(layer DAG, pick-next rules, recipe table). - Verifying one routine →
docs/agents/port-playbook.md(mechanics) +docs/agents/verified-replacement-strategy.md(what to prove, spec shape, what to do when a callee doesn't expose enough); sp-frame routines (stack frame + callee-saved regs, loops, cross-calls) →docs/porting-sp-frame-routines.md(FramePort tactics, tiered recipe). - What remains for the north star →
docs/agents/top-theorem-ledger.md. - Reviewing a PR →
docs/agents/review-playbook.md. - Live progress cockpit (GitHub Pages) →
https://verified-zkevm.github.io/evm-asm/ (
docs/index.html). Do not hand-edit counts into the HTML; there are none. Merge tomainrepublishes. If you changed a Progress registry, regenerateDRIFT.mdonly (scripts/drift-report.sh --write).
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.
- 2mo ago Changed · +5 lines · +81 tokens per session 751f3b54a174
- 2mo ago First seen · 598 lines · 12,406 tokens per session scan A 6d84eaac7103
evm-asm AGENTS.md is an instructions file published in the GitHub repository Verified-zkEVM/evm-asm (59 stars, last pushed yesterday), licensed MIT. It adds 12,487 tokens to every session, about $0.0499 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-08-30.
evm-asm AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| evm-asm AGENTS.mdVerified-zkEVM/evm-asm | Instructions file | 59 | yesterday | MIT | A | 12,487 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | 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 | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |