huggingface-hub

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a streamlined, command-line interface to manage Hugging Face Hub resources—repositories, models, datasets, Spaces, and endpoints—reducing context switching and enabling automation.

Core Features & Use Cases

  • Search and discover models, datasets, and Spaces on the Hub using concise CLI commands.
  • Download, upload, and synchronize repositories and assets; deploy inference endpoints; and manage Spaces, buckets, and access permissions.
  • Use cases include rapid model distribution in teams, dataset curation, and deploying accessible endpoints for demos.

Quick Start

Install the Hugging Face Hub CLI and start by authenticating and listing your repositories.

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 provides a command-line interface to control and automate Hugging Face Hub resources, allowing you to search, download, upload, and synchronize repositories, models, datasets, and Spaces without switching contexts.

Can I query Hugging Face datasets using SQL via the CLI?

Yes, the hf CLI supports SQL-based dataset queries across ML workflows. You can execute SQL commands directly through the CLI to search, filter, and extract specific data segments from Hugging Face datasets.

How do I deploy inference endpoints and Spaces on Hugging Face?

The hf CLI enables you to deploy inference endpoints and manage Spaces directly from the terminal. You can handle space deployment, manage buckets, configure access permissions, and launch accessible endpoints for demos using concise commands.

Does the Hugging Face CLI require authentication to upload models?

Yes, authentication is required to upload models and manage repositories. The hf CLI satisfies authentication requirements, allowing you to securely log in and verify your account before performing asset operations or space deployment.

What is the best way to automate model distribution for a team?

Using the hf CLI to upload and synchronize repositories provides a streamlined way to automate model distribution in teams. It enables rapid asset synchronization and dataset curation through automated command-line operations.