huggingface-hub

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

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/photonics-dhl/Hermes --skill huggingface-hub-photonics-dhl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/photonics-dhl/Hermes/tree/main/hermes-home/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/photonics-dhl/Hermes --skill huggingface-hub-photonics-dhl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hugging Face Hub CLI enables developers to manage models, datasets, Spaces, and repositories from the command line, streamlining ML ops and automation workflows.

Core Features & Use Cases

  • Search, download, upload, sync, and deploy endpoints for models, datasets, and Spaces.
  • Manage repositories, branches, and permissions on the Hugging Face Hub.
  • Use cases include integrating model deployment into CI/CD pipelines and cataloging datasets across teams.

Quick Start

Install the Hugging Face CLI, authenticate with your token or environment variable, and begin managing models, datasets, and Spaces with hf.

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?

You can manage Hugging Face Hub repositories from the command line by using the hf CLI to search, download, upload, sync, and organize models, datasets, and Spaces directly through terminal commands.

How do I download and upload Hugging Face datasets using the CLI?

To download and upload Hugging Face datasets, use the hf CLI commands to sync local files with your Hub repositories. This requires installing the CLI and authenticating with your Hub account token.

Do I need an access token to deploy Hugging Face Spaces via the CLI?

Yes, deploying Hugging Face Spaces via the CLI requires an access token for authentication. You must authenticate using a token or an environment variable to access your Hugging Face Hub account.

What is the best way to integrate Hugging Face model deployment into a CI/CD pipeline?

The best way to integrate Hugging Face model deployment into a CI/CD pipeline is using the hf CLI to automate syncing and deploying endpoints for models and datasets directly from your automation scripts.

Can I manage repository branches and permissions on the Hugging Face Hub remotely?

Yes, you can manage repository branches and permissions on the Hugging Face Hub remotely by executing specific hf CLI commands to organize repositories and configure access controls across teams.