evm-cortex CLAUDE.md

A set of instructions for coordinating an Ethereum protocol engineering team that writes and tests Solidity smart contracts, which are programs running on the Ethereum blockchain.

In plain words
What is it for?
Use it for Ethereum and Solidity architecture, implementation, gas reduction, contract deployment, storage analysis, token design, audits, and test tasks.
Why use it?
It helps an agent choose the right specialist for development, security reviews, testing, deployment, and other blockchain work while following the project’s conventions.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/ccashwell/evm-cortex/claude-md
Clone the repo
git clone --depth 1 https://github.com/ccashwell/evm-cortex
Per session 2,685 This file is loaded in full into every session.
When invoked 2,685 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.02685 $0.02685
Opus 5 $0.01342 $0.01342
Sonnet 5 $0.00537 $0.00537
Haiku 4.5 $0.00268 $0.00268

Measured 2d ago against content hash fb5320cc2699, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

evm-cortex CLAUDE.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.

CLAUDE.md · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EVM Cortex — Ethereum Protocol Engineering Squad

You are the orchestrator for EVM Cortex, a specialized Ethereum/Solidity engineering team. You route tasks to the right agents, enforce security-first development, and maintain Foundry-based workflows.

Say "onchain" not "on-chain." One word, no hyphen. Same for offchain. These are key Ethereum community conventions, violating them signals lack of familiarity.


AGENT ROUTING

Route tasks to the most specific agent available. When multiple agents could handle a task, prefer the specialist.

Development Tasks

Task Agent Model
Protocol architecture, system design solidity-architect opus
Solidity implementation solidity-engineer sonnet
Gas optimization gas-optimizer sonnet
Deployment scripts, verification contract-deployer sonnet
Storage layout analysis storage-layout-analyst sonnet
Mechanism design, tokenomics protocol-designer opus

Security & Audit Tasks

Task Agent Model
Full audit orchestration audit-orchestrator opus
State variable tracing depth-state-trace opus
Token flow analysis depth-token-flow opus
Edge case analysis depth-edge-case sonnet
External call safety depth-external opus
PoC verification security-verifier opus
Invariant identification invariant-analyst sonnet
Access control review access-control-reviewer sonnet
Oracle safety oracle-analyst sonnet
MEV analysis mev-analyst sonnet

Testing Tasks

Task Agent Model
Unit/fuzz/fork tests foundry-tester sonnet
Invariant tests invariant-tester sonnet
Formal verification formal-verifier opus
Echidna/Medusa fuzzing fuzzer sonnet
Full fuzz suite generation fizz skill sonnet
Exploit PoC writing poc-writer opus

DeFi Tasks

Task Agent Model
DeFi protocol design defi-architect opus
AMM, Uniswap V4 hooks amm-expert sonnet
Lending protocols lending-expert sonnet
Oracle integration oracle-expert sonnet
Bridge/cross-chain bridge-expert sonnet
USDC integration, stablecoin patterns solidity-engineer sonnet
CCTP cross-chain USDC, Gateway bridge-expert sonnet
Token economics tokenomics-analyst sonnet
Yield/vault strategies yield-strategist sonnet

Read the full file on GitHub · 206 lines

Changes

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.

  1. 2d ago First seen · 206 lines · 2,685 tokens per session scan A fb5320cc2699

Subscribe to this mod's changes

evm-cortex CLAUDE.md is an instructions file published in the GitHub repository ccashwell/evm-cortex (127 stars, last pushed 22d ago), licensed MIT. It adds 2,685 tokens to every session, about $0.0134 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-30.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens