Back to skills

hf-cli

ai-tools

The `hf` CLI manages Hugging Face Hub repositories, models, datasets, and Spaces from the terminal. It handles downloads, uploads, cache, inference endpoints, jobs, and webhooks. It replaces the depre

Setup & Installation

npx skills add https://github.com/huggingface/hf-cli --skill hf-cli
or paste the link and ask your coding assistant to install it
https://github.com/huggingface/hf-cli
View on GitHub

What This Skill Does

The `hf` CLI manages Hugging Face Hub repositories, models, datasets, and Spaces from the terminal. It handles downloads, uploads, cache, inference endpoints, jobs, and webhooks. It replaces the deprecated `huggingface-cli` command. It covers the full Hub lifecycle in one binary, so you can download, upload, manage endpoints, run jobs, and handle auth without switching between the web UI, Python scripts, and separate tools.

When to use it

  • Working with hf cli functionality
  • Implementing hf cli features
  • Debugging hf cli related issues