Work with Hugging Face Datasets: create datasets with configs, upload to the Hub, use the Dataset Viewer API, SQL querying, and dataset cards.
When to use this skill
- Creating a dataset for the Hub
- Uploading data to Hugging Face
- Querying a dataset with SQL
Core concepts
This skill provides guidance on hf datasets best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/ai-ml/hf-datasets.zip
unzip hf-datasets.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- creating a dataset for the Hub
- uploading data to Hugging Face
- querying a dataset with SQL