hugging-face-datasets

hugging-face-datasets is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 49 tokens per session (4,296 once invoked), scanned A, a copy of hugging-face-datasets, Apache-2.0.

A toolkit for creating and managing datasets on the Hugging Face Hub, an online platform for sharing machine-learning models and data.

In plain words
What is it for?
It helps initialize datasets, store configurations and prompts, stream new records, run SQL queries, and reshape dataset contents for machine-learning workflows.
Why use it?
It gives you structured ways to create dataset repositories, update rows without downloading everything, and query or transform data with SQL.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps initialize datasets, store configurations and prompts, stream new records, run SQL queries, and reshape dataset contents for machine-learning workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/hugging-face-datasets
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,233 stars · on GitHub · openscience.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synthetic-sciences/openscience --skill hugging-face-datasets
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hugging-face-datasets

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hugging-face-datasets/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/hugging-face-datasets)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/hugging-face-datasets"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hugging-face-datasets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hugging-face-datasets

Your own site · 80×15
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/hugging-face-datasets"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hugging-face-datasets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,296 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.04296
Opus 5.5 $0.00020 $0.01718
Sonnet 5.5 $0.00010 $0.00859
Haiku 4.5 $0.00005 $0.00430

Measured 17d ago against content hash 4bca09862147, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hugging-face-datasets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/dataset_manager.py, scripts/sql_manager.py, tests/test_dataset_manager_init.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to hugging-face-datasets — 1,110 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

backend/cli/skills/data-engineering/hugging-face-datasets/SKILL.md · 571 lines

How it starts

The opening of the file, as written. The whole thing — 571 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

This skill provides tools to manage datasets on the Hugging Face Hub with a focus on creation, configuration, content management, and SQL-based data manipulation. It is designed to complement the existing Hugging Face MCP server by providing dataset editing and querying capabilities.

Integration with HF MCP Server

  • Use HF MCP Server for: Dataset discovery, search, and metadata retrieval
  • Use This Skill for: Dataset creation, content editing, SQL queries, data transformation, and structured data formatting

Version

2.1.0

Dependencies

This skill uses PEP 723 scripts with inline dependency management

Scripts auto-install requirements when run with: uv run scripts/.py

  • uv (Python package manager)
  • Getting Started: See "Usage Instructions" below for PEP 723 usage

Core Capabilities

1. Dataset Lifecycle Management

  • Initialize: Create new dataset repositories with proper structure
  • Configure: Store detailed configuration including system prompts and metadata
  • Stream Updates: Add rows efficiently without downloading entire datasets

2. SQL-Based Dataset Querying (NEW)

Query any Hugging Face dataset using DuckDB SQL via scripts/sql_manager.py:

  • Direct Queries: Run SQL on datasets using the hf:// protocol
  • Schema Discovery: Describe dataset structure and column types
  • Data Sampling: Get random samples for exploration
  • Aggregations: Count, histogram, unique values analysis
  • Transformations: Filter, join, reshape data with SQL
  • Export & Push: Save results locally or push to new Hub repos

3. Multi-Format Dataset Support

Supports diverse dataset types through template system:

  • Chat/Conversational: Chat templating, multi-turn dialogues, tool usage examples
  • Text Classification: Sentiment analysis, intent detection, topic classification
  • Question-Answering: Reading comprehension, factual QA, knowledge bases
  • Text Completion: Language modeling, code completion, creative writing
  • Tabular Data: Structured data for regression/classification tasks
  • Custom Formats: Flexible schema definition for specialized needs

Read the full file on GitHub · 571 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +2 lines 4bca09862147
  2. 1mo ago Changed · +8 lines 26d6da20c804
  3. 1mo ago Changed 65d617212c96
  4. 1mo ago First seen · 561 lines · 49 tokens per session scan A 5e9143dc9be2

Subscribe to this mod's changes

hugging-face-datasets is a skill published in the GitHub repository synthetic-sciences/openscience (4,233 stars, last pushed 2d ago), licensed Apache-2.0. It adds 49 tokens to every session and 4,296 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to hugging-face-datasets, differing in 1,110 lines, and is treated as a copy.

Related

Other skills, from other repositories

huggingface-hub

HuggingFace hf CLI: search/download/upload models, datasets.

StarryCod/cogitum · 20 tokens

system-prompts

Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense compression. Use when authoring or editing any prompt the model reads.

can1357/oh-my-pi · 40 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

gno

Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs…

gmickel/gno · 86 tokens

knowledge-model-and-provider-runtime-provider-resilience-admission-and-observability

A codebase guide for handling unreliable AI provider requests across agents and sessions, including retries, circuit breakers, fair queues, stalled streams, cache tracking, and health checks.

echoVic/blade-code · 184 tokens

journal

A mirror for emotional truth. Use when the user wants to journal, reflect, or "tell me the truth about how I feel." Goes for the feeling beneath the event, names avoidance, and refuses easy answers — not a cheerful prompt list.

lvndry/jazz · 51 tokens