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...
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
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 --helpto view available functions; auth commands are underhf 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, includinghf 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.
## 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
- When to Use
- 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.
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.