huggingface-hub

Automate Hugging Face Hub CLI tasks for models, datasets, and Spaces.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires hf-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the management of Hugging Face Hub resources such as models, datasets, and Spaces using the hf command-line interface, eliminating the need for manual navigation through the Hub interface.

Core Features & Use Cases

  • Model and Dataset Management: Efficiently download, upload, and sync models and datasets.
  • Authentication: Securely manage authentication tokens and access multiple Hub accounts.
  • Repository Operations: Create, duplicate, delete, and manage repositories on the Hub.
  • Use Case: Imagine you need to frequently update a dataset for a machine learning project. Use this Skill to download the latest dataset version directly from the Hub and update your project accordingly.

Quick Start

Use the hf download REPO_ID command to download a specific dataset from 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 download machine learning models and datasets from the Hugging Face Hub using the command line?

To download machine learning models and datasets from the Hugging Face Hub, use the command line interface to run `hf download REPO_ID`. This directly fetches the specified repository resources to your local environment.

Can I manage authentication tokens for multiple Hugging Face accounts via the CLI?

Yes, you can manage authentication tokens for multiple Hugging Face accounts via the CLI. The Skill securely handles authentication, allowing you to access and switch between different Hub accounts directly from the command line.

Do I need Python and the hf-cli installed to manage Hugging Face repositories?

Yes, you need a Python environment with the Hugging Face CLI installed to manage Hugging Face repositories. The Skill operates by automating the `hf-cli` command-line interface for all Hub resource interactions.

How do I create, duplicate, or delete Hugging Face Spaces without manual navigation?

You can create, duplicate, or delete Hugging Face Spaces without manual navigation by executing command-line operations. This automates repository management tasks directly against the Hub API, streamlining your workflow.

What is the best way to upload and sync updated datasets to the Hugging Face Hub?

The best way to upload and sync updated datasets to the Hugging Face Hub is by using the `hf` command-line interface. It automates the syncing process, replacing manual uploads through the Hub's web interface.

Why automate Hugging Face Hub resource management instead of using the web interface?

Automating Hugging Face Hub resource management eliminates the need for manual navigation through the Hub interface. It streamlines frequent tasks like downloading, uploading, and syncing models or datasets directly from the command line.