/everything-copilot-cli:fuzz-testingfrom everything-copilot-cli
Sets up coverage-guided fuzz testing for code that parses or decodes untrusted input. Writes a fuzz target, seeds a corpus, runs time-boxed in CI, and converts crashes into regression tests.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Unit tests check the inputs you thought of. A coverage-guided fuzzer mutates inputs, keeps the ones that reach new code, and finds the cases you did not think of — usually crashes, hangs, and memory errors in code that reads untrusted data. This skill sets up a fuzz target, runs it within a time budget, and turns what it finds into ordinary regression tests.
| Instead of fuzz-testing | Use |
|---|---|
| Raising line or branch coverage of ordinary business logic | test-coverage |
| Diagnosing a failure you can already reproduce | diagnose or systematic-debugging |
| Checking invariants over generated structured values in unit tests | Property-based tests inside tdd-workflow |
| Probing a deployed web API with malformed requests | security-scan and pr-security-review |
| Ecosystem | Fuzzer | Run (time-boxed) |
|---|---|---|
| Go | built-in (func FuzzXxx(f *testing.F)) | go test -run '^$' -fuzz=FuzzParse -fuzztime=60s ./parser |
| Rust | cargo-fuzz (libFuzzer) | cargo fuzz run parse -- -max_total_time=60 |
| C / C++ | libFuzzer with AddressSanitizer | ./parse_fuzzer -max_total_time=60 corpus/ |
| C / C++ | AFL++ with AddressSanitizer | afl-fuzz -i corpus/ -o findings/ -V 60 -- ./parse_target @@ |
| Python | Atheris | python fuzz_parse.py -max_total_time=60 corpus/ |
| Java / JVM | Jazzer | jazzer --cp=<classpath> --target_class=ParseFuzzer -max_total_time=60 |
Use the fuzzer the ecosystem already supports before adding a new tool to the build. In the AFL++
command, @@ is replaced by the input file path; drop it for a target that reads stdin.
A target takes the fuzzer's bytes and calls one entry point. It must be deterministic, fast, and free of side effects (no network, no writes outside a temp directory, no global state that leaks between runs). Treat expected rejections — a returned parse error — as success; only crashes, panics, sanitizer reports, timeouts, and broken invariants are findings.
func FuzzParse(f *testing.F) {
f.Add([]byte(`{"id":1}`))
f.Fuzz(func(t *testing.T, data []byte) {
v, err := Parse(data)
if err != nil {
return
}
if _, err := Parse(v.Encode()); err != nil {
t.Fatalf("round trip failed: %v", err)
}
})
}
A round-trip check (decode, encode, decode again) finds logic bugs that do not crash.
go test -run FuzzParse/<id>, or pass the crash
file to the fuzzer binary)cargo fuzz tmin parse <crash-file>, or
./parse_fuzzer -minimize_crash=1 -exact_artifact_path=minimized <crash-file> for libFuzzer);
Go's fuzzer minimizes before saving| Rationalization | Reality |
|---|---|
| "We validate input already" | The validator is code too; fuzz it with the parser behind it |
| "It ran for a minute and found nothing" | A short run is a smoke check; coverage growth over a longer schedule is the evidence |
| "The crash input is garbage no user would send" | Attackers send exactly that; a crash on any input is a bug |
| "The target can call the whole service" | Wide targets are slow and flaky; fuzz one entry point per target |
If coverage stops growing after a fix, check whether the valid seed inputs are now rejected too. If they are, the fix or the target is too broad: narrow it until both the crash regression test and the valid seeds pass. Do not restore the crashing code or commit a failing test to get coverage back.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job