huggingface-hub

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hugging Face Hub provides a command-line interface to search, download, upload, and manage models, datasets, and Spaces, simplifying ML workflows and collaboration.

Core Features & Use Cases

  • Hub management: list repositories, fetch metadata, upload new models or datasets, and synchronize local work with the Hub.
  • Workflow automation: script common HF Hub tasks in CI/CD pipelines or local routines for reproducible ML development.
  • Use Case: Imagine preparing a new model for deployment; use the hf CLI to push files, set metadata, and publish to a desired repository.

Quick Start

Install the hf CLI and start managing models and datasets from your terminal.

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 by using the hf CLI to search, download, upload, and synchronize models and datasets directly from your terminal. This simplifies ML workflows and collaboration.

What's the best way to automate Hugging Face model deployment in a CI/CD pipeline?▼

Automating Hugging Face model deployment is best achieved by scripting common Hub tasks with the hf CLI within your CI/CD pipelines. This allows you to push files, set metadata, and publish models for reproducible ML development.

Do I need an authentication token to upload datasets to Hugging Face via CLI?▼

Yes, uploading datasets to Hugging Face via the CLI requires an authentication token setup and access to a Hugging Face account. You must also have the hf CLI installed to execute repository maintenance commands.

Can I fetch metadata for existing Hugging Face models without downloading the full files?▼

Yes, you can fetch metadata for existing Hugging Face models using the hf CLI. The CLI enables you to list repositories and retrieve model details locally without needing to download the entire dataset or model weights.

Why use the command line for Hugging Face dataset curation instead of the web interface?▼

Using the command line for Hugging Face dataset curation allows you to script repetitive repository maintenance tasks and synchronize local work with the Hub. This approach streamlines workflows compared to manual web interface interactions.