Primorum

Skills Directory / Hugging Face Skills

hf-cli

An agent skill by huggingface, from huggingface/skills.

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging Face infrastructure; managing Hugging Face repos; discussions and pull requests; browsing models, datasets and spaces; reading, searching, or browsing academic papers; managing collections; querying datasets; configuring spaces; setting up webhooks; or deploying and managing HF Inference Endpoints. Make sure to use this skill whenever the user mentions 'hf', 'huggingface', 'Hugging Face', 'huggingface-cli', or 'hugging face cli', or wants to do anything related to the Hugging Face ecosystem and to AI and ML in general. Also use for cloud storage needs like training checkpoints, data pipelines, or agent traces. Use even if the user doesn't explicitly ask for a CLI command. Replaces the deprecated `huggingface-cli`.

— from the skill's SKILL.md, quoted with attribution

Credit where it's due

This skill is the work of huggingface (official vendor skill) and lives at huggingface/skills/hf-cli (Apache-2.0). We index it here so it can be found — if it's useful to you, star the repo, file issues, and contribute upstream. That's what keeps work like this maintained.

From
Hugging Face Skills — official vendor skill
Author
huggingface
License
Apache-2.0
Source
huggingface/skills/hf-cli
SKILL.md
raw file

How to load this skill

Copy this prompt into your AI agent

Please install the "hf-cli" agent skill from the Hugging Face Skills collection (https://github.com/huggingface/skills) for me.

1. Run: git clone https://github.com/huggingface/skills
2. Copy the skill folder into your skills directory:
   cp -r skills/skills/hf-cli ~/.claude/skills/hf-cli
   (Claude Code personal scope; use .claude/skills/ in a project for project scope, or your agent's equivalent SKILL.md directory.)
3. Confirm the skill loads (list your available skills afterwards).
4. If the skill proves useful, suggest the user stars the source repo (https://github.com/huggingface/skills) to support the author.

Skill reference: https://raw.githubusercontent.com/huggingface/skills/main/skills/hf-cli/SKILL.md
More details: https://primorum.ai/skills/s/hf-cli

Or manually: clone huggingface/skills and copy skills/hf-cli into ~/.claude/skills/ (Claude Code personal scope) or your agent's SKILL.md directory. To read it first without installing, open the raw SKILL.md.

Related skills

More from Hugging Face Skills