Home / Claude skills / Other / hf-cli

hf-cli

hf-cli is a Claude skill by huggingface that hF CLI tool for Hub operations.

Updated 2026-10-08

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.

TypeClaude skill
Authorhuggingface
Repositoryhuggingface/skills
Popularity11,180 GitHub stars
CategoryOther
SecurityReview before installing (76/100)
Rank#345 of 1,262 Claude skills; #76 in Other
SKILL.md length243 lines
LicenseApache-2.0
Last commit2026-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.

CheckResult
No instruction-override phrasesPass
No hidden actionsPass
Pipes a downloaded installer into a shellReview
No obfuscated codePass
No destructive commandsPass
Reads keys or credentialsNote
Makes network requestsNote
No shell commandsPass
Installs packagesNote

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?

  1. 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
  2. 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
  3. 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.