huggingface-hub

Automate Hugging Face Hub model, dataset, and repository operations via hf CLI.

Updated May 26, 2026
One-click install
npx skills add https://github.com/ruiyangruiyi/hermes-agent --skill huggingface-hub-ruiyangruiyi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/ruiyangruiyi/hermes-agent/tree/main/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/ruiyangruiyi/hermes-agent --skill huggingface-hub-ruiyangruiyi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you avoid manual, error-prone browsing and file handling on the Hugging Face Hub by giving you a consistent CLI workflow to search, download, upload, and operate Hub resources.

Core Features & Use Cases

  • Models, Datasets, and Repos Management: Search and retrieve metadata, download files, and inspect datasets (including parquet URLs) and models from the Hub for experiments or deployments.
  • Authentication & Multi-Token Workflows: Log in, log out, switch between tokens, and check the current user to support team or environment-specific access.
  • Operational Hub Automation: Create/manage repos, branches/tags, discussions/PRs, inference endpoints, jobs, Spaces, buckets, cache, and webhooks to support end-to-end MLOps pipelines.

Quick Start

Run the command to download a model snapshot from the Hugging Face Hub for a specific repository ID.

Frequently Asked Questions about huggingface-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Hugging Face Hub model and dataset downloads?

To automate Hugging Face Hub downloads, you can use this Skill to execute CLI workflows that search, retrieve metadata, and download model snapshots or datasets programmatically without manual browsing.

Can I manage Hugging Face inference endpoints and Spaces from the CLI?

Yes, you can manage Hugging Face inference endpoints, Spaces, jobs, and webhooks from the CLI by applying this Skill to automate operational Hub tasks within your MLOps pipelines.

What is the best way to handle multi-token authentication for Hugging Face?

The best way to handle Hugging Face multi-token authentication is using CLI commands to log in, log out, switch tokens, and check the current user for team or environment-specific access.

Does the Hugging Face Hub CLI support managing branches, tags, and discussions?

Yes, the Hugging Face Hub CLI supports managing repository branches, tags, and discussions or PRs, enabling automated artifact management and collaborative workflows directly from the command line.

How do I get machine-readable JSON output for Hugging Face Hub resources?

You can get machine-readable JSON output for Hugging Face Hub resources by applying JSON formatting flags to the CLI commands executed through this Skill for resource inspection.

What are the limitations of using CLI commands for Hugging Face MLOps workflows?

A limitation of using CLI commands for Hugging Face MLOps workflows is that this Skill requires the hf CLI for execution and focuses strictly on artifact management, lacking built-in model training or inference execution logic.