hf-cli

Manage Hugging Face Hub resources via the hf CLI.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/gunottam/cloudops-hackathon-agent --skill hf-cli-gunottam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/gunottam/cloudops-hackathon-agent/tree/main/.agents/skills/hf-cli
Command: npx skills add https://github.com/gunottam/cloudops-hackathon-agent --skill hf-cli-gunottam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Download, upload, manage authentication and repository operations on the Hugging Face Hub using a single, standardized CLI, reducing manual setup and context switching for developers.

Core Features & Use Cases

  • Access, download, and upload models, datasets, spaces, buckets, and repos with the hf CLI.
  • Manage authentication, caches, and hub resources across CI/CD pipelines and local workflows.
  • Use cases include automating model deployment, repo maintenance, and bulk asset synchronization.

Quick Start

Install the HF CLI and start managing Hub resources from the terminal.

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

You can manage Hugging Face Hub resources from the command line by installing the hf CLI to execute authentication, downloads, uploads, and repository operations directly within your local developer workflows.

Can I automate Hugging Face model downloads and uploads in CI/CD pipelines?

Yes, you can automate Hugging Face model downloads and uploads in CI/CD pipelines by integrating the hf CLI commands to handle bulk asset synchronization and repository administration across automated environments.

What Hugging Face assets can I transfer using the command line interface?

Using the command line interface, you can transfer Hugging Face assets including models, datasets, spaces, buckets, and repos by executing the structured hf download and hf upload commands.

Do I need to install any dependencies to use Hugging Face CLI commands?

Yes, you need to install the standalone hf CLI as a prerequisite to authenticate your account and execute Hugging Face repository management commands within your local terminal environment.

What is the best way to handle Hugging Face authentication for bulk repo administration?

The best way to handle Hugging Face authentication for bulk repo administration is using the hf auth command, which standardizes access management before executing bulk transfers and repository operations.

Why use a standardized CLI for Hugging Face repository management instead of manual setup?

Using a standardized CLI for Hugging Face repository management reduces manual setup and context switching, accelerating developer workflows by consolidating downloads, uploads, and authentication into a single terminal interface.