sdg-hub
Synthetic Data Generation Toolkit for LLMs
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026. Its scripts were only partly scanned.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/Red-Hat-AI-Innovation-Team/sdg_hub with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/Red-Hat-AI-Innovation-Team/sdg_hub'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/red-hat-ai-innovation-team--sdg-hub)HTML
<a href="/listings/red-hat-ai-innovation-team--sdg-hub"><img src="/api/listings/red-hat-ai-innovation-team--sdg-hub/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 19 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- {
- "name": "sdg-hub",
- "metadata": {
- "description": "Synthetic data generation — composable blocks and YAML-defined flows for building LLM training datasets"
- },
- "owner": {
- "name": "Red Hat AI Innovation Team"
- },
- "plugins": [
- {
- "name": "sdg-hub",
- "description": "Synthetic data generation — composable blocks and YAML-defined flows for building LLM training datasets",
- "author": {
- "name": "Red Hat AI Innovation Team"
- },
- "source": "./"
- }
- ]
- }
README.md · README · 111 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- <p align="center">
- <picture>
- <source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-banner-dark.svg">
- <source media="(prefers-color-scheme: light)" srcset="docs/assets/logo-banner-light.svg">
- <img alt="SDG Hub" src="docs/assets/logo-banner-light.svg" width="320">
- </picture>
- </p>
- <p align="center"><em>Composable blocks and flows for synthetic data generation</em></p>
- <p align="center">
- <a href="https://ai-innovation.team/sdg_hub/"><img src="https://img.shields.io/badge/docs-ai--innovation.team-e8975d?style=flat-square" alt="Docs"></a>
- <a href="https://pypi.org/project/sdg-hub/"><img src="https://img.shields.io/pypi/v/sdg-hub?style=flat-square" alt="PyPI"></a>
- <a href="https://github.com/Red-Hat-AI-Innovation-Team/sdg_hub/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/Red-Hat-AI-Innovation-Team/sdg_hub/test.yml?style=flat-square&label=tests" alt="Tests"></a>
- <img src="https://img.shields.io/badge/python-3.10%2B-brightgreen?style=flat-square" alt="Python 3.10+">
- <a href="https://github.com/Red-Hat-AI-Innovation-Team/sdg_hub/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Red-Hat-AI-Innovation-Team/sdg_hub?style=flat-square" alt="License"></a>
- <a href="https://codecov.io/gh/Red-Hat-AI-Innovation-Team/sdg_hub"><img src="https://img.shields.io/codecov/c/github/Red-Hat-AI-Innovation-Team/sdg_hub?style=flat-square" alt="Coverage"></a>
- <a href="https://deepwiki.com/Red-Hat-AI-Innovation-Team/sdg_hub"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
- </p>
- ---
- <p align="center">
- <img src="docs/assets/demo.gif" alt="SDG Hub Demo" width="700">
- </p>
- SDG Hub is a Python framework for building synthetic data generation pipelines. Chain LLM, parsing, transform, filtering, and agent blocks into YAML-defined flows -- then generate training data at scale.
- ## Get Started
- ```bash
- pip install sdg-hub
- ```
- ```python
- from sdg_hub import FlowRegistry, Flow
- # Discover and load a built-in flow
- FlowRegistry.discover_flows()
- flow = Flow.from_yaml(FlowRegistry.get_flow_path("MCP Server Distillation"))
- # Configure and run
- flow.set_model_config(model="openai/gpt-4o")
- result = flow.generate(dataset)
- ```
- See the [Quick Start](docs/quickstart.md) for a full walkthrough, or browse [all built-in flows](docs/flows/built-in-flows.md).
- ## Documentation
- **[Full documentation at ai-innovation.team/sdg_hub](https://ai-innovation.team/sdg_hub/)**
- - [Installation](docs/installation.md) -- setup, optional dependencies, development install
- - [Quick Start](docs/quickstart.md) -- end-to-end walkthrough from loading a flow to generating data
- - [Core Concepts](docs/concepts.md) -- blocks, flows, registries, and dataset handling
- - [Block Reference](docs/blocks/) -- LLM, parsing, transform, filtering, agent, and custom blocks
- - [Flow Reference](docs/flows/) -- YAML schema, built-in flows, custom flows
- - [API Reference](docs/reference/) -- auto-generated from source
- - [Contributing](CONTRIBUTING.md) -- development setup and contribution guidelines
- ## Coding Agent Plugin
- SDG Hub is available as a plugin for two coding agents, bringing synthetic data generation directly into your coding workflow.
- <details>
- <summary><strong>Claude Code</strong></summary>
- **Via org marketplace** (recommended — includes all Red Hat AI plugins):
- ```bash
- /plugin marketplace add Red-Hat-AI-Innovation-Team/plugins
- /plugin install sdg-hub@Red-Hat-AI-Innovation-Team/plugins
- ```
- **Via this repo directly:**
- ```bash
- /plugin marketplace add Red-Hat-AI-Innovation-Team/sdg_hub
- /plugin install sdg-hub@Red-Hat-AI-Innovation-Team/sdg_hub
- ```
- **From a local clone:**
- ```bash
- git clone https://github.com/Red-Hat-AI-Innovation-Team/sdg_hub.git
- /plugin marketplace add /path/to/sdg_hub
- ```
- </details>
- <details>
- <summary><strong>Codex CLI</strong></summary>
- ```bash
- codex plugin marketplace add Red-Hat-AI-Innovation-Team/plugins
- ```
- Then install the plugin from the marketplace. See `.codex-plugin/INSTALL.md` for manual installation.
- </details>
- ### After Installing
- Invoke the `setup-guide` skill to configure your LLM provider and model.
- | Skill | Description |
- |---|---|
- | `setup-guide` | Guided first-time configuration |
- | `data-generation` | Run synthetic data generation using a flow |
- | `flow-browser` | Browse and inspect available flows |
- ## License
- Apache License 2.0 -- see [LICENSE](LICENSE).
- ---
- Built by the [Red Hat AI Innovation Team](https://ai-innovation.team)
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.