Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hugging-face-datasets

Skill by patchy631

Creates and manages datasets on the Hugging Face Hub. It initializes repos, stores configs and system prompts, adds rows, and runs DuckDB SQL queries and transforms on datasets. Built for developers who work with Hugging Face datasets alongside the HF MCP server.

  • Score 89
  • 42k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hugging-face-datasets

Built from the published package, never by AI.

git clone --depth 1 https://github.com/patchy631/ai-engineering-hub /tmp/ai-engineering-hub && mkdir -p ~/.claude/skills && cp -r /tmp/ai-engineering-hub/hugging-face-skills/skills/hugging-face-datasets ~/.claude/skills/hugging-face-datasets

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hugging-face-datasets in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill manages datasets on the Hugging Face Hub with a focus on creation, configuration, content management, and SQL-based data manipulation. It covers initializing dataset repositories, storing configuration and system prompts, adding rows through streaming updates, and querying or transforming data with SQL. It is designed to complement the Hugging Face MCP server, which handles dataset discovery, search, and metadata retrieval.

The skill includes two Python scripts: dataset_manager.py for creation and management, and sql_manager.py for DuckDB SQL queries over datasets using the hf:// protocol. Query results can be exported to Parquet or JSONL, or pushed to new Hub repositories. It is aimed at developers and data practitioners who want to build, edit, or reshape Hugging Face datasets, with templates for chat, classification, QA, completion, and tabular data.

Written from the project's SKILL.md and checked against it.

What it can do

  • Dataset initializationCreates new dataset repositories on the Hugging Face Hub.
  • ConfigurationStores detailed configuration, including system prompts and metadata, in a dataset.
  • Streaming row updatesAdds rows without downloading the entire dataset.
  • SQL queryingRuns DuckDB SQL on Hugging Face datasets using the hf:// protocol.
  • Schema and samplingDescribes dataset structure, samples random rows, and counts rows with filters.
  • Value analysisLists unique values and value distributions for a column.
  • Transform and filterFilters, groups, and reshapes data with SQL.
  • Export and pushSaves results as Parquet or JSONL, or pushes them to a new Hub repository.
  • Template formatsProvides chat, classification, QA, completion, and tabular data templates.

What you need

  • Python
  • HF_TOKEN environment variable with a Write-access token
  • huggingface_hub library
  • duckdb library for SQL queries
  • datasets library for pushing results to the Hub
  • uv for installing the libraries

Try asking

  • Show the schema of the cais/mmlu dataset on Hugging Face
  • Query cais/mmlu for nutrition rows and push the subset to my Hub account
  • Create a new private dataset repo and add QA rows to it

Good to know

  • Designed to work alongside the HF MCP server, which handles search and discovery.
  • Private datasets require a token.
  • Dataset access uses the auto-converted Parquet revision (@~parquet).

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: hugging-face-skills/skills/hugging-face-datasets/SKILL.md, hugging-face-skills/skills/hugging-face-datasets/scripts/dataset_manager.py, hugging-face-skills/skills/hugging-face-datasets/scripts/sql_manager.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md16 KB
  • examples/diverse_training_examples.json18 KB
  • examples/system_prompt_template.txt6 KB
  • examples/training_examples.json7 KB
  • scripts/dataset_manager.py19 KB
Show all 12 files
  • scripts/sql_manager.py29 KB
  • templates/chat.json2 KB
  • templates/classification.json2 KB
  • templates/completion.json3 KB
  • templates/custom.json2 KB
  • templates/qa.json3 KB
  • templates/tabular.json3 KB

Alternatives to hugging-face-datasets

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

hugging-face-datasets: common questions

Can this skill search for datasets?

The source says dataset discovery, search, and metadata retrieval are handled by the HF MCP server. This skill covers creation, editing, and SQL queries.

Can it query private datasets?

The source says the hf:// protocol gives access to public datasets, or private ones with a token.

What formats can query results be saved in?

Results can be exported to Parquet or JSONL, or pushed to a new Hugging Face Hub repository.

How do I install hugging-face-datasets?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hugging-face-datasets free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is hugging-face-datasets safe to use?

It scores 89 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to hugging-face-datasets?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

hugging-face-datasets Install

Add to stack

Loading.