halmos
CommunitySymbolically test Solidity contracts for bugs.
Software Engineering#testing#formal verification#smart contracts#solidity#foundry#symbolic execution
Author0xinit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers find bugs in Solidity smart contracts by executing tests symbolically, ensuring properties hold for all possible inputs within defined bounds, rather than just random ones.
Core Features & Use Cases
- Symbolic Execution: Analyzes contract code to cover all execution paths for given inputs.
- Bounded Model Checking: Verifies properties up to a specified number of loop iterations or call depths.
- Counter-Example Generation: Produces concrete inputs that violate a property, aiding in debugging.
- Use Case: Automatically verify that a token transfer function never changes the total supply, regardless of sender, receiver, or amount.
Quick Start
Use the halmos skill to run symbolic tests on your Foundry project.
Dependency Matrix
Required Modules
halmosz3-solver
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: halmos Download link: https://github.com/0xinit/cryptoskills/archive/main.zip#halmos Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.