What is hf-cli?
hf-cli is a Claude skill by huggingface that hF CLI tool for Hub operations. It is listed under Other and has 11,180 GitHub stars.
| Type | Claude skill |
|---|---|
| Author | huggingface |
| Repository | huggingface/skills |
| Popularity | 11,180 GitHub stars |
| Category | Other |
| Security | Review before installing (76/100) |
| Rank | #345 of 1,262 Claude skills; #76 in Other |
| SKILL.md length | 243 lines |
| License | Apache-2.0 |
| Last commit | 2026-10-08 |
| Stars this week | +21 |
Is hf-cli safe to install?
hf-cli scores 76/100 on the MCPMods security check: Review before installing. Things to review: pipes a downloaded installer into a shell. It passed 5 of 9 checks.
Skill results come from a static scan of its SKILL.md for instruction overrides, hidden actions, risky commands and credential access.
| Check | Result |
|---|---|
| No instruction-override phrases | Pass |
| No hidden actions | Pass |
| Pipes a downloaded installer into a shell | Review |
| No obfuscated code | Pass |
| No destructive commands | Pass |
| Reads keys or credentials | Note |
| Makes network requests | Note |
| No shell commands | Pass |
| Installs packages | Note |
What the scan matched
- pipe to shell:
curl -LsSf https://hf.co/cli/install.sh | bash - credentials:
HF_TOKEN - network:
curl - package install:
brew install
How do I install hf-cli?
- Install with the skills CLI. Works for Claude Code and other agents that read skills.
npx skills add https://github.com/huggingface/skills --skill hf-cli
- Or copy it by hand. Claude Code loads any folder with a SKILL.md from ~/.claude/skills.
git clone https://github.com/huggingface/skills cp -r skills/skills/hf-cli ~/.claude/skills/hf-cli
- Use it. Claude loads the skill when a task matches its description. You can also name it in your prompt.
Use the hf-cli skill to …
Or ask Claude to set it up
Paste this into Claude Code and it installs hf-cli for you:
Install the "hf-cli" skill from https://github.com/huggingface/skills/tree/main/skills/hf-cli into ~/.claude/skills, then tell me in one line what it does.
More from huggingface/skills
This repository has at least 9 Claude skills on MCPMods.
- hugging-face-dataset-viewer: Browse and query HF datasets with the Dataset Viewer API (Not scanned)
- hugging-face-datasets: Create and manage datasets with configs and SQL querying (Not scanned)
- hugging-face-evaluation: Model evaluation with vLLM/lighteval and eval tables (Not scanned)
- hugging-face-jobs: Run compute jobs and Python scripts on HF infrastructure (Not scanned)
- hugging-face-model-trainer: Train models with TRL: SFT, DPO, GRPO, GGUF conversion (Not scanned)
- hugging-face-paper-pages: Create and manage paper pages on HF Hub (Not scanned)
- hugging-face-paper-publisher: Publish papers on HF Hub with model/dataset links (Not scanned)
- hugging-face-tool-builder: Build reusable scripts for HF API operations (Not scanned)