/bugfinding:resource-complexity-testingfrom bugfinding
Searches inputs and operation histories for CPU, allocation, memory-retention or handle-growth violations, including Node.js, browser and React memory leaks, event-loop blocking and regular-expression denial of service (ReDoS). Use when an established test needs resource-sensitive discovery, a repeatable expensive input family, or lifecycle-aware confirmation and reduction.
Ships in bugfinding. 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.
Read when SKILL.md points to them.
Find costly valid structures and histories, then confirm the actual resource promise on the real producer. Treat search feedback and the confirming observation separately: PerfFuzz maximizes per-location execution counts, which are its search objective rather than a wall-time or retention guarantee: its authors note the identified bottlenecks "may not be the points in which the program spends the most time" (PerfFuzz, §§3, 6).
Read the public entrypoint, enabled build, accepted input/state, quotas and required cleanup. Name the resource, observation phase and evidence that would violate the target's actual contract. This pack's procedure is engineering synthesis; it does not invent a latency threshold or declare every expensive operation a bug. Use correctness-oracles for the governing guarantee.
Choose the missing dimension: equal-size collision structure, decoded expansion, populated state, or create/use/cancel/close history. PerfFuzz preserves improvements at separate hot spots "even if the mutation reduces the total execution path length", allowing search past scalar local maxima (PerfFuzz, §§2–3). Preserve useful intermediates; do not rank only by file size or one aggregate cost. Read search and confirmation.
Use a compatible existing search/measurement owner. Conditional commands, setup limits and output interpretation are in runtime recipes; the historical PerfFuzz implementation instruments C/C++ builds and "will not build on Windows machines", so it is not a generic modern Windows/Go backend (PerfFuzz README, Building; Running PerfFuzz on a program of your choice). Invocation preserves the user's current execution/dependency scope. For Node.js, browser or React heap growth, event-loop stalls and ReDoS, read JavaScript memory and ReDoS; it routes heap capture and analysis to memlab's own plugin skills.
Separate generated candidates, admitted operations, useful fitness improvements, measured confirmations and reproduced violations. Promote promising candidates to repeated matched observations; benchstat compares "each benchmark in the first file to the same benchmark" in later files and supplies medians, confidence intervals and significance, not a product budget (benchstat, Usage and Example). Its usage says each benchmark "should be run at least 10 times" for a statistically significant sample (benchstat, Usage); treat that as a sampling floor for benchstat, raise it from observed uncertainty and decision cost, and never read it as a product acceptance rule.
Match input/decoded size, state, lifecycle phase, build and observer. Go's ResetTimer "zeroes the elapsed benchmark time and memory allocation counters", not subject state (Go benchmark, ResetTimer). pyperf's --in-process mode "makes each run affect the next run" (pyperf Runner, Misc). Read metrics and lifecycle before interpreting growth.
Keep the original input family or operation prefix, actual contract, raw candidate/control samples, observer/configuration, reset/quiescence evidence, source/build/runtime and subject versus harness limits. These are this pack's handoff conventions. Do not call finite measurements an asymptotic proof or replace the selected contract with a shorter timeout.
Reduce structure and required history while retaining the same metric, size regime and matched violation. A useful reduction can be a family of cases rather than one file; PerfFuzz defines pathological inputs as those that, "given a fixed input length, maximize" a component's execution count, and its evaluation varies that maximum length as a separate axis, which motivates keeping size and structure separate (PerfFuzz, §§1, 5). Use failure-reduction for generic mechanics and evidence-based-triage for attribution.
Return the tested promise, family and controls, observed range/variability, lifecycle and metric scope, resource use, reproduced evidence and remaining uncertainty. Use common mistakes to check that allocation churn, peaks, live resources and proxy counts have not been collapsed into one finding.
references/common-mistakes.md (opens in a new tab)references/javascript-memory-and-redos.md (opens in a new tab)references/metrics-and-lifecycle.md (opens in a new tab)references/runtime-recipes.md (opens in a new tab)references/search-and-confirmation.md (opens in a new tab)references/sources.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/computational-bugfinding-skills-plugin --plugin bugfinding26 skills in this plugin
/bounded-model-checkingGuides source-linked CBMC, JBMC and Kani checks with explicit input domains, unwind bounds and executable counterexamples. Use when finite hard paths or invariants merit solver search beyond fuzzing, or when interpreting bounded verification, vacuous success or counterexample playback./bugfinding-campaignGuides compute-budgeted bugfinding campaigns by finding gaps in existing generators, execution models and correctness oracles. Use when choosing what to test next, extending an established fuzzing setup, or deciding whether more compute will produce useful evidence./configuration-differential-testingOther plugins' skills for the same job