Agent skill · Hugging Face

Hugging Face CLI skill for Claude Code, Codex and Cursor

Uses the hf command line to download, upload and manage models, datasets, Spaces and jobs.

Officialname: hf-cli★ 11k (repo)pushed 2026-10-23Apache-2.0SKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub.

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install Hugging Face CLI

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add huggingface/skills --skill hf-cli

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

What's in the SKILL.md

20 sections
  • Commands
  • hf auth — Manage authentication (login, logout, etc.).
  • hf buckets — Commands to interact with buckets.
  • hf cache — Manage local cache directory.
  • hf collections — Interact with collections on the Hub.
  • hf datasets — Interact with datasets on the Hub.
  • hf discussions — Manage discussions and pull requests on the Hub.
  • hf endpoints — Manage Hugging Face Inference Endpoints.
  • hf extensions — Manage hf CLI extensions.
  • hf jobs — Run and manage Jobs on the Hub.
  • hf models — Interact with models on the Hub.
  • hf papers — Interact with papers on the Hub.
  • hf repos — Manage repos on the Hub.
  • hf sandbox — Run and manage experimental sandboxes on Hugging Face Jobs.
  • hf skills — Manage skills for AI assistants.
  • hf spaces — Interact with spaces on the Hub.
  • hf webhooks — Manage webhooks on the Hub.
  • Common options
  • Mounting repos as local filesystems
  • Tips

Facts

Skill name
hf-cli
Publisher
Hugging Face (official)
Repo
huggingface/skills
License
Apache-2.0
SKILL.md size
3,792 words, 239 lines
Repo stars
11k (as of 2026-10-24)
SKILL.md checked
2026-11-07

Pairs with the Hugging Face MCP server: the server gives the agent the tools, the skill teaches it how to use them.

More skills from huggingface/skills

  • Gradio: Builds Gradio demo apps in Python: components, layouts, events and chat interfaces.
  • Hugging Face LLM Trainer: Fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs.
  • Transformers.js: Runs ML models for text, vision and audio directly in JavaScript or the browser.

Related ai & ml skills

FAQ

What does the hf-cli skill do?+

Uses the hf command line to download, upload and manage models, datasets, Spaces and jobs. In its own SKILL.md, Hugging Face describes it as: "Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub."

How do I install the hf-cli skill?+

Run npx skills add huggingface/skills --skill hf-cli and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/hf-cli/SKILL.md; in Codex and Cursor in .agents/skills/hf-cli/.

Does Hugging Face CLI work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains Hugging Face CLI?+

Hugging Face, the company or project behind it, in the huggingface/skills repo on GitHub, last pushed 2026-10-23. License: Apache-2.0.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers