Agent skill

hugging-face-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 Buckets; running or scheduling jobs on Hugging...

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill hugging-face-cli --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 28 KB
Bundled scripts: none
Path: skills/hugging-face-cli/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

The skill enables using the Hugging Face Hub CLI (hf) to download, upload, and manage models, datasets, spaces, buckets, repos, papers, and jobs on the Hugging Face Hub. It covers authentication handling, local cache management, bucket operations, and scheduling or running jobs.

How it works

  • Install the hf CLI using the provided installer script and run it locally: tmpdir="$(mktemp -d)" && trap 'rm -rf "$tmpdir"' EXIT && curl -LsSf https://hf.co/cli/install.sh -o "$tmpdir/hf-install.sh" && less "$tmpdir/hf-install.sh" && bash "$tmpdir/hf-install.sh".
  • Use hf --help to view available functions; auth commands are under hf auth (e.g., hf auth whoami).
  • Commands include: hf cp SRC, hf download REPO_ID, hf env, hf sync, hf update, hf upload REPO_ID, hf upload-large-folder REPO_ID LOCAL_PATH, hf version.
  • Authentication commands: hf auth list, hf auth login, hf auth logout, hf auth switch, hf auth token, hf auth whoami.
  • Bucket-related: hf buckets cp, hf buckets create, hf buckets delete, hf buckets info, hf buckets list, hf buckets move, hf buckets remove, hf buckets sync.
  • Cache management: hf cache list, hf cache prune, hf cache rm, hf cache verify.
  • Collections, datasets, discussions, endpoints, extensions, jobs sections are listed with their respective subcommands and options as shown.

When to use it

Use when you need the Hugging Face Hub CLI (hf) for downloading, uploading, and managing hub resources and performing authentication, cache, bucket, or job-related tasks as described in the command list.

What it can touch

  • Tools declared: claude-code, codex, cursor.
  • The skill enumerates commands under hf, including hf auth, hf buckets, hf cache, hf datasets, hf jobs, hf endpoints, hf extensions, hf cp, hf download, hf upload, and related options.

Caveats

  • risk: critical.
  • license: MIT.
From the SKILL.md

## When to Use Use this skill when you need 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... Install by downloading the installer script first, reviewing it, and then running it locally: `tmpdir="$(mktemp -d)" && trap 'rm -rf "$tmpdir"' EXIT && curl -LsSf https://hf.co/cli/install.sh -o "$tmpdir/hf-install.sh" && less "$tmpdir/hf-install.sh" && bash "$tmpdir/hf-install.sh"` The Hugging Face Hub CLI tool `hf` is available. IMPORTANT: The `hf` command replaces the deprecated `huggingface-cli` command. Use `hf --help` to view available functions. Note that auth commands are now all under `hf auth` e.g. `hf auth whoami`. Generated with `huggingface_hub v1.21.0`. Run `hf skills add --force` to regenerate. ## Commands - `hf cp SRC` — Copy files between local paths, repositories, and buckets. `[--format [auto|human|agent|json|quiet]]` - `hf download REPO_ID` — Download files from the Hub. `[--type [model|dataset|space] --revision TEXT --include TEXT --ex

What's inside
Steps it walks through
  1. When to Use
  2. Commands
  3. hf auth — Manage authentication (login, logout, etc.).
  4. hf buckets — Commands to interact with buckets.
  5. hf cache — Manage local cache directory.
  6. hf collections — Interact with collections on the Hub.
  7. hf datasets — Interact with datasets on the Hub.
  8. hf discussions — Manage discussions and pull requests on the Hub.
  9. hf endpoints — Manage Hugging Face Inference Endpoints.
  10. hf extensions — Manage hf CLI extensions.
  11. hf jobs — Run and manage Jobs on the Hub.
  12. hf models — Interact with models on the Hub.
  13. hf papers — Interact with papers on the Hub.
  14. hf repos — Manage repos on the Hub.
More from agentic-awesome-skills
All skills →
About this skill
What does the hugging-face-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 Buckets; running or scheduling jobs on Hugging...

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill hugging-face-cli --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going