/data-simulation:simulation-data-labfrom data-simulation
Builds and executes mathematical models, never the systems being modeled, to generate explorable simulated data, expected behavior, risk estimates, and explicitly conditional uncertainty. Use for stochastic, deterministic, discrete-event, agent-based, dynamical-system, sensitivity, or counterfactual simulations; not for live benchmarks, target-program execution, real agent/model calls, or empirical causal proof.
Ships in data-simulation. 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; scripts run unread.
Produce an executable experiment and an explorable data bundle, not only a model or chart. Treat every conclusion as conditional on the model, assumptions, parameter range, and diagnostics. A simulation alone cannot prove or refute a claim about the real world.
scenarios, epistemic or sensitivity settings
into designPoints, and stochastic repetitions into replications. Do not
count events, time steps, or agents within one run as independent replicates.
Set uncertaintyMode=deterministic only for a one-run-per-cell model with no
stochastic Monte Carlo error; otherwise use stochastic.
Put every material policy, calibration, and assumption input in a scenario or
design point with its unit and source. Do not hide an explorable input as a
model-code literal. For a time-dependent model, set experiment.timeUnit;
any emitted observation or event repeats it in time_unit.pilot, exploratory, confirmatory, or robustness before seeing
the corresponding results. Keep pilot or calibration outputs distinct from
confirmatory evidence and record deviations from a frozen plan.assets/templates/experiment.json and
assets/templates/model.py; remove template-specific claims and assumptions.
Replace the template's extensions.simulation-data-lab.variableReview with
the reviewed candidates, mechanisms, evidence, and next checks for this task.
Preserve every required hypothesis field from the experiment template,
including both decisionRule and falsificationRule, even when
analysis.kind=not-identifiable.python <skill-directory>/scripts/run_simulation_experiment.py plan --spec <bundle>/experiment.json --output-dir <bundle>/design --require-variable-review
Inspect the run count before execution. Use a bounded simulator-only pilot when
local runtime, memory, or numerical stability is uncertain.
Inspect and share design/model-review.md and design/variable-inventory.csv,
which the planner generates from the spec. Resolve inconsistent parameter links
or units before running. High-impact or unknown-impact omissions require an
explicitly narrower conclusion or further mathematical sensitivity work, not a
silent assumption. Missing human input need not block a labeled exploratory
calculation; ask only when it would materially change the problem or decision.
Treat bundled scripts as executable interfaces during normal work. Use the commands documented here and in the references; do not read their source merely to discover arguments or output fields.
simulate(run) and concrete MODEL_METADATA as
described in
references/data-and-provenance-contract.md.paired-across-scenarios only when common random numbers have a valid
semantic coupling and the contrast will be analyzed as paired. Use named
substreams inside complex models so scenario-dependent code paths do not
silently destroy the coupling. Use the stable substream recipe in the data
contract; never use Python's process-randomized hash() for a seed.nextCheck entries to test activation, fixed assumptions,
interaction boundaries, and plausible omitted mechanisms. Distinguish
conditional one-factor accounting from policy effects propagated downstream.Run a compatible Python adapter with:
python <skill-directory>/scripts/run_simulation_experiment.py run --root <bundle> --model model.py
The runner records every planned run, preserves failures, rejects non-finite or schema-drifting output, calculates descriptive summaries and Monte Carlo error, and emits starter DuckDB queries. Local numerical parallelism must preserve run IDs, semantic seed keys, table grains, and failure records. It must not launch the emulated system or distribute real target work.
The bundled runner is for bounded local work. Individual ceilings are 100,000 runs, 100 declared outcomes, and 10,000 observation, event, or diagnostic rows of each kind per run, but one stricter joint ceiling permits at most 1,000,000 materialized rows across the plan, runs, outcomes, summaries, observations, events, diagnostics, and variable inventory. Use an engine-native streaming or partitioned Parquet adapter for larger jobs; do not raise the limit and materialize an unsafe workload in memory.
comparison - baseline, classify every
design point as primary or challenge, and use the declared paired, independent,
or deterministic mode. Keep design points separate.analysis/model-review-followup.md with evidence paths for checks actually
performed, decision reversals, new blind spots, unresolved items, and remaining
questions. Separate measured sensitivity from a priori impact judgments. A new
variable, changed mechanism, or selected strategy needs a fresh declared study;
do not retrofit the original plan or count exploratory discovery as confirmation.supports-under-model, challenges-under-model,
inconclusive-under-model, or not-identifiable-from-design. Never say that
the simulation proved reality. State when external calibration or validation
remains missing, without attempting real-system execution to resolve it.python <skill-directory>/scripts/analyze_simulation_hypotheses.py --root <bundle>
The current mean-difference-v3 analyzer supports model-conditional mean
differences, exact deterministic contrasts, and non-identifiability. Choose the
interval method before seeing outcomes. For known finite support, read
references/bounded-mean-inference.md;
the template uses its conservative Hoeffding-Bonferroni method. Never infer
support bounds from sample extrema. Normal intervals remain available when
their approximation is justified; fewer than 30 replications or zero observed
contrast variance prevent an automated normal decision, but passing those
guards does not establish coverage. Keep authoritative numbers at full
round-trip precision and round only presentation. Read the result contract for
unsupported estimands and immutable legacy replay.
Run the bundle integrity audit after analysis. It separately recomputes every supported estimate, MCSE, interval, per-design-point decision, aggregate status, and challenge result from the generated tables:
python <skill-directory>/scripts/validate_simulation_bundle.py --root <bundle> --report <bundle>/validation-report.json
Do not deliver an incomplete bundle as successful. --allow-incomplete writes
an explicitly non-release diagnostic report with ok=false and still exits 2;
use it only while repairing the model. Read
references/data-and-provenance-contract.md
before changing the core tables or moving high-volume data to Parquet.
releaseEligible certifies the computational bundle contract only. The separate
modelReview status checks declarations, not exhaustiveness, actual code
coverage, empirical validity, or the truth of the authored follow-up. Do not
use a passing integrity audit to erase a decision-critical evidence gap.
Hand off the question, model boundary, engine choice, run/failed counts, main
effect with uncertainty, strongest counterexample, unresolved assumptions,
validation result, and exact artifact paths. Distinguish a preregistered
challenge role from the result closest to the decision threshold; calculate
and label either claim correctly. Point the user to
analysis/explore.sql, analysis/summary.csv, and the data dictionary so
exploration can continue without reverse-engineering the model.
Also deliver the variable inventory, readable preflight review, and post-run
follow-up: teach which additional factors could matter, why they were treated
that way, and which existing evidence or mathematical comparison would reduce
the most consequential uncertainty. State explicitly that unrecognized factors
can remain even after this review.
Read only the resource matching the task.
agents/openai.yaml (opens in a new tab)assets/templates/experiment.json (opens in a new tab)assets/templates/model.py (opens in a new tab)references/bounded-mean-inference.md (opens in a new tab)references/context-quality-cost.md (opens in a new tab)references/data-and-provenance-contract.md (opens in a new tab)references/diagnostics-and-inference.md (opens in a new tab)references/engine-selection.md (opens in a new tab)references/experiment-design.md (opens in a new tab)references/model-variable-review.md (opens in a new tab)references/retry-economics.md (opens in a new tab)references/uncertainty-and-behavior.md (opens in a new tab)scripts/analyze_simulation_hypotheses.py (opens in a new tab)scripts/model_variable_review.py (opens in a new tab)scripts/run_simulation_experiment.py (opens in a new tab)scripts/test_analyze_simulation_hypotheses.py (opens in a new tab)scripts/test_bounded_inference.py (opens in a new tab)scripts/test_model_variable_review.py (opens in a new tab)scripts/test_run_simulation_experiment.py (opens in a new tab)scripts/test_simulation_only_boundary.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/evaluate-synthetic-dataCompare original and synthetic CSV, JSON, JSONL, Parquet, or Avro tables using policy-aware tabular and TABULAR_CHARACTER text quality/privacy gates. Use when Codex needs to audit distribution or lexical fidelity, correlation drift, propensity AUC, exact replay, rare-value replay by column privacy level, identifier overlap, DCR, NNDR, schema completeness, generation-report binding, or differential-privacy checkpoint evidence./generate-synthetic-dataGenerate and validate synthetic CSV, JSON, JSONL, Parquet, or Avro tables with Apache-2.0 mostlyai-engine from source rows, an existing synthetic reference, or a schema plus aggregate statistics. Use when Codex needs policy-driven public/protected/private roles, DP evidence, identifiers replaced, aggregate constraints materialized, or reproducible generation and validation reports.Other plugins' skills for the same job
/harbor-author-evaluation-datasetsAuthor and audit leakage-resistant native Harbor task datasets before study registration. Use when Codex needs to define semantic task families, partition discovery, development, sealed validation, and holdout cohorts, generate deterministic seeded response-surface variants, diversify artifact contracts, test adapters and verifiers against shortcuts, or hand completed dataset roots to harbor-organize-evaluations. Do not use to run or score Harbor jobs or to manage study releases.npx claudepluginhub gvillarroel/plugins --plugin data-simulation