huggingface-datasets
Uses the Hugging Face Dataset Viewer API to fetch split metadata, page through rows, search text, filter, get Parquet URLs and read sizes and statistics.
- Kind
- Skill
- Works with
- Claude Code
- Source
- Hugging Face Skills @ 25910b3d0ba3
- Path
- skills/huggingface-datasets/SKILL.md
- License
- Apache-2.0
- Jobs
- Implementation
InstallInstall it by hand, following the source.
hf skills add huggingface-datasets
--- name: huggingface-datasets description: Use this skill for Hugging Face Dataset Viewer API workflows that fetch subset/split metadata, paginate rows, search text, apply filters, download parquet URLs, and read size or statistics. --- # Hugging Face Dataset Viewer 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>` …