/data-simulation:generate-synthetic-datafrom data-simulation
Generate 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.
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.
Run policy-driven staged generation with mostlyai-engine, not the full connector SDK.
Read request-modes.md when the user supplies anything other than an approved policy and source table. Choose exactly one mode: source rows, existing synthetic reference, or schema with aggregate statistics. Preserve the input kind and its provenance in the policy and reports.
For source rows, use a policy created or reviewed with $plan-synthetic-data. For an existing synthetic reference,
do not infer that it is private or releasable when original-source evidence is missing. For aggregate-only input,
materialize proxy rows with the bundled script, label them aggregate-proxy, and validate the final output against the
declared constraints as well as the generation evidence.
Read engine.md before changing engine versions, DP behavior, or staging semantics.
Read public-data-replication.md when the target resembles official business,
labor, registry, geography, contracting, healthcare, transportation, or court data. Declare formatted codes, joint
code/label relationships, skewed marginals, and row arithmetic explicitly; marginal fidelity alone is insufficient.
For realistic names, addresses, business names, or short text, use aggregate weighted components and token/length
distributions from that reference. Keep names and addresses as identifier surrogates so source strings never enter
training, and require the final component-fidelity and template-shape gates.
Resolve scripts/generate.py relative to this SKILL.md and invoke it by absolute path. The adjacent script lockfile pins the standalone environment.
uv run C:\absolute\path\to\generate-synthetic-data\scripts\generate.py policy.json `
--output out/data.synthetic.parquet `
--report out/data.synthetic.report.json `
--workspace out/data.synthetic-workspace
Useful overrides:
uv run C:\absolute\path\to\generate-synthetic-data\scripts\generate.py policy.json `
--input data.parquet --output data.synthetic.parquet --rows 10000 --overwrite
The command must produce both the synthetic table and a JSON generation report. The report binds SHA-256 evidence for the generation policy, source, and output. For private columns, fail the run unless the engine records a DP checkpoint epsilon and delta.
The policy fingerprint covers the complete policy, including dataset provenance and seed—not only its privacy and
quality sections. If a non-dry generation fails and the configured report path is safe and unused, the script writes
a hash-bound generation-failed report before propagating the error.
Failure evidence digests the exception message instead of copying potentially sensitive third-party text into the
durable report.
When the policy input kind is aggregate-proxy, also run the bundled scripts/evaluate_spec.py against the final table.
When it is synthetic-reference, label original-source privacy and release fitness unresolved unless the original policy
and bound evidence are available.
private to non-DP generation.identifier or drop columns.public during generation.$evaluate-synthetic-data before presenting output as releasable.Use --dry-run to validate paths, planned stages, isolated workspace root, roles, and the complete DP configuration without training.
agents/openai.yaml (opens in a new tab)references/engine.md (opens in a new tab)references/public-data-replication.md (opens in a new tab)references/request-modes.md (opens in a new tab)scripts/evaluate_spec.py (opens in a new tab)scripts/evaluate_spec.py.lock (opens in a new tab)scripts/generate.py (opens in a new tab)scripts/generate.py.lock (opens in a new tab)scripts/materialize_spec.py (opens in a new tab)scripts/materialize_spec.py.lock (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin data-simulation6 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./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./plan-synthetic-dataInspect CSV, JSON, JSONL, Parquet, or Avro tabular data and create a conservative column-level synthetic-data policy. Use when Codex needs to classify columns as public, protected, private, identifier, or drop; translate user-defined quality, privacy, and release requirements into global or per-column gates; choose differential-privacy settings; or prepare a policy for the generate-synthetic-data skill.Other plugins' skills for the same job