/knowledge-catalog-maintenance:kc-generate-synthetic-datafrom knowledge-catalog-maintenance
Generate and validate synthetic tabular fixtures for Knowledge Catalog examples or tests from a schema, reference or allowed inputs. Preserve domain boundaries and identify the data as synthetic.
Ships in knowledge-catalog-maintenance. 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 reviewed policy. The optional Data Simulation plugin supplies $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\kc-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\kc-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.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 knowledge-catalog-maintenance10 skills in this plugin
/kc-chatgpt-desktop-plugin-uiBuild or verify Knowledge Catalog domain views in ChatGPT Desktop using MCP Apps, local-thread plugins or remote connectors./kc-code-native-plugin-uiBuild or verify native Knowledge Catalog commands, Mods and controls in Claude Code or the Desktop Code tab. Use for CLI and native host interactions./kc-codex-plugin-uiBuild or verify Knowledge Catalog interactions in Codex CLI, desktop, IDE or app-server. Check the executing loader, scoped MCP transport and supported UI.