AI SummaryHalmos is a symbolic execution tool for EVM smart contracts that integrates with Copilot to help developers write and verify property-based tests in Solidity. It enables security-focused developers to automatically find bugs and verify contract correctness using SMT solvers.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "halmos — Copilot Instructions" prompt rules to my project. Repository: https://github.com/a16z/halmos Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
A symbolic testing tool for EVM smart contracts
Project Context
Halmos is a symbolic execution tool for Ethereum Virtual Machine (EVM) bytecode, with a focus on simplicity, performance and usability. It leverages foundry-style tests written in Solidity to let developers specify how to set up their test environment and what properties to check. It interfaces with Satisfyability Modulo Theories (SMT) solvers like z3 to find bugs or rule them out.
run unit tests only (2-3s)
uv run pytest -vv -k "not long and not ffi and not regression"
run regression/e2e tests (2-3m)
uv run pytest -vv -k "not long and not ffi" `
Use Python ≥ 3.11
Use modern language features when they improve clarity or safety, but ensure every file runs on 3.11, the oldest supported target.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts