Fizz
pashov/skills
Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects.
A skill your agent uses when writing fuzz tests for Solidity contracts.
$ npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ccashwell/evm-cortex fuzzing-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fuzzing-patterns .claude/skills/fuzzing-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fuzzing-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patterns into .claude/skills/fuzzing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fuzzing-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ccashwell/evm-cortex fuzzing-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/fuzzing-patterns .agents/skills/fuzzing-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fuzzing-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patterns into .agents/skills/fuzzing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fuzzing-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ccashwell/evm-cortex fuzzing-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/fuzzing-patterns .cursor/skills/fuzzing-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fuzzing-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patterns into .cursor/skills/fuzzing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fuzzing-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ccashwell/evm-cortex.git --path skills/fuzzing-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ccashwell/evm-cortex fuzzing-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/fuzzing-patterns .gemini/skills/fuzzing-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fuzzing-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patterns into .gemini/skills/fuzzing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fuzzing-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ccashwell/evm-cortex fuzzing-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/fuzzing-patterns .github/skills/fuzzing-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fuzzing-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patterns into .github/skills/fuzzing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fuzzing-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ccashwell/evm-cortex fuzzing-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/fuzzing-patterns .opencode/skills/fuzzing-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fuzzing-patterns" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/fuzzing-patterns into .opencode/skills/fuzzing-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fuzzing-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fuzzing-patternsA skill your agent uses when writing fuzz tests for Solidity contracts.
Fuzzing Patterns is an agent skill from ccashwell/evm-cortex. Use when writing fuzz tests for Solidity contracts. Covers property-based testing, input constraining with vm.assume/vm.bound, stateful vs stateless fuzzing, configuring runs, seed corpus, and interpreting counterexamples.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Fuzzing and Smart contracts. It works with Solidity. The repository describes itself as: Ethereum protocol engineering squad for AI coding assistants. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f8f3301. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are solidity and toml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fuzzing Patterns loads about 1.6k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 201 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ccashwell/evm-cortex at commit f8f3301, republished under its MIT licence (© ccashwell). 201 words, ~1,609 tokens.
.claude/skills/fuzzing-patterns/SKILL.md (or your agent's skills folder).| Type | How It Works | Use Case |
|---|---|---|
| Stateless | Random inputs per test, fresh state each run | Individual function properties |
| Stateful | Random sequences of calls, accumulated state | System-level invariants |
Stateless = function testFuzz_*(uint256 x) — Foundry randomizes x each run.
Stateful = invariant tests with handlers (see invariant-testing skill).
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {Test} from "forge-std/Test.sol";
import {Vault} from "../src/Vault.sol";
contract VaultFuzzTest is Test {
Vault vault;
function setUp() public {
vault = new Vault(address(token));
deal(address(token), address(this), type(uint128).max);
token.approve(address(vault), type(uint256).max);
}
// Property: deposit then redeem never yields more than deposited
function testFuzz_depositRedeemNoProfit(uint256 assets) public {
assets = bound(assets, 1, type(uint128).max);
uint256 shares = vault.deposit(assets, address(this));
uint256 received = vault.redeem(shares, address(this), address(this));
assertLe(received, assets, "profit from round-trip");
}
// Property: transfer preserves total supply
function testFuzz_transferPreservesSupply(
address to,
uint256 mintAmount,
uint256 transferAmount
) public {
vm.assume(to != address(0) && to != address(this));
mintAmount = bound(mintAmount, 1, type(uint128).max);
transferAmount = bound(transferAmount, 0, mintAmount);
vault.deposit(mintAmount, address(this));
uint256 supplyBefore = vault.totalSupply();
vault.transfer(to, transferAmount);
uint256 supplyAfter = vault.totalSupply();
assertEq(supplyBefore, supplyAfter, "supply changed on transfer");
}
}bound() vs vm.assume()// PREFER bound() — maps input to valid range without discarding runs
function testFuzz_bounded(uint256 x) public {
x = bound(x, 1e18, 1_000_000e18);
// x is always in [1e18, 1_000_000e18]
}
// AVOID vm.assume() for wide ranges — discards too many inputs
function testFuzz_assumed(uint256 x) public {
vm.assume(x > 0 && x < 1000); // 99.99% of inputs discarded!
// Only use for conditions that are hard to express with bound()
}vm.assume()// Valid: exclude specific addresses
function testFuzz_transfer(address to, uint256 amount) public {
vm.assume(to != address(0));
vm.assume(to != address(vault));
vm.assume(to.code.length == 0); // no contracts
amount = bound(amount, 1, balanceOf(address(this)));
// ...
}In foundry.toml:
[fuzz]
runs = 1000 # number of random inputs per test (default: 256)
max_test_rejects = 65536 # max vm.assume rejections before fail
seed = "0x1234" # fixed seed for reproducibility
dictionary_weight = 40 # % of inputs from extracted constants
[invariant]
runs = 256
depth = 64
fail_on_revert = false// Commutativity: f(a, b) == f(b, a)
function testFuzz_addCommutative(uint256 a, uint256 b) public {
assertEq(target.add(a, b), target.add(b, a));
}
// Associativity: f(f(a, b), c) == f(a, f(b, c))
// Identity: f(a, 0) == a
// Idempotency: f(f(a)) == f(a)// encode then decode returns original
function testFuzz_encodeDecodeRoundtrip(uint256 value) public {
bytes memory encoded = target.encode(value);
uint256 decoded = target.decode(encoded);
assertEq(decoded, value);
}
// deposit then withdraw returns (approximately) original
function testFuzz_depositWithdrawRoundtrip(uint256 amount) public {
amount = bound(amount, 1e18, 1_000_000e18);
uint256 shares = vault.deposit(amount, address(this));
uint256 returned = vault.redeem(shares, address(this), address(this));
assertApproxEqAbs(returned, amount, 1); // within 1 wei
}// More input -> more output (or equal)
function testFuzz_depositMonotonic(uint256 a, uint256 b) public {
a = bound(a, 1e18, 1_000_000e18);
b = bound(b, a, 1_000_000e18); // b >= a
uint256 sharesA = vault.previewDeposit(a);
uint256 sharesB = vault.previewDeposit(b);
assertGe(sharesB, sharesA, "more deposit should give more shares");
}// No overflow at max values
function testFuzz_noOverflow(uint256 a, uint256 b) public {
a = bound(a, 0, type(uint128).max);
b = bound(b, 0, type(uint128).max);
// Should not revert with overflow
target.safeMultiply(a, b);
}When a fuzz test fails, Foundry shows the failing input:
[FAIL. Reason: profit from round-trip]
Counterexample: calldata=0x..., args=[115792089237316195423570985008687907853269984665640564039457584007913129639935]Steps:
console2.log() to trace executionbound() constraints// Regression test from fuzzer counterexample
function test_regression_overflowOnMaxDeposit() public {
uint256 amount = type(uint256).max;
vm.expectRevert();
vault.deposit(amount, address(this));
}bound() over vm.assume() to minimize discarded runstestFuzz_)© ccashwell, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/fuzzing-patterns of ccashwell/evm-cortex.
Open the folder on GitHubat commit f8f3301
Fuzzing Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fuzzing Patterns this skillccashwell/evm-cortex | 131 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Fizzpashov/skills | 1.2k | 2 repos | ~11k | Automated safety check: Pass | MIT | |
| Stateful Invariant Testingaviggiano/security | 144 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Property Based Testingtrailofbits/skills | 7.4k | — | ~1.1k | Automated safety check: Pass | CC-BY-SA-4.0 | |
| Fizz Convertpashov/skills | 1.2k | 2 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Fuzz Generatoralt-research2/SolidityGuard | 104 | — | ~763 | Automated safety check: Notes | Custom licence |
pashov/skills
Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects.
aviggiano/security
Build metric-driven Chimera/create-chimera-app stateful invariant testing campaigns for Solidity projects.
trailofbits/skills
Writes, reviews, and debugs property-based tests — Hypothesis, fast-check, proptest, jqwik, rapid, and Echidna or Medusa for Solidity invariants.
pashov/skills
Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing fuzz harness, then flip their checkboxes.
alt-research2/SolidityGuard
Generates Foundry invariant tests and Echidna property-based fuzz tests for Solidity contracts.
adshao/flounder
Operates Flounder, an autonomous white-hat security auditor.
ccashwell/evm-cortex
A skill your agent uses when preparing for a security audit, performing reconnaissance on a new codebase, or creating a protocol overview.
ccashwell/evm-cortex
A skill your agent uses when integrating with Aave V3 for lending, borrowing, flash loans, or building on top of Aave markets.
ccashwell/evm-cortex
Access control design patterns for Solidity protocols. An agent skill from ccashwell/evm-cortex.
ccashwell/evm-cortex
A skill your agent uses when running a local Ethereum node with Anvil.
ccashwell/evm-cortex
A skill your agent uses when performing systematic breadth-first review of all contracts during a security audit.
ccashwell/evm-cortex
A skill your agent uses when performing deep analysis of specific findings or high-risk areas during a security audit.
Works with
Categories
A skill your agent uses when writing fuzz tests for Solidity contracts. Fuzzing Patterns is an agent skill from ccashwell/evm-cortex. Use when writing fuzz tests for Solidity contracts.
Fuzzing Patterns fits situations like: writing fuzz tests for Solidity contracts; tasks that involve Fuzzing; tasks that involve Smart contracts.
Run `npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a claude-code`. Or copy the skill folder (skills/fuzzing-patterns in ccashwell/evm-cortex) into .claude/skills/fuzzing-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a codex`. Or copy the skill folder (skills/fuzzing-patterns in ccashwell/evm-cortex) into .agents/skills/fuzzing-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccashwell/evm-cortex --skill fuzzing-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fuzzing-patterns, .gemini/skills/fuzzing-patterns, .github/skills/fuzzing-patterns and .opencode/skills/fuzzing-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Fuzzing Patterns is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fuzzing Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Fuzzing Patterns: Fizz (pashov/skills, 1.2k stars), Stateful Invariant Testing (aviggiano/security, 144 stars), Property Based Testing (trailofbits/skills, 7.4k stars) and Fizz Convert (pashov/skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ccashwell (a GitHub user) maintains it in ccashwell/evm-cortex, which has 131 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on September 30, 2026.
Source: ccashwell/evm-cortex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.