Install
mkdir -p .claude/skills/run-fuzz && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12556" && unzip -o skill.zip -d .claude/skills/run-fuzz && rm skill.zipInstalls to .claude/skills/run-fuzz
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Run cargo-fuzz targets with proper nightly toolchain and optionsKey capabilities
- →Run specific fuzz targets with a custom iteration count.
- →Run all available fuzz targets briefly.
- →List available fuzz targets.
- →Reproduce crashes using artifact files.
- →Navigate to the correct crate directory for fuzzing.
- →Use the nightly Rust toolchain for fuzzing.
How it works
The skill executes `cargo +nightly fuzz run` commands within the specified crate directories, either for a single target, all targets, or to reproduce a crash, based on user input.
Inputs & outputs
When to use run-fuzz
- →Testing contract edge cases
- →Running fuzzer on data structures
- →Validating input parsing
About this skill
Run Fuzz Target
Run fuzz tests against gossip-rs data structures and contract types.
Usage
/run-fuzz <target>- Run specific fuzz target (default 10,000 runs)/run-fuzz <target> <runs>- Run with custom iteration count/run-fuzz all- Run all targets briefly (1,000 runs each)/run-fuzz list- List available targets
Available Targets
Fuzz targets are distributed across crates:
gossip-contracts (crates/gossip-contracts/fuzz/)
| Target | Tests |
|---|---|
fuzz_derivation_chain | Derivation chain construction and validation |
fuzz_item_identity_key | ItemIdentityKey creation and hashing |
gossip-stdx (crates/gossip-stdx/fuzz/)
| Target | Tests |
|---|---|
fuzz_byte_slab | ByteSlab pool allocation, slot lifecycle |
fuzz_inline_vec | InlineVec push/pop/access with arbitrary inputs |
fuzz_ring_buffer | RingBuffer enqueue/dequeue under arbitrary sequences |
Workflow
Run Single Target
cd crates/<crate> && cargo +nightly fuzz run <target> -- -runs=10000
Examples:
cd crates/gossip-stdx && cargo +nightly fuzz run fuzz_byte_slab -- -runs=10000
cd crates/gossip-contracts && cargo +nightly fuzz run fuzz_derivation_chain -- -runs=10000
Run All Targets
# gossip-contracts targets
cd crates/gossip-contracts
for target in fuzz_derivation_chain fuzz_item_identity_key; do
echo "Running $target..."
cargo +nightly fuzz run $target -- -runs=1000
done
# gossip-stdx targets
cd ../gossip-stdx
for target in fuzz_byte_slab fuzz_inline_vec fuzz_ring_buffer; do
echo "Running $target..."
cargo +nightly fuzz run $target -- -runs=1000
done
Check for Crashes
Crashes are saved to fuzz/artifacts/<target>/ within each crate. To reproduce:
cd crates/<crate>
cargo +nightly fuzz run <target> fuzz/artifacts/<target>/<crash-file>
Prerequisites
- Nightly Rust toolchain:
rustup install nightly - cargo-fuzz:
cargo install cargo-fuzz
When not to use it
- →When the user does not have the nightly Rust toolchain installed.
- →When the user does not have `cargo-fuzz` installed.
- →When the user wants to run fuzz tests without specifying a target.
Prerequisites
Limitations
- →It requires the nightly Rust toolchain.
- →It requires `cargo-fuzz`.
- →It only runs fuzz tests against gossip-rs data structures and contract types.
How it compares
This skill provides a simplified interface for running `cargo-fuzz` tests, handling toolchain selection and directory navigation, which is more direct than manually constructing and executing the commands.
Compared to similar skills
run-fuzz side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| run-fuzz (this skill) | 0 | 5mo | Review | Intermediate |
| cargo-fuzz | 2 | 2mo | Review | Intermediate |
| audit-prep-assistant | 1 | 2mo | Review | Intermediate |
| libafl | 1 | 2mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
cargo-fuzz
trailofbits
cargo-fuzz is the de facto fuzzing tool for Rust projects using Cargo. Use for fuzzing Rust code with libFuzzer backend.
audit-prep-assistant
trailofbits
Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).
libafl
trailofbits
LibAFL is a modular fuzzing library for building custom fuzzers. Use for advanced fuzzing needs, custom mutators, or non-standard fuzzing targets.
security-audit
hiroshiyui
Perform a project-wide security and safety audit of the 5thPlanet workspace.
implementing-cards
bcollazo
Fill out the implementation of effects of different attacks, abilities, and trainer cards in this Pokemon TCG Pocket engine codebase.
blockchain-developer
sickn33
Build production-ready Web3 applications, smart contracts, and decentralized systems. Implements DeFi protocols, NFT platforms, DAOs, and enterprise blockchain integrations. Use PROACTIVELY for smart contracts, Web3 apps, DeFi protocols, or blockchain infrastructure.