Description
The hf CLI skill teaches an AI agent to use Hugging Face's command-line tool for the Hub. The hf command manages repositories, models, datasets, Spaces, buckets, papers and jobs from the terminal. It handles downloads, uploads, the local cache, inference endpoints, jobs and webhooks, and it covers authentication too. The skill's point is to keep the whole Hub lifecycle in one tool, so you can download, upload, manage endpoints and run jobs without switching between the web interface, Python scripts and separate utilities. The skill lists typical jobs: downloading a specific model revision to a local folder for offline use, uploading a large fine-tuned model with resumable multi-worker transfers, querying the parquet files of a dataset with raw SQL through DuckDB without writing code, deploying and scaling Inference Endpoints from the command line, and syncing a local training output folder to a Hub repository bucket. The hf command replaces the deprecated huggingface-cli command. Setup is done with npx skills add pointed at the Hugging Face skills repository, and the skill's SKILL.md file can be read in the listing. It is maintained as part of the official Hugging Face skills collection on officialskills.sh.…
Highlights
- Downloads and uploads for models and datasets
- Resumable multi-worker uploads of large models
- Inference Endpoints deployment from the terminal
- Dataset queries with raw SQL through DuckDB
- Replaces the deprecated huggingface-cli
Ratings & Reviews
No ratings yet
Be the first to rate huggingface/hf-cli.
People also visit
huggingface/hf-cli FAQ
What does the hf CLI do?
It manages Hugging Face Hub repositories, models, datasets, Spaces, buckets and jobs from the terminal, including downloads, uploads, cache and endpoints.
Does it replace huggingface-cli?
Yes. The skill says hf replaces the deprecated huggingface-cli command.
Can I query a dataset without code?
Yes. The skill describes running raw SQL against dataset parquet files through DuckDB.
How do I install the skill?
Run npx skills add https://github.com/huggingface/skills --skill hf-cli.
Who publishes it?
Hugging Face publishes the skill, and it is listed in the official skills directory at officialskills.sh.
What are the best huggingface/hf-cli alternatives?
Popular alternatives to huggingface/hf-cli include huggingface-tool-builder, huggingface/hugging-face-tool-builder and build-models. See all huggingface/hf-cli alternatives









