hf-cli

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

303|41|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/burtenshaw/multiautoresearch --skill hf-cli-burtenshaw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/burtenshaw/multiautoresearch/tree/main/.agents/skills/hf-cli
Command: npx skills add https://github.com/burtenshaw/multiautoresearch --skill hf-cli-burtenshaw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI (hf) consolidates repository, model, dataset, and Space management into a single, scriptable tool, replacing older command-line tools and reducing manual overhead.

Core Features & Use Cases

  • Authentication and repo operations: login, list, create, delete, and manage hub assets.
  • Asset management: upload and download models and datasets to and from the Hugging Face Hub.
  • Environment inspection & CI integration: inspect configuration, hubs, and status within automated workflows.

Quick Start

Authenticate with the Hugging Face Hub and begin managing assets from the command line.

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

The hf CLI allows you to manage Hugging Face repositories from the command line by scripting login, creation, deletion, and listing of hub assets. It consolidates repo, model, and dataset management into a single tool.

How do I upload and download models and datasets to Hugging Face Hub?

You upload and download models and datasets to Hugging Face Hub using the hf CLI asset management commands. It enables scriptable hub operations for transferring data between local environments and the Hub.

Can I use the Hugging Face CLI for CI and automation workflows?

You can use the Hugging Face CLI for CI and automation workflows because the hf CLI supports environment inspection and status checks, making it ideal for integrating scriptable hub operations into automated pipelines.

Do I need authentication tokens to manage Hugging Face assets via CLI?

You need authentication with HF tokens to manage Hugging Face assets via CLI. The hf CLI requires valid token authentication to perform operations like uploading and downloading models or datasets.

What is the best way to script Hugging Face Hub operations for data teams?

The best way to script Hugging Face Hub operations for data teams is using the hf CLI. It provides a single, scriptable tool to replace older command-line utilities and reduce manual overhead for managing models and datasets.