Skip to content

Hugging Face Dataset Viewer Skill · Data Ai

Explore Hugging Face Datasets with AI Precision

Query Hugging Face datasets via API with lightweight, read-only exploration for data scientists and ML engineers.

First skill download free (Google or GitHub sign-in) · Extra packs from $4.90, never expire.

Drop straight into .agents/skills/ or .claude/skills/ — 3 verified files ready to run, 8-point safety checked.

---
source: "https://github.com/huggingface/skills/tree/main/skills/huggingface-datasets"
name: hugging-face-dataset-viewer
description: Use this skill to query Hugging Face datasets via the Dataset Viewer API. Use when you need to fetch splits, paginate rows, search text, apply filters, or retrieve parquet links.
risk: unknown
attribution: "Upstream: https://github.com/huggingface/skills/tree/main/skills/huggingface-datasets (Apache 2.0 License)"
---

# Hugging Face Dataset Viewer

## When to Use
Use this skill when you need read-only exploration of a Hugging Face dataset through the Dataset Viewer API.

Use this skill to execute read-only Dataset Viewer API calls for dataset exploration and extraction.

## Core workflow

1. Optionally validate dataset availability with `/is-valid`.
2. Resolve `config` + `split` with `/splits`.
3. Preview with `/first-rows`.
4. Paginate content with `/rows` using `offset` and `length` (max 100).
5. Use `/search` for text matching and `/filter` for row predicates.
6. Retrieve parquet links via `/parquet` and totals/metadata via `/size` and `/statistics`.

## Defaults

- Base URL: `https://datasets-server.huggingface.co`
- Default API method: `GET`
- Query params should be URL-encoded.
- `offset` is 0-based.
- `length` max is usually `100` for row-like endpoints.
- Gated/private datasets require `Authorization: Bearer <HF_TOKEN>`.

## Dataset Viewer

- `Validate dataset`: `/is-valid?dataset=<namespace/repo>`
- `List subsets and splits`: `/splits?dataset=<namespace/repo>`
- `Preview first rows`: `/first-rows?dataset=<namespace/repo>&config=<config>&split=<split>`
- `Paginate rows`: `/rows?dataset=<namespace/repo>&config=<config>&split=<split>&offset=<int>&length=<int>`
- `Search text`: `/search?dataset=<namespace/repo>&config=<config>&split=<split>&query=<text>&offset=<int>&length=<int>`
…
Full SKILL.md preview ↓

3 files in the ZIP

  • INSTALL.md2.0 KB
  • SKILL.md5.2 KB
  • scripts/verify.sh2.4 KB
4-Platform Quick Install · Unzip into
Antigravity / Codex.agents/skills/
Claude Code.claude/skills/

Cursor & Verify: follow bundled INSTALL.md, then run bash scripts/verify.sh inside the skill folder.

  • Hugging Face
  • Dataset API
  • Machine Learning
  • Data Science
  • Parquet

4-Platform Quick Install

  1. 1 Download the 3-file ZIP above (1st skill free after signing in with Google or GitHub) and unzip into .agents/skills/ (Antigravity / Codex) or .claude/skills/ (Claude Code) so SKILL.md lands at .agents/skills/hugging-face-dataset-viewer/SKILL.md without double-nesting, or follow INSTALL.md for Cursor.
  2. 2 Run bash scripts/verify.sh from inside that skill folder to confirm every packaged file is intact.
  3. 3 Configure your HF_TOKEN for private datasets and use /is-valid to check dataset availability.

Example Command

/rows?dataset=glue&config=mrpc&split=train&offset=0&length=10

Core Capabilities

Text Search and Filter

Execute text matching with /search and complex predicates using /filter to locate specific data points within any dataset split.

Pagination and Preview

Retrieve first rows or paginate through large datasets using offset and length parameters with a maximum limit of 100 rows.

Metadata and Statistics

Access dataset size totals and detailed column statistics via /size and /statistics endpoints for deep data analysis.

Parquet and Split Resolution

Resolve dataset configurations and splits, and retrieve direct parquet shard links for downstream processing and external tool integration.

Usage Examples

Before

Manually downloading a multi-GB dataset to see the schema and content.

After

Instant JSON preview of the first 5 rows via a single API call.

Before

Manually downloading a multi-GB dataset to see the schema and content.

After

Instant JSON preview of the first 5 rows via a single API call.

About This Skill

The Hugging Face Dataset Viewer skill enables developers in Antigravity, Claude Code, Codex, and Cursor to interact with Hugging Face datasets through the Dataset Viewer API. This 3-file ZIP includes SKILL.md, INSTALL.md, and scripts/verify.sh; all files undergo an 8-point static safety check. Best for data scientists and ML engineers exploring public or gated datasets without full downloads; skip this skill if you need write access or local dataset manipulation.

Release v2.0.0 · Updated Dec 3, 2026 · 10 KB · sha256:3029a156e1b1

  • v2.0.0 (2026-12-03): Refined SKILL.md workflow, frontmatter triggers, and completion checks, plus added 4-platform INSTALL.md and read-only scripts/verify.sh (3 files total, 8-point safety checked).

SKILL.md

---
source: "https://github.com/huggingface/skills/tree/main/skills/huggingface-datasets"
name: hugging-face-dataset-viewer
description: Use this skill to query Hugging Face datasets via the Dataset Viewer API. Use when you need to fetch splits, paginate rows, search text, apply filters, or retrieve parquet links.
risk: unknown
attribution: "Upstream: https://github.com/huggingface/skills/tree/main/skills/huggingface-datasets (Apache 2.0 License)"
---

# Hugging Face Dataset Viewer

## When to Use
Use this skill when you need read-only exploration of a Hugging Face dataset through the Dataset Viewer API.

Use this skill to execute read-only Dataset Viewer API calls for dataset exploration and extraction.

## Core workflow

1. Optionally validate dataset availability with `/is-valid`.
2. Resolve `config` + `split` with `/splits`.
3. Preview with `/first-rows`.
4. Paginate content with `/rows` using `offset` and `length` (max 100).
5. Use `/search` for text matching and `/filter` for row predicates.
6. Retrieve parquet links via `/parquet` and totals/metadata via `/size` and `/statistics`.

## Defaults

- Base URL: `https://datasets-server.huggingface.co`
- Default API method: `GET`
- Query params should be URL-encoded.
- `offset` is 0-based.
- `length` max is usually `100` for row-like endpoints.
- Gated/private datasets require `Authorization: Bearer <HF_TOKEN>`.

## Dataset Viewer

- `Validate dataset`: `/is-valid?dataset=<namespace/repo>`
- `List subsets and splits`: `/splits?dataset=<namespace/repo>`
- `Preview first rows`: `/first-rows?dataset=<namespace/repo>&config=<config>&split=<split>`
- `Paginate rows`: `/rows?dataset=<namespace/repo>&config=<config>&split=<split>&offset=<int>&length=<int>`
- `Search text`: `/search?dataset=<namespace/repo>&config=<config>&split=<split>&query=<text>&offset=<int>&length=<int>`
…

Showing the preview — download the complete 3-file ZIP above for the full SKILL.md, INSTALL.md, and scripts/verify.sh check (1st skill free after sign-in).

  • INSTALL.md (2.0 KB)
  • SKILL.md (5.2 KB)
  • scripts/verify.sh (2.4 KB)

Frequently Asked Questions

How do I install this skill in Antigravity, Claude Code, Codex, and Cursor?
Unzip the 3-file ZIP into .agents/skills/ (Antigravity / Codex) or .claude/skills/ (Claude Code), ensuring SKILL.md is at .agents/skills/hugging-face-dataset-viewer/SKILL.md. Follow INSTALL.md for Cursor. Run bash scripts/verify.sh to confirm integrity.
What files and modules are included in the 3-file ZIP?
The ZIP contains SKILL.md, INSTALL.md, and scripts/verify.sh. All files undergo an 8-point static safety check. No additional reference files or license files are included.
When should I use this skill—and when should I skip it?
Use this skill when you need read-only exploration of a Hugging Face dataset through the Dataset Viewer API. Skip it if you require write access or local dataset manipulation.
What is the default base URL used by this skill?
The default base URL is https://datasets-server.huggingface.co. This endpoint supports read-only operations including validation, listing splits, paginating rows, searching, filtering, and retrieving parquet links.
Is it safe to install, and how does pricing work?
Yes, all files in the ZIP undergo an 8-point static safety check. The first skill is free after signing in with Google or GitHub. Paid tiers include Starter $4.90 for 10 never-expiring credits and Pro $15/mo or $89/yr. No stack membership applies.

More for the same job

AI agent skills · All skills · New here? Start with three

Related skills: Agent Memory Systems · Computer Use Agents · Data Analyst · Agent Tool Builder

Discussion

0 comments

Hugging Face Dataset ViewerFirst download free

Recently updated