·hugging-face-cli
</>

hugging-face-cli

huggingface/skills

Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.

116Installs·3Trend·@huggingface

Installation

$npx skills add https://github.com/huggingface/skills --skill hugging-face-cli

SKILL.md

The hf CLI provides direct terminal access to the Hugging Face Hub for downloading, uploading, and managing repositories, cache, and compute resources.

| Login | hf auth login | | Download model | hf download | | Download to folder | hf download --local-dir ./path | | Upload folder | hf upload . . | | Create repo | hf repo create | | Create tag | hf repo tag create | | Delete files | hf repo-files delete | | List cache | hf cache ls | | Remove from cache | hf cache rm | | List models | hf models ls |

| Get model info | hf models info | | List datasets | hf datasets ls | | Get dataset info | hf datasets info | | List spaces | hf spaces ls | | Get space info | hf spaces info | | List endpoints | hf endpoints ls | | Run GPU job | hf jobs run --flavor a10g-small | | Environment info | hf env |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/huggingface/skills --skill hugging-face-cli
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is hugging-face-cli?

Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute. Source: huggingface/skills.

How do I install hugging-face-cli?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huggingface/skills --skill hugging-face-cli Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/huggingface/skills