huggingface-hub

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

Updated May 3, 2026
One-click install
npx skills add https://github.com/JuanMS20/solviora-agent --skill huggingface-hub-juanms20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/JuanMS20/solviora-agent/tree/main/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/JuanMS20/solviora-agent --skill huggingface-hub-juanms20

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI enables quick, scriptable management of repositories, models, datasets, and Spaces from the command line, eliminating repetitive manual tasks.

Core Features & Use Cases

  • General operations to search, download, upload, and manage repositories, models, datasets, and Spaces via the hf CLI
  • Authentication and token management for secure access
  • Advanced hub interactions for datasets, models, and Spaces including info, lists, and deployments
  • Use case example: data scientists auto-provision models and datasets in CI pipelines

Quick Start

Install the Hugging Face CLI and start interacting with the Hub to manage models, datasets, and Spaces.

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 Hugging Face Hub CLI lets you manage repositories from the command line by providing general operations to search, download, upload, and organize models, datasets, and Spaces for scriptable automation.

Can I automate deploying Hugging Face Spaces in CI pipelines?

Yes, you can automate deploying Hugging Face Spaces in CI pipelines using the hf CLI. It supports advanced hub interactions including deployments, allowing data scientists to auto-provision resources without manual intervention.

How do I handle authentication for Hugging Face Hub API access?

You handle authentication for Hugging Face Hub access using the CLI's built-in token management features. This ensures secure access when fetching models, organizing datasets, or deploying Spaces in automation pipelines.

What's the best way to download and organize Hugging Face datasets via CLI?

The best way to download and organize Hugging Face datasets via CLI is using the hf command's advanced hub interactions. It provides specific actions for datasets including fetching info and managing lists directly from the terminal.

Does the Hugging Face CLI work for managing both models and datasets?

Yes, the Hugging Face CLI works for managing both models and datasets. It supports advanced hub interactions for both assets, enabling you to fetch models, organize datasets, and perform repository operations in one tool.