Help us improve
Share bugs, ideas, or general feedback.
From sdg-hub
Sets up sdg_hub for synthetic data generation: detects environment, installs if needed, collects API keys and model config.
npx claudepluginhub red-hat-ai-innovation-team/sdg_hub --plugin sdg-hubHow this skill is triggered — by the user, by Claude, or both
Slash command
/sdg-hub:setup-guideThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping the user set up synthetic data generation.
Generates synthetic data using sdg_hub with composable blocks and YAML flows. Supports pre-built flows, custom scripts, agent frameworks, and 100+ LLM providers.
Designs, codes, simulates, and deploys AI agents targeting DataRobot. Covers agent_spec.md authoring, dress-rehearsal simulation, template-based coding, and DataRobot CLI deployment.
Guides claude-flow orchestration decisions including topology, agents, memory, and SPARC workflow setup.
Share bugs, ideas, or general feedback.
You are helping the user set up synthetic data generation.
"${CLAUDE_PLUGIN_ROOT}/scripts/sdg_detect.sh"
If library=missing:
installer=uv: run uv pip install sdg_hubinstaller=pip: run pip install sdg_hubinstaller=none: tell the user they need Python and pip/uv installed firstAlso check for API keys in the environment:
echo "openai_key=${OPENAI_API_KEY:+found}" "anthropic_key=${ANTHROPIC_API_KEY:+found}"
If an API key was detected, offer a one-question fast path:
"I detected your OpenAI API key. I can set up with these defaults:
- Model:
openai/gpt-4o-mini- Temperature:
0.7- Concurrency:
5Accept these defaults, or would you like to customize?"
If the user accepts, skip to Step 5 using the detected key and defaults.
For Anthropic keys, default to anthropic/claude-sonnet-4-20250514.
If no API key was detected, or the user wants to customize, proceed to Step 4.
Ask these questions one at a time:
openai/gpt-4o-mini, meta-llama/Llama-3.3-70B-Instruct, anthropic/claude-sonnet-4-20250514http://localhost:8000/v1 for vLLM, or leave empty for cloud provider defaults./checkpoints) — allows resuming interrupted runsAPI keys are read from environment variables — never store them in the config file. LiteLLM (used by sdg_hub) reads standard env vars automatically.
If no API key was detected in Step 3, tell the user to set the appropriate environment variable:
"Set your API key as an environment variable before running generation:
export OPENAI_API_KEY="sk-..." # OpenAI models export ANTHROPIC_API_KEY="sk-ant-..." # Anthropic modelsFor local endpoints (vLLM, Ollama) that don't require authentication, no API key is needed. LiteLLM picks up these env vars automatically — no extra configuration required."
Write the config to .sdg-hub/config.json:
{
"model": "<model>",
"api_base": "<endpoint>",
"temperature": 0.7,
"max_concurrency": 5,
"checkpoint_dir": "./checkpoints"
}
Add .sdg-hub/ to .gitignore if not already present.
Confirm the config file was written, then report success:
"Setup complete! To run generation, use the
data-generationskill, or theflow-browserskill to browse available flows.API keys are read from environment variables, not the config file. Make sure the appropriate variable is set in your shell:
export OPENAI_API_KEY="sk-..." # OpenAI models export ANTHROPIC_API_KEY="sk-ant-..." # Anthropic modelsLocal endpoints (vLLM, Ollama) don't need an API key."
List available flows to confirm the installation works:
"${CLAUDE_PLUGIN_ROOT}/scripts/sdg_flows.sh" list
Report success and remind the user they can now use the data-generation skill to run generation, or the flow-browser skill to browse available flows.
If this skill is invoked again and a config already exists, ask: "You already have a configuration. Do you want to update it or start fresh?"