huggingface-hub

Manage Hugging Face Hub resources via the hf CLI.

11|Updated May 17, 2026
One-click install
npx skills add https://github.com/StarryCod/cogitum --skill huggingface-hub-starrycod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/StarryCod/cogitum/tree/main/cogitum/data/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/StarryCod/cogitum --skill huggingface-hub-starrycod

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines interacting with the Hugging Face Hub by providing concise reference usage and practical examples for the hf CLI, enabling faster model, dataset, and Spaces management.

Core Features & Use Cases

  • Commands & Workflows: hf download, hf upload, hf repos, and authentication workflows to manage hub resources from the CLI.
  • Scope & Scenarios: Useful for teams deploying models, datasets, and Spaces, performing repository operations, and automating common tasks across Linux, macOS, and Windows.
  • Use Case: Imagine a workflow where you regularly update a model on the hub; this skill guides you through authentication, listing, and uploading new versions efficiently.

Quick Start

Install the Hugging Face CLI and run hf --help to view available commands.

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 resources from the command line?

You can manage Hugging Face Hub resources from the command line by using the hf CLI for search, download, upload, and repository management across models, datasets, and Spaces.

What do I need to use the hf CLI for uploading models and datasets?

To use the hf CLI for uploading models and datasets, you need the CLI installed and a configured access token to authenticate and perform repository operations.

How do I download specific models from the Hugging Face Hub?

You download specific models from the Hugging Face Hub by executing the hf download command, which retrieves repository files directly to your local environment.

Does the Hugging Face CLI work on Windows for Spaces workflows?

Yes, the Hugging Face CLI works on Windows, as well as Linux and macOS, supporting Spaces workflows and standard repository management tasks across these operating systems.

What is the best way to automate updating a model on the Hugging Face Hub?

The best way to automate updating a model on the Hugging Face Hub is using the hf upload command within your scripts to push new versions efficiently after authenticating.

Are there limitations when using the hf CLI for repository operations?

Limitations of the hf CLI for repository operations include requiring a pre-configured access token and the CLI tool itself installed locally to execute any management commands.