hf-cli
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 Bu
- License
- Apache-2.0
- SKILL.md tokens
- 8,459
- Bundled files
- 0
- Bundled tokens (estimated)
- 0
Cost per 1,000 loads
Estimated input cost per 1,000 loads of SKILL.md only (characters ÷ 4). Bundled files, output tokens and execution are excluded.
| Model | Input / 1M tokens | 1,000 loads |
|---|---|---|
| Claude Opus 5 | $5.00 | $42.30 |
| Claude Sonnet 5 | $2.00 | $16.92 |
| Claude Haiku 4.5 | $1.00 | $8.46 |
Safety flags
Detected automatically from files; not a security audit.
- Runs scripts
- No
- Network access
- Yes
- Shell commands
- Yes
Works with
Open SKILL.md format
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- OpenCode
- Goose
Install
npx skills add huggingface/skills --skill hf-cliLast verified:
hf-cli FAQ
What does the hf-cli skill do?
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 Bu Source: https://github.com/huggingface/skills/blob/main/skills/hf-cli/SKILL.md
What does the hf-cli skill cost to load?
SKILL.md is about 8,459 tokens. Estimated input cost per 1,000 loads: Claude Opus 5 $42.30; Claude Sonnet 5 $16.92; Claude Haiku 4.5 $8.46. Estimated input cost per 1,000 loads of SKILL.md only (characters ÷ 4). Bundled files, output tokens and execution are excluded. Prices: https://docs.anthropic.com/en/docs/about-claude/pricing
How do I install the hf-cli skill?
Skills CLI: npx skills add huggingface/skills --skill hf-cli. Claude Code: /plugin marketplace add huggingface/skills, then install the plugin from that marketplace. Download the hf-cli skill folder as a ZIP and upload it in Claude.ai skills settings.
Is the hf-cli skill safe?
Automatically detected flags: network access, shell commands. Flags are detected automatically from the skill's files and are not a security audit; review the SKILL.md before installing.