huggingface-hub

Manage Hugging Face Hub repositories for models, datasets, and Spaces via CLI.

19|4|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill huggingface-hub-carterwayneskhizeine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/carterwayneskhizeine/hermes-agent-windows-R/tree/main/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill huggingface-hub-carterwayneskhizeine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI (hf) helps you avoid repetitive web-console work by giving a consistent command-line way to search, download, upload, and manage Hugging Face Hub resources.

Core Features & Use Cases

  • Model, dataset, and repo management: List and inspect models/datasets, create and delete repos, and move or branch/tag references for organization and release workflows.
  • High-throughput transfers: Use purpose-built upload commands like upload-large-folder for resumable, large directory uploads.
  • MLOps automation: Manage environments, deploy inference endpoints, run jobs, and control Spaces with dev-mode and hot-reload for fast iteration.

Quick Start

Run: hf models list to quickly see available models on the Hub.

Frequently Asked Questions about huggingface-hub

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

FAQPage Schema
How do I manage Hugging Face models and datasets from the command line?

You can manage Hugging Face models and datasets from the command line by using the modern `hf` CLI to search, download, upload, and inspect repositories. It provides structured outputs for direct integration into your MLOps scripting workflows.

What is the best way to upload large folders to a Hugging Face Hub repository?

The best way to upload large folders to a Hugging Face Hub repository is using the purpose-built `upload-large-folder` command. This CLI feature provides high-throughput transfers with resumable capabilities for syncing extensive directories.

Does the Hugging Face CLI support inference endpoint management and deployment automation?

Yes, the Hugging Face CLI supports inference endpoint management and deployment automation. You can manage environments, deploy inference endpoints, run jobs, and control Spaces directly using command-line instructions.

How do I authenticate the hf CLI for automated repository uploads and downloads?

You authenticate the hf CLI for automated uploads and downloads by providing an access token. This requires using proper authentication via the `HF_TOKEN` environment variable or the `--token` flag during your command execution.

Can I list and inspect Hugging Face Spaces using command-line tools?

Yes, you can list and inspect Hugging Face Spaces using command-line tools. The `hf` CLI enables you to control Spaces, including features like dev-mode and hot-reload, to facilitate fast iteration during application development.