hugging-face-datasets

Initialize Hugging Face dataset repos, stream JSONL updates, and run SQL transformations via DuckDB.

9|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/hongmaple0820/agent-academy --skill hugging-face-datasets-hongmaple0820
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugging-face-datasets
Source: https://github.com/hongmaple0820/agent-academy/tree/main/skills/ai-ml/hugging-face-datasets
Command: npx skills add https://github.com/hongmaple0820/agent-academy --skill hugging-face-datasets-hongmaple0820

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires duckdb, huggingface_hub, datasets, pandas, and includes scripts (resource) components.

What problem does it solve?

Hugging Face datasets are powerful but managing repos, configs, and SQL-based workflows can be tedious. This skill provides a cohesive toolkit to initialize repositories, define system prompts, stream data rows, and perform SQL-based manipulations in a unified workflow.

Core Features & Use Cases

  • Initialize new dataset repositories on Hugging Face Hub and configure with system prompts.
  • Stream updates in JSONL format to dataset splits without re-downloading data.
  • Run SQL queries and transformations on HF datasets using DuckDB, including schema discovery, sampling, and exporting to Parquet/JSONL.
  • Push transformed results back to the Hub as new datasets or subsets.

Quick Start

Initialize a new dataset, apply a system prompt, and load the sample templates to begin building your Hugging Face dataset workflow.

Frequently Asked Questions about hugging-face-datasets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Hugging Face datasets using SQL?

You can manage Hugging Face datasets using SQL by running DuckDB queries directly on the data. This approach enables schema discovery, sampling, and SQL-based transformations before exporting the results to Parquet or JSONL formats and pushing them to the Hub.

Can I stream JSONL updates to a Hugging Face dataset without re-downloading data?

Yes, you can stream JSONL updates directly to specific dataset splits without re-downloading the entire dataset. This allows efficient, incremental data row additions to your existing Hugging Face Hub repositories.

What is the best way to initialize a new Hugging Face dataset repository with configurations?

The best way to initialize a new Hugging Face dataset repository is by using scripted automation to create the repo and define system prompts. This unified workflow establishes the dataset structure and initial configuration immediately on the Hub.

Does DuckDB work with Hugging Face datasets for schema discovery and sampling?

DuckDB works seamlessly with Hugging Face datasets for schema discovery and sampling. It allows you to run SQL queries directly on the data, perform transformations, and export the manipulated results back to the Hub as new datasets or subsets.

How do I export transformed Hugging Face dataset results to Parquet?

To export transformed Hugging Face dataset results to Parquet, apply your SQL manipulations using DuckDB and then output the queried data. The workflow supports exporting transformed results directly to Parquet or JSONL formats for Hub uploads.

Do I need pandas and DuckDB to push transformed datasets back to the Hugging Face Hub?

Yes, pandas and DuckDB are required dependencies for performing SQL-based transformations and exporting results. They provide the underlying data manipulation and querying capabilities needed to process and push transformed datasets back to the Hub.