Agent skill

downloading-hf-models

Get the correct command syntax for downloading models from HuggingFace. Use when downloading models, running "hf download", or pulling models from HuggingFace repos.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill downloading-hf-models --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/ai-ml/downloading-hf-models/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

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

From the SKILL.md

# HuggingFace Model Download ## Command Pattern Always use `uv run` with the HuggingFace Hub package as an inline dependency: ```bash uv run --with huggingface_hub hf download <repo> <file> --local-dir <path> ``` ## Common Mistakes to Avoid - **Wrong**: `pip install huggingface_hub && huggingface-cli download ...` - **Wrong**: `uv run hf download ...` (missing `--with`) - **Wrong**: `uv run --with "huggingface_hub[cli]" ...` (the `[cli]` extra doesn't exist, the CLI is included in the base package) ## Syntax Reference ### Download a specific file ```bash uv run --with huggingface_hub hf download <org>/<repo> <filename> --local-dir <destination> ``` ### Download multiple files ```bash uv run --with huggingface_hub hf download <org>/<repo> <file1> <file2> --local-dir <destination> ``` ### Download with glob pattern ```bash uv run --with huggingface_hub hf download <org>/<repo> --include "*.gguf" --local-dir <destination> ``` **Warning**: Large GGUF models are often split into parts (e.g., `model.gguf.part-000`, `.part-001`, etc.). Use `--include "*.gguf*"` (note the trailing `*`) to match both single GGUFs and split parts. Use `--dry-run` first to check what files will be downloaded.

What's inside
Steps it walks through
  1. Command Pattern
  2. Common Mistakes to Avoid
  3. Syntax Reference
  4. Download a specific file
  5. Download multiple files
  6. Download with glob pattern
  7. Download entire repo
  8. Notes
Ships with 1 file
  • metadata.json
Commands it runs
uv run --with huggingface_hub hf download <repo> <file> --local-dir <path>
uv run --with huggingface_hub hf download <org>/<repo> <filename> --local-dir <destination>
uv run --with huggingface_hub hf download <org>/<repo> <file1> <file2> --local-dir <destination>
uv run --with huggingface_hub hf download <org>/<repo> --include "*.gguf" --local-dir <destination>
uv run --with huggingface_hub hf download <org>/<repo> --local-dir <destination>
More from claude-skill-registry
All skills →
About this skill
What does the downloading-hf-models skill do?

Get the correct command syntax for downloading models from HuggingFace. Use when downloading models, running "hf download", or pulling models from HuggingFace repos.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill downloading-hf-models --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 majiayu000/claude-skill-registry, a repository with 534 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