evmole AGENTS.md

Project instructions for EVMole, a tool that extracts structured facts from deployed Ethereum Virtual Machine (EVM) bytecode. Bytecode is the low-level program stored on a blockchain.

In plain words
What is it for?
Use them when changing or testing EVMole itself, including its Rust core, Python, JavaScript, WebAssembly, Go, CLI, or agent components.
Why use it?
They direct contributors to the correct source code and testing areas for the core analyzer, language bindings, command-line tools, and agent integrations.

Instructions file for CodexOpenCode

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/cdump/evmole/agents-md
Clone the repo
git clone --depth 1 https://github.com/cdump/evmole

Made for: Codex, OpenCode.

Per session 607 This file is loaded in full into every session.
When invoked 607 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.00607 $0.00607
Opus 5 $0.00303 $0.00303
Sonnet 5 $0.00121 $0.00121
Haiku 4.5 $0.00061 $0.00061

Measured yesterday against content hash 8c40f0975d86, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

evmole 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 yesterday.

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.

AGENTS.md · 47 lines

What it actually says

EVMole agent guide

EVMole extracts structured facts from deployed EVM runtime bytecode.

  • This is the EVMole implementation repository. For requests to implement, debug, refactor, review, or test EVMole itself, inspect and modify the repository source. Do not use the published EVMole packages, MCP server, JSON CLI, or portable skill as a substitute for understanding the implementation. Running locally built libraries, binaries, and adapters for validation is expected.
  • Treat input as deployed/runtime bytecode. Creation bytecode is not executed or stripped automatically.
  • Route repository development by component:
    • Core analysis algorithms and the public Rust API: src/ and Cargo.toml.
    • Python bindings: src/interface_py.rs and python/.
    • JavaScript/WASM bindings and the JSON CLI: src/interface_js.rs, src/interface_wasm.rs, and javascript/.
    • Go bindings: go/.
    • MCP server, shared agent adapter, portable skill, schemas, and agent tests: javascript/src/agent_api.mjs and agent/.
  • Use agent/skills/evm-bytecode-analysis/SKILL.md only when the user asks to analyze supplied deployed runtime bytecode, or when changing or testing the CLI, MCP server, portable skill, schemas, interpretation behavior, or agent integration.
  • When helping a separate project integrate EVMole, use the existing binding for the project's language: the evmole Rust crate, evmole JavaScript package, evmole Python package, or github.com/cdump/evmole/go. Start with README.md and the language-specific README.
  • Reuse the shared agent adapter when changing the CLI, MCP server, skill, or agent tests; do not duplicate its request, response, validation, or pagination logic.
  • Validate the components changed:
    • Rust: cargo fmt --check, cargo test, and cargo clippy --all-features -- -D warnings.
    • JavaScript and the agent adapter: build with npm --prefix javascript run build, then run focused tests with npm --prefix javascript test and npm --prefix agent/mcp test.
    • Go: build the embedded WASM with make -C go wasm, then run make -C go test.
    • Python: build with Maturin and run python3 python/test_python.py; use the release workflow for the supported Python and platform matrix.
  • When reporting bytecode-analysis results, describe inferred arguments, mutability, and storage information as inferred, not verified source-level facts.
  • Preserve unrelated benchmark providers, datasets, result directories, and user changes.
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. yesterday First seen · 47 lines · 607 tokens per session scan A 8c40f0975d86

Subscribe to this mod's changes

evmole AGENTS.md is an instructions file published in the GitHub repository cdump/evmole (461 stars, last pushed 17d ago), licensed MIT. It adds 607 tokens to every session, about $0.0030 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.