Delv
Hugging Face

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.

Agents are poor at command line tools that change names. The Hugging Face CLI did exactly that, moving from huggingface-cli to hf and shifting auth under hf auth, which is the kind of change a model trained on older material gets wrong. This skill exists to fix that, and generating it from the installed CLI is the right design: the instructions cannot drift from the binary you actually run. It is a bootstrap skill, so its job is small and clear. Install it, and the agent knows how to search, download, upload, run jobs and manage Spaces. If you want training or dataset workflows, the same repo has separate skills for that, installed on demand. For anyone who touches the Hub regularly, it is a low-risk addition. For everyone else it is irrelevant.
Verdict

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

Similar Skills