hf-cli

Manage Hugging Face Hub assets via hf CLI commands.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/domattioli/DomI --skill hf-cli-domattioli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/domattioli/DomI/tree/main/plugins/huggingface-skills/skills/hf-cli
Command: npx skills add https://github.com/domattioli/DomI --skill hf-cli-domattioli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hugging Face Hub operations are scattered across web UI and APIs. This skill provides a unified CLI to streamline authentication, repository management, and asset handling directly from the terminal.

Core Features & Use Cases

  • Authenticate and manage access tokens with hf auth commands.
  • Download, upload, and manage models, datasets, spaces, and buckets from the Hub.
  • Automate routine HF Hub tasks in CI/CD pipelines or local workflows.

Quick Start

Install hf and begin interacting with the Hugging Face Hub from your 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 assets from the command line?

You can manage Hugging Face Hub assets from the command line using the hf CLI. It streamlines authentication, repository management, and asset handling directly from your terminal to automate local workflows.

What is the best way to automate Hugging Face Hub tasks in CI/CD pipelines?

Automating Hugging Face Hub tasks in CI/CD pipelines is best handled by the hf CLI. It enables scripted authentication, uploads, downloads, and repository management directly within your automation workflows.

Can I download and upload models and datasets from the Hugging Face Hub via CLI?

Yes, you can download and upload models, datasets, spaces, and buckets from the Hugging Face Hub via CLI. The hf CLI provides dedicated subcommands for managing these assets directly from your terminal.

Do I need the hf CLI installed to authenticate and manage access tokens for Hugging Face?

Yes, you need the hf CLI installed to authenticate and manage access tokens for Hugging Face. The skill requires the CLI environment to execute hf auth commands and handle repository operations.

Why use a CLI for Hugging Face Hub operations instead of the web UI?

Using a CLI for Hugging Face Hub operations unifies scattered web UI and API tasks into a single terminal interface. This approach streamlines routine asset management and enables seamless automation in local scripts.