hf-cli

Manage Hugging Face Hub resources via the hf-cli command-line interface.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/Andrew-Girgis/token-holdem --skill hf-cli-andrew-girgis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/Andrew-Girgis/token-holdem/tree/main/.agents/skills/hf-cli
Command: npx skills add https://github.com/Andrew-Girgis/token-holdem --skill hf-cli-andrew-girgis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface-cli, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of downloading, uploading, managing, and interacting with various resources on the Hugging Face Hub, such as models, datasets, spaces, buckets, and more.

Core Features & Use Cases

  • Hugging Face Hub CLI: A comprehensive command-line interface for managing Hugging Face Hub resources.
  • Model and Dataset Management: Download, upload, and manage models and datasets from the Hugging Face Hub.
  • Space and Bucket Management: Create, manage, and interact with Hugging Face Spaces and Buckets.
  • Job Management: Run and manage Jobs on the Hugging Face Hub.
  • Use Case: If you need to download a specific model from the Hugging Face Hub or manage a dataset you have uploaded, this Skill can help you do it efficiently.

Quick Start

Use the hf-cli skill to download a model by its repository ID:

hf-cli download <REPO_ID>

Frequently Asked Questions about hf-cli

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

FAQPage Schema
How do I download a model from the Hugging Face Hub using the command line?

To download a Hugging Face model, use the hf-cli command-line interface with the download command followed by the repository ID. This Skill requires the huggingface-cli tool to fetch models directly from the Hub.

Can I manage Hugging Face Spaces and Buckets from the CLI?

Yes, you can manage Hugging Face Spaces and Buckets from the CLI. This Skill supports creating, interacting with, and managing Spaces and Buckets alongside your standard model and dataset operations.

What do I need to upload datasets to the Hugging Face Hub via command line?

To upload datasets to the Hugging Face Hub, you need the huggingface-cli command-line tool installed. This Skill provides the necessary interface to efficiently upload and manage your dataset repositories.

How does running Jobs on the Hugging Face Hub work through a CLI tool?

Running Jobs on the Hugging Face Hub through a CLI tool allows you to execute and manage tasks directly from your terminal. This Skill interfaces with the huggingface-cli to handle Hub Job operations efficiently.

What is the best way to manage Hugging Face Hub resources for automated pipelines?

The best way to manage Hugging Face Hub resources for automated pipelines is using a command-line interface. This Skill enables programmatic downloading, uploading, and management of models, datasets, and Spaces.

Does the Hugging Face Hub CLI support managing both models and datasets simultaneously?

Yes, the Hugging Face Hub CLI supports managing both models and datasets. This Skill provides a comprehensive command-line interface to download, upload, and organize both resource types concurrently from the Hub.