Interacts with the Hugging Face Dataset Viewer API to explore datasets: list splits, paginate rows, search text, filter with predicates, get Parquet URLs, and read size/statistics.
Ships in hugging-face. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to execute read-only Dataset Viewer API calls for dataset exploration and extraction.
/is-valid.config + split with /splits./first-rows./rows using offset and length (max 100)./search for text matching and /filter for row predicates./parquet and totals/metadata via /size and /statistics.https://datasets-server.huggingface.coGEToffset is 0-based.length max is usually 100 for row-like endpoints.Authorization: Bearer <HF_TOKEN>.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>Filter with predicates: /filter?dataset=<namespace/repo>&config=<config>&split=<split>&where=<predicate>&orderby=<sort>&offset=<int>&length=<int>List parquet shards: /parquet?dataset=<namespace/repo>Get size totals: /size?dataset=<namespace/repo>Get column statistics: /statistics?dataset=<namespace/repo>&config=<config>&split=<split>Get Croissant metadata (if available): /croissant?dataset=<namespace/repo>Pagination pattern:
curl "https://datasets-server.huggingface.co/rows?dataset=stanfordnlp/imdb&config=plain_text&split=train&offset=0&length=100"
curl "https://datasets-server.huggingface.co/rows?dataset=stanfordnlp/imdb&config=plain_text&split=train&offset=100&length=100"
When pagination is partial, use response fields such as num_rows_total, num_rows_per_page, and partial to drive continuation logic.
Search/filter notes:
/search matches string columns (full-text style behavior is internal to the API)./filter requires predicate syntax in where and optional sort in orderby.Use npx parquetlens with Hub parquet alias paths for SQL querying.
Parquet alias shape:
hf://datasets/<namespace>/<repo>@~parquet/<config>/<split>/<shard>.parquet
Derive <config>, <split>, and <shard> from Dataset Viewer /parquet:
curl -s "https://datasets-server.huggingface.co/parquet?dataset=cfahlgren1/hub-stats" \
| jq -r '.parquet_files[] | "hf://datasets/\(.dataset)@~parquet/\(.config)/\(.split)/\(.filename)"'
Run SQL query:
npx -y -p parquetlens -p @parquetlens/sql parquetlens \
"hf://datasets/<namespace>/<repo>@~parquet/<config>/<split>/<shard>.parquet" \
--sql "SELECT * FROM data LIMIT 20"
--sql "COPY (SELECT * FROM data LIMIT 1000) TO 'export.csv' (FORMAT CSV, HEADER, DELIMITER ',')"--sql "COPY (SELECT * FROM data LIMIT 1000) TO 'export.json' (FORMAT JSON)"--sql "COPY (SELECT * FROM data LIMIT 1000) TO 'export.parquet' (FORMAT PARQUET)"Use one of these flows depending on dependency constraints.
Zero local dependencies (Hub UI):
https://huggingface.co/new-datasetcurl -s "https://datasets-server.huggingface.co/parquet?dataset=<namespace>/<repo>"
Low dependency CLI flow (npx @huggingface/hub / hfjs):
export HF_TOKEN=<your_hf_token>
npx -y @huggingface/hub upload datasets/<namespace>/<repo> ./local/parquet-folder data
npx -y @huggingface/hub upload datasets/<namespace>/<repo> ./local/parquet-folder data --private
After upload, call /parquet to discover <config>/<split>/<shard> values for querying with @~parquet.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/hf-cliHugging Face Hub CLI(`hf`),用于在 Hugging Face Hub 上下载、上传和管理仓库、模型、数据集和 Spaces。替代已弃用的 `huggingface-cli` 命令。/huggingface-community-evals使用 inspect-ai 和 lighteval 在本地硬件上对 Hugging Face Hub 模型运行评估。适用于后端选择、本地 GPU 评估,以及在 vLLM / Transformers / accelerate 之间做选择。不适用于 HF Jobs 编排、模型卡 PR、`.eval_results` 发布或社区评估自动化。/huggingface-gradio在 Python 中构建 Gradio Web UI 和演示。适用于创建或编辑 Gradio 应用、组件、事件监听器、布局或聊天机器人。/huggingface-jobs当用户需要在 Hugging Face Jobs 基础设施上运行任何工作负载时使用。涵盖 UV 脚本、基于 Docker 的任务、硬件选择、成本估算、token 身份验证、密钥管理、超时配置和结果持久化。适用于数据处理、推理、实验、批量任务及任何基于 Python 的任务等通用计算工作负载。当用户提到云计算、GPU 工作负载,或在未进行本地设置的情况下提到在 Hugging Face 基础设施上运行任务时触发。/huggingface-llm-trainer当用户需要使用 TRL(Transformer 强化学习)在 Hugging Face Jobs 基础设施上训练或微调语言模型时使用。涵盖 SFT、DPO、GRPO 和奖励模型训练方法,以及用于本地部署的 GGUF 转换。包括 TRL Jobs 包、PEP 723 格式的 UV 脚本、数据集准备与验证、硬件选择、成本估算、Trackio 监控、Hub 身份验证和模型持久化指导。当用户提到云 GPU 训练、GGUF 转换,或在未配置本地 GPU 的情况下提到在 Hugging Face Jobs 上训练时触发。/huggingface-paper-publisher在 Hugging Face Hub 上发布和管理研究论文。支持创建论文页面、将论文关联到模型/数据集、认领作者身份,以及生成专业的 Markdown 研究文章。/hugging-face:huggingface-datasetsfrom hugging-face
npx claudepluginhub kael-odin/codex-plugins-zh --plugin hugging-faceOther plugins' skills for the same job