hf-cli

Manage Hugging Face Hub repositories, models, datasets, and Spaces.

Updated May 4, 2026
One-click install
npx skills add https://github.com/luokai25/luo-ai-skills-market --skill hf-cli-luokai25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/luokai25/luo-ai-skills-market/tree/main/09-data-and-ai%20%28by%20Luo%20Kai%29/09-huggingface/hf-hf-cli
Command: npx skills add https://github.com/luokai25/luo-ai-skills-market --skill hf-cli-luokai25

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing repositories, models, datasets, and Spaces on the Hugging Face Hub, replacing the deprecated huggingface-cli command.

Core Features & Use Cases

  • Repository Management: Download, upload, and manage repositories and models.
  • Dataset Management: Download and upload datasets.
  • Space Management: Create and manage Spaces on the Hub.
  • Use Case: Quickly synchronize local files with Hugging Face Hub repositories or manage your model repository with ease.

Quick Start

Use the hf-cli skill to download a model by its ID '123456789'.

Frequently Asked Questions about hf-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Hugging Face Hub repositories after huggingface-cli is deprecated?

You can manage Hugging Face Hub repositories by using the huggingface_hub library, which provides the functionality to replace the deprecated huggingface-cli commands. It allows you to download, upload, and synchronize your models, datasets, and Spaces directly.

What is the best way to upload and download Hugging Face datasets?

The best way to upload and download Hugging Face datasets is by using the huggingface_hub library. This approach streamlines dataset synchronization and replaces the deprecated command line interface for managing your Hub data.

Do I need to install huggingface_hub to manage Hugging Face Spaces?

Yes, you need to install the huggingface_hub library to create and manage Hugging Face Spaces. This Skill relies on the library as a dependency to execute Hub operations and replace the deprecated command line interface.

How do I synchronize local files with a Hugging Face model repository?

To synchronize local files with a Hugging Face model repository, use the repository management features provided by the huggingface_hub library. This allows you to easily upload local updates and manage your model repository on the Hub.

Can I manage all my Hugging Face models, datasets, and Spaces from one tool?

Yes, you can manage all your Hugging Face models, datasets, and Spaces from one tool by using the huggingface_hub library. It handles repository management, dataset synchronization, and Space creation within a single workflow.