/bugfinding:deterministic-simulationfrom bugfinding
Guides reproducible fault search using existing production-code simulators and supported translated runtimes. Use when exploring interacting machine, network, storage and timing failures, choosing a fitting simulation seam, or reproducing a simulated counterexample.
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 execution model, then search state, workload and environmental choices with a real correctness oracle. FoundationDB runs "the real database software" with synthetic workloads and fault injection "in a deterministic discrete-event simulation", while its paper explicitly separates local, workload and recoverability checks (FoundationDB, §4, pp. 8-9).
Read the real producer, enabled configuration and promised behavior. Map relevant scheduling, time, randomness, networking, disk, process lifecycle and dependencies to controlled, native or unsupported paths. A top-level simulator wrapper does not establish coverage of every dependency: FDB's simulation is "unable to test third-party libraries or dependencies, or even first-party code not implemented in Flow" (FoundationDB, §4 limitations). Use boundaries and oracles before selecting a route.
Use an existing fitting production-code seam; do not implement another system or retrofit a universal simulation layer. For compatible Go targets, the selected Gosim route translates application/dependency source with a restricted compiler and environment contract (Gosim source loading). For target-embedded or hosted environments, read other routes; their controls are not interchangeable.
Pair a small meaningful state/workload with the target's result, effect, recovery or progress assertion. Vary faults and topology according to semantic reach: FDB tunes fault distributions to avoid "a small state-space caused by an excessive fault rate", while TigerBeetle's safety mode missed a persistent liveness failure because there "the simulator is guaranteed to restart each replica eventually" (FoundationDB, §4 p. 9, TigerBeetle, Teaching the VOPR). Use fault design and replay for a concrete experiment.
Record admitted setup, controlled operations, intended state/effect reached, assertion evaluations, recovery observations, unsupported outcomes and total resource cost. Simulation results are not performance evidence: FDB's simulation "is not able to reliably detect performance issues"; retain separate native performance/OS/dependency evidence (FoundationDB, §4 limitations, p. 9). Route general allocation to bugfinding-campaign, observation design to correctness-oracles, and representative controls to harness-sensitivity.
Preserve actual initial state or prefix, workload, source/build/compiler/configuration, environmental choices, fault parameters, raw trace and witness. Seed identity is model-specific: for VOPR "the seed and Git commit hash can be used to replay", and Gosim exposes BuildDigest and ReplayRevision (VOPR, Gosim RunInfo).
Replay with compatible identity before reducing state/workload/faults together. A changed crash model or graceful restart changes the experiment; Gosim implements graceful and crash stops as distinct requests, and "Stop flushes modeled writes; Crash retains a crash outcome" (machine controls, feature inventory). Use failure-reduction and evidence-based-triage for their independent mechanics. Preserve partial or unreproduced evidence; simulation agreement covers its model, not omitted real-world behavior (FoundationDB, §4 limitations).
Return the tested guarantee, supported model and omissions, actual search/replay evidence, resource use, counterexample or bounded negative result, and next decision. Read common mistakes when a tool invocation or replay claim exceeds its evidence. Invocation does not authorize installations, target rewrites, service submission, spending or publication.
references/boundaries-and-oracles.md (opens in a new tab)references/common-mistakes.md (opens in a new tab)references/fault-design-and-replay.md (opens in a new tab)references/gosim-route.md (opens in a new tab)references/other-routes.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
Other plugins' skills for the same job
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-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./corpus-evolutionEvolves fuzzing corpora through purpose-specific selection, provenance and receiver-validated exchange. Use when importing seeds, minimizing an active corpus, converting generated representations, or retaining discoveries across harness and configuration changes, including Jazzer.js corpora and V8 coverage selection for Node.js./correctness-oraclesGuides executable correctness-oracle design from actual guarantees and observations. Use when a bugfinding harness checks only crashes, overlooks state effects, relies on an uncertain reference, or conflates skipped comparisons with successful checks, including JavaScript/TypeScript, Node and React harnesses that rely on process exit, unhandled rejections, uncaughtException, test-runner status, error boundaries, onRecoverableError, StrictMode, console errors or Playwright pageerror./coverage-guided-fuzzingBuilds and operates instrumented fuzzing lanes with runtime-specific discovery, reset and replay semantics. Use when configuring AFL++, libFuzzer, Go fuzzing, cargo-fuzz, Atheris, Jazzer, Jazzer.js for Node.js/TypeScript or FuzzTest, or diagnosing low useful coverage in an existing campaign. Browser JavaScript has no coverage-guided route here.