huggingface-hub

Search, download, and manage Hugging Face Hub models, datasets, and Spaces via CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI enables developers to manage repositories, models, datasets, and Spaces directly from the command line, simplifying workflows for uploading, downloading, and organizing hub assets.

Core Features & Use Cases

  • Search and list models, datasets, and Spaces on HF Hub.
  • Download and upload models, datasets, and spaces, and query datasets with SQL-like commands.
  • Deploy or manage Inference Endpoints and Spaces from scripts or CI pipelines.

Quick Start

Install the hf CLI and begin searching, downloading, and uploading assets on your Hugging Face 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 models and datasets from the Hugging Face Hub using the CLI?

You can download models and datasets from the Hugging Face Hub by using the hf CLI to search for specific repositories and pull assets directly to your local environment. This streamlines ML experimentation and AI model development workflows.

Can I deploy and manage Hugging Face Spaces from a CI/CD pipeline?

Yes, you can deploy and manage Hugging Face Spaces from CI/CD pipelines by executing hf CLI commands within your scripts. This allows automated deployment and management of Inference Endpoints and Spaces directly from your continuous integration workflows.

What is the best way to search for Hugging Face models from the command line?

The best way to search for Hugging Face models from the command line is using the hf CLI. It enables developers to list and search for models, datasets, and Spaces directly on the Hugging Face Hub without leaving the terminal environment.

Does the Hugging Face Hub CLI support querying datasets with SQL-like commands?

Yes, the Hugging Face Hub CLI supports querying datasets with SQL-like commands. You can use the hf CLI to search, download, and upload datasets while performing SQL-like queries to filter and extract specific data.

How do I authenticate and manage Hugging Face repositories in scripts?

You authenticate and manage Hugging Face repositories in scripts by using standard Hugging Face workflows integrated into the hf CLI. This handles authentication and repo management, simplifying the process of uploading and organizing hub assets programmatically.