huggingface-hub

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

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/tangzheng202202/hermes-skills --skill huggingface-hub-tangzheng202202
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/tangzheng202202/hermes-skills/tree/main/03-mlops/mlops/huggingface-hub
Command: npx skills add https://github.com/tangzheng202202/hermes-skills --skill huggingface-hub-tangzheng202202

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Search, download, upload, and manage models, datasets, Spaces, and repos on the Hugging Face Hub directly from the command line, reducing manual steps and improving reproducibility.

Core Features & Use Cases

  • Model & Dataset Management: search, download, upload, and version control repos and assets on the Hub.
  • End-to-end Hub Operations: query datasets with SQL, deploy inference endpoints, manage Spaces and buckets, all from the hf CLI.
  • Use Case: Implement CI/CD workflows to provision models and datasets, test locally, and push changes back to the Hub.

Quick Start

Install the Hugging Face CLI and run a quick search for a model or dataset.

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 models and datasets from the command line?

You can manage Hugging Face models and datasets from the command line by using the hf CLI to search, download, upload, and version control repositories directly, reducing manual steps and improving reproducibility.

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

Yes, you can query Hugging Face datasets with SQL using the hf CLI, which supports end-to-end hub operations including dataset queries, deploying inference endpoints, and managing Spaces and buckets.

Does the Hugging Face CLI work for provisioning models in CI/CD pipelines?

The Hugging Face CLI works for provisioning models in CI/CD pipelines by allowing engineers to automate model provisioning, test locally, and push changes back to the Hub for reproducible workflows.

What is the best way to automate Hugging Face Spaces deployment?

The best way to automate Hugging Face Spaces deployment is using the hf CLI, which enables you to manage Spaces, deploy inference endpoints, and handle repository management tasks directly within your automation scripts.

How to upload and version control repos on the Hugging Face Hub via CLI?

To upload and version control repos on the Hugging Face Hub via CLI, use the hf CLI tool to push changes back to the Hub, ensuring your model provisioning and dataset curation workflows remain reproducible.