Hugging Face CLI
Hugging Face's skill that teaches an agent the hf command line: models, datasets, Spaces, buckets, jobs and Inference Endpoints. It replaces the old huggingface-cli.
hf-cli is the bootstrap skill in Hugging Face's official skills repository. It teaches an agent every command of the hf CLI, covering authentication, the local cache, models, datasets, Spaces, repos, buckets, jobs, papers, collections, webhooks and Inference Endpoints. The skill file is generated from the locally installed CLI, so it follows the version you actually have. It also notes that hf replaces the deprecated huggingface-cli and that auth commands now live under hf auth. Hugging Face lists it in the Cursor marketplace and the Codex plugin directory as well as for Claude Code. The wider repo carries many other skills for training, datasets, Gradio and more, installed on demand with hf skills add.
Review
Written from the maker's own published material. Not a hands-on test.
The right first install for anyone using the Hugging Face Hub from an agent.
Good at
- Generated from your installed CLI, so commands match your version
- Official and also listed in the Cursor marketplace and Codex plugin directory
- Covers the whole Hub, not just model downloads
- The repo has further skills for training and datasets when you need them
Watch out
- Adds nothing if you do not use the Hugging Face Hub
- You still need to install and authenticate the hf CLI separately
- The rest of the repo's skills are installed by a different command, which can confuse newcomers
- Regenerating the skill is a manual step (hf skills add --force)
Use cases
- Downloading or uploading models and datasets from an agent session
- Launching and managing Spaces and jobs without remembering flags
- Searching papers and datasets on the Hub
- Moving off the deprecated huggingface-cli commands