/bugfinding:bounded-model-checkingfrom bugfinding
Guides 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.
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.
Choose a supported real component and a falsifiable finite guarantee. Bounded checking converts program constraints and a negated property into a solver query ("we convert C ∧ ¬P into CNF"), and its unwinding assertions "assert that the unwinding bound is actually large enough" (CBMC paper, §2.1, p.170). Model assumptions and omitted behavior further delimit the conclusion; record them as described below. This skill owns domain/completeness interpretation; use symbolic-concolic-execution for path-generation and hybrid-search mechanics.
Call the real target from its existing harness or supported entrypoint; preserve initialization and application invariants. Kani says "By far, the best strategy is to follow your testing" and that random-operation property tests "won't be practical to directly port to model checking". Its pure-component route does not establish surrounding I/O behavior: "Kani doesn't model I/O" (real-code guide, Where is proof valuable / Where is it easier to start). Inspect bytecode, library summaries, missing bodies and enabled configuration before treating an abstracted call as the actual producer; JBMC provides "a simple stub implementation for any function we don't have a bytecode implementation for" (frontend, generate_function_body).
Record input/state ranges, operation/container sizes, loop/recursion bounds, ABI and environment assumptions separately. CBMC accepts source or a linked GOTO binary and exposes target platform configuration; --arch "defaults to the host architecture", which is not evidence of the intended target semantics (manual, Description and Platform options). Read bounds and models.
Check that legal setup reaches the asserted property. An unsatisfiable assumption means "the model checking step will pass vacuously"; CBMC offers a separate --cover assume observation to locate the assumption that empties the search (assumptions, Modeling with Assumptions and Coverage). For Kani, "Check the coverage report using --coverage -Z source-coverage"; incomplete coverage is "usually because you've assumed too much" (real-code guide, Your first proof). Use harness-sensitivity for representative healthy/wrong controls.
Retain completeness checks. A failed unwinding assertion is evidence about the chosen bound, not the separate product assertion; partial-loop paths can be spurious (unwinding guide). Kani states "Verification results are sound only if all unwinding assertions pass" (soundness, Bounded verification). In the pinned CBMC source, unwinding assertions are part of the checks "enabled by default in v6.0+" and are switched off by --no-unwinding-assertions or --no-standard-checks (cbmc_parse_options.cpp, set_default_analysis_flags). Increase the missing dimension justified by evidence; do not disable a check or assume the desired result to make a run pass.
Use the selected tool/version's actual prerequisites, supported target and help. Read conditional CBMC/JBMC/Kani operation for source-native commands, setup and result modes. Its numbers are illustrative allocations, not defaults. Keep whole-job resource limits separate from semantic bounds; a truncated search does not become complete because its process ended.
Inspect individual results and coverage. Kani distinguishes failed, unreachable and undetermined checks; a SUCCESS property "may hold vacuously", and an unreachable or unsatisfiable cover property "may indicate an incomplete proof" (verification results, Check results and Cover property results). Neither a solver timeout nor an unsupported model operation is an exercised healthy property.
Retain exact producer/harness/model/checker/build identity, assumptions, dimensions/bounds, raw results, trace and concrete inputs/state. Relate the trace to the real assertion before proposing cause; the original CBMC interface steps through a trace "also backward, giving the user the ability to determine more easily the causes of the error" (CBMC paper, §3, p.171). Read counterexamples and replay before interpreting native confirmation: Kani playback "does not generate unit tests for failing non-panic checks (e.g., UB checks)" and requires "the same Kani version to generate the test and to playback" (playback, Limitations).
Return the exact checked guarantee/domain, completed or unresolved bounds, per-property result, model omissions, actual native replay and evidence paths. Preserve model-only findings explicitly. Use failure-reduction and evidence-based-triage for their separate concerns; read common mistakes for misleading green/red outcomes. Invocation adds no installation, target-change, external-publication or spending authority.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/computational-bugfinding-skills-plugin --plugin bugfinding26 skills in this plugin
/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-testingSearches constrained build, runtime, platform and capability combinations for contract violations, including Node.js release lines, ESM versus CommonJS loading, browser engines and React development versus production builds. Use when defaults pass but interacting configurations may change behavior, or when extending differential testing across supported modes./Other plugins' skills for the same job