What problem does it solve?
This Skill provides a complete workflow to create and manage datasets on the Hugging Face Hub, including repository initialization, configuration with system prompts, streaming row updates, and SQL-based data manipulation. It is designed to work alongside the HF MCP server to enable end-to-end dataset workflows.
Core Features & Use Cases
- Initialize and configure dataset repositories on Hugging Face Hub with detailed system prompts and metadata.
- Stream updates to datasets by uploading new rows in JSONL format, with template-based validation for chat, classification, QA, and other formats.
- Query, transform, and export datasets using a DuckDB-backed SQL manager, supporting describe, sample, histogram, unique, and join operations.
- Push transformed results back to the Hub or export to Parquet/JSONL for downstream analytics and modeling.
- Templates and JSON schema validation ensure consistent, high-quality data generation for training and evaluation.
Quick Start
- uv run scripts/dataset_manager.py init --repo_id "your-username/dataset-name"
- uv run scripts/dataset_manager.py quick_setup --repo_id "your-username/dataset-name" --template chat
- uv run scripts/dataset_manager.py add_rows --repo_id "your-username/dataset-name" --split train --rows_json '[{"messages": [{"role":"user","content":"Hello"}]}]'
- uv run scripts/sql_manager.py query --dataset "your-username/dataset-name" --sql "SELECT * FROM data LIMIT 5"