huggingface-hub

Automate Hugging Face Hub asset management using the hf CLI.

97|8|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/peteromallet/megaplan --skill huggingface-hub-peteromallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/peteromallet/megaplan/tree/main/megaplan/agent/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/peteromallet/megaplan --skill huggingface-hub-peteromallet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI provides a modern interface to manage repositories, models, datasets, Spaces, and endpoints, enabling developers to perform hub operations from the command line without a web UI.

Core Features & Use Cases

  • Manage repositories, models, datasets, and Spaces with the hf CLI.
  • Authenticate, upload, download, duplicate, and deploy resources across the Hub.
  • Explore datasets and models and deploy inference endpoints to accelerate ML workflows.

Quick Start

Run hf to list, download, upload, and deploy items on the Hugging Face Hub and begin your workflow.

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 Hub repositories from the command line?

The hf CLI automates Hugging Face Hub repository management, letting you authenticate, search, download, upload, and deploy assets directly from the command line without a web UI.

Can I upload and download datasets and models using the Hugging Face CLI?

Yes, the Hugging Face CLI supports uploading and downloading datasets and models. The hf commands handle repository operations for transferring assets to and from the Hub.

What is the best way to deploy inference endpoints on the Hugging Face Hub?

The best way to deploy inference endpoints on the Hugging Face Hub is via the hf CLI, which accelerates ML workflows by handling deployment operations alongside your models and datasets.

Do I need a token to authenticate with the Hugging Face CLI for repository operations?

Yes, token-based credentials are required to authenticate with the Hugging Face CLI. The hf CLI uses standard token-based authentication to authorize repository operations like upload and deployment.

Can I duplicate and explore Spaces using the Hugging Face command line interface?

Yes, you can duplicate and explore Spaces using the Hugging Face command line interface. The hf CLI enables you to manage Hub assets including Spaces across your ML workflows.

Does the Hugging Face CLI support searching for models and datasets?

Yes, the Hugging Face CLI supports searching for models and datasets. The hf commands allow you to explore and discover Hub assets directly from your terminal environment.