huggingface-hub

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies and streamlines interactions with the Hugging Face Hub by providing a clear reference for using the hf CLI to search, download, upload, and manage models, datasets, and Spaces.

Core Features & Use Cases

  • CLI-driven management: search, download, upload, and sync models and datasets on the Hub.
  • Project collaboration: manage repositories and permissions across teams.
  • Automation friendly: scriptable with standard CLI flags for reproducible workflows.

Quick Start

Install the hf CLI and run a sample command to list available models on the 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 manage Hugging Face Hub models and datasets from the CLI?

You can manage Hugging Face Hub models and datasets from the CLI by using the hf CLI to search, download, upload, and sync artifacts with standard command flags. It enforces authentication flows and command syntax to perform repository operations reliably.

Can I automate Hugging Face Hub uploads and downloads for reproducible workflows?

Yes, you can automate Hugging Face Hub uploads and downloads because the hf CLI is automation friendly and scriptable with standard CLI flags, enabling reproducible workflows for managing models and datasets.

What is the best way to manage Hugging Face repository permissions across teams?

The best way to manage Hugging Face repository permissions across teams is using the hf CLI, which provides programmatic management for repositories and Spaces to support project collaboration and access control.

Do I need authentication to interact with Hugging Face Hub spaces and models?

Yes, you need authentication to interact with Hugging Face Hub spaces and models. The hf CLI enforces authentication flows to ensure you can reliably search, download, upload, and manage assets across your teams.

Does the hf CLI support searching and downloading artifacts on the Hugging Face Hub?

Yes, the hf CLI supports searching and downloading artifacts on the Hugging Face Hub. It enables programmatic management of models, datasets, and Spaces via standard command syntax for reliable asset retrieval.

Are there limitations when using the hf CLI for Hugging Face Hub automation?

The hf CLI enforces strict command syntax and authentication flows for Hugging Face Hub automation, meaning operations require valid credentials and correct flags to reliably execute repository management and artifact transfers.