/synthetic-data:tools-referencefrom synthetic-data
Reference card of open-source synthetic data tools, when to use each, install commands, and design patterns.
Ships in synthetic-data. 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.
None: SKILL.md is the whole skill.
A curated reference of open-source and cloud synthetic data tools. Use this skill when the user asks which tool to pick for their use case, or wants to understand the landscape.
What it does: Learns probability distribution from real data, then samples synthetic rows that preserve marginals, correlations, and constraints.
When to use:
Pros: Mature, multi-table support, handles mixed types, row/column constraints, reversible transformations.
Cons: Slower for very high-dimensional data; assumes stationarity.
Key models:
GaussianCopulaSynthesizer — fast, general, works well for continuous/categorical mixCTGANSynthesizer — neural-network-based, high fidelity on mixed types, slower to fitTVAESynthesizer — variational autoencoder, good balance of speed/fidelityHMASynthesizer — multi-table, learns foreign-key relationshipsInstall: uv run --with sdv script.py (or uv add sdv in a project)
Quality eval: uv run --with sdmetrics script.py (or uv add sdmetrics in a project)
What it does: Plugin-based generative synthesis with support for differential privacy, fairness constraints, and time-series.
When to use:
Pros: DP guarantees, plugin architecture, time-series module.
Cons: Steeper learning curve; fewer pre-packaged models than SDV.
Install: uv run --with synthcity script.py (or uv add synthcity in a project)
What it does: Differentially-private tabular synthesis using Gaussian copula or uniform sampling.
When to use:
Pros: Formal privacy guarantees, simple API, fast.
Cons: Limited to DP copula approach; less flexible than SDV.
Install: uv run --with DataSynthesizer script.py (or uv add DataSynthesizer in a project)
What it does: GAN-based tabular and time-series synthesis.
When to use:
Pros: Strong empirical fidelity; time-series support.
Cons: Training can be unstable; hyperparameter-sensitive.
Install: uv run --with ydata-synthetic script.py (or uv add ydata-synthetic in a project)
What it does: Generates realistic fake values for common fields (names, emails, phone numbers, addresses, dates, credit cards, SSNs, IP addresses, etc.) with locale support.
When to use:
Pros: Simple, fast, extremely customizable, 50+ locales.
Cons: No correlation learning; purely random per-field.
Install: uv run --with faker script.py (or uv add faker in a project)
Example:
from faker import Faker
fake = Faker('de_DE')
print(fake.name(), fake.email(), fake.phone_number())
What it does: Similar to Faker — generates localized fake data with additional structure (e.g. geography, person relationships).
When to use:
Pros: Compact, fast, good geographic support.
Cons: Smaller ecosystem than Faker.
Install: uv run --with mimesis script.py (or uv add mimesis in a project)
What it does: LLM-based probabilistic time-series forecasting and generation.
When to use:
Pros: Pre-trained, handles multiple series lengths.
Cons: Requires external service or local inference.
Install: Via Hugging Face, huggingface_hub
What it does: Generative adversarial network for time-series synthesis.
When to use:
Pros: Good temporal fidelity.
Cons: Training instability; requires careful hypertuning.
Install: Via research implementations (e.g. GitHub repos)
What it does: Any chat model (OpenRouter or another OpenAI-compatible API, Anthropic, Gemini, or a local Ollama, vLLM or llama.cpp server) generates or transforms text from prompts describing persona, tone, intent and schema.
When to use:
Pros: Flexible, human-readable output, custom logic via prompts.
Cons: API cost; needs a key (or a local model); collapses to "typical" content unless seeded.
Use: this plugin's scripts/llm_generate.py (httpx only, any route, resumable) via generate-text-data. Batch APIs are a cheaper async option on some routes.
What it does: Client for Gretel's cloud-based synthetic data platform. Uploads data, trains models in the cloud, downloads synthetic data.
When to use:
Pros: Managed service, no local compute, audit trail.
Cons: Costs; data leaves local network.
Install: uv run --with gretel-client script.py (or uv add gretel-client in a project)
| Use case | Recommended | Alternatives |
|---|---|---|
| Real tabular → synthetic | SDV (GaussianCopula) | Synthcity, ydata-synthetic |
| Mixed-type tabular, high fidelity | SDV (CTGAN) | ydata-synthetic (GAN), Gretel |
| Privacy-sensitive tabular | Synthcity, DataSynthesizer | SDV + manual DP |
| Multi-table relational | SDV (HMA) | Synthcity with custom |
| Schema-based tabular (fake) | Faker + Mimesis | custom generation |
| PII replacement on real data | Faker + deterministic mapping | ydata-synthetic (PII aware) |
| Synthetic text records | LLM API (generate-text-data) | ydata-synthetic (text models) |
| Real text → synthetic (paraphrase) | LLM API with prompts | fine-tuned LLMs |
| Time-series forecasting | Chronos | SDV (multivariate time) |
| Time-series GAN-based | TimeGAN, ydata-synthetic | SDV (univariate) |
Next: Choose your use case, then refer to the appropriate skill (tabular-from-schema, tabular-from-real, generate-text-data, etc.) for step-by-step execution.
What SKILL.md sets; muted values are Claude Code's defaults
synthetic-data@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin synthetic-data13 skills in this plugin
/check-diversityMeasure how repetitive a generated text set is (trigram Jaccard, top-word share, per-model breakdown) and remove near-duplicates. Use on "is this too samey", "dedupe the generated data", "diversity check", "check the pilot before scaling"./complementary-pluginsList and install plugins that complement synthetic-data: custom-model-planning, data-annotation. Use on "related plugins"./evaluate-qualityRun fidelity, utility, and privacy diagnostics on a synthetic dataset against the real source, generating a markdown report.Other plugins' skills for the same job