hf-cli: Enabling Agents to Interact with the Hugging Face Hub the Official Way
hf-cli is an Agent Skill in Hugging Face's official skills repository that guides coding assistants to use the `hf` command to download, upload, and manage Hub resources such as models, datasets, Spaces, cache, and buckets, replacing the deprecated huggingface-cli. The article covers the skill's purpose, core command groups (auth, download, upload, cache, buckets, etc.), installation via the CLI and `npx skills add`, and typical reproducible examples with usage notes.
Read More