Agent skill
run-fuzz
Run cargo-fuzz targets with proper nightly toolchain and options
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/run-fuzz
SKILL.md
Run Fuzz Target
Run fuzz tests against the scanner's parsing and decoding logic.
Usage
run-fuzz <target>- Run specific fuzz target (default 10,000 runs)run-fuzz <target> <runs>- Run with custom iteration countrun-fuzz all- Run all targets briefly (1,000 runs each)run-fuzz list- List available targets
Available Targets
| Target | Tests |
|---|---|
fuzz_anchor_soundness |
Anchor extraction correctness |
fuzz_b64_gate_build_and_scan |
Base64 gate construction and scanning |
fuzz_b64_gate_determinism |
Base64 gate deterministic behavior |
fuzz_b64_gate_differential |
Base64 gate differential testing |
fuzz_tiger_chunking |
Tiger harness chunking logic |
Workflow
Run Single Target
cd fuzz && cargo +nightly fuzz run <target> -- -runs=10000
Run All Targets
cd fuzz
for target in fuzz_anchor_soundness fuzz_b64_gate_build_and_scan fuzz_b64_gate_determinism fuzz_b64_gate_differential fuzz_tiger_chunking; do
echo "Running $target..."
cargo +nightly fuzz run $target -- -runs=1000
done
Check for Crashes
Crashes are saved to fuzz/artifacts/<target>/. To reproduce:
cargo +nightly fuzz run <target> fuzz/artifacts/<target>/<crash-file>
Prerequisites
- Nightly Rust toolchain:
rustup install nightly - cargo-fuzz:
cargo install cargo-fuzz
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?