patchy631/ai-engineering-hub/hugging-face-cli
- community
Checking that the SKILL.md file is still in the repository.
Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.
Install
npx vskill@latest install patchy631/ai-engineering-hub/hugging-face-cliSKILL.md
Hugging Face CLI
The hf CLI provides direct terminal access to the Hugging Face Hub for downloading, uploading, and managing repositories, cache, and compute resources.
Quick Command Reference
| Task | Command | |
|---|---|---|
| Login | hf auth login | |
| Download model | hf download <repo_id> | |
| Download to folder | hf download <repo_id> --local-dir ./path | |
| Upload folder | hf upload <repo_id> . . | |
| Create repo | hf repo create <name> | |
| Create tag | hf repo tag create <repo_id> <tag> | |
| Delete files | hf repo-files delete <repo_id> <files> | |
| List cache | hf cache ls | |
| Remove from cache | hf cache rm <repo_or_revision> | |
| List models | hf models ls | |
| Get model info | hf models info <model_id> | |
| List datasets | hf datasets ls | |
| Get dataset info | hf datasets info <dataset_id> | |
| List spaces | hf spaces ls | |
| Get space info | hf spaces info <space_id> | |
| List endpoints | hf endpoints ls | |
| Run GPU job | hf jobs run --flavor a10g-small <image> <cmd> | |
| Environment info | hf env |
Core Commands
Authentication
Download
Upload
Repository Management
Delete Files from Repo
Cache Management
Browse Hub
Jobs (Cloud Compute)
Inference Endpoints
GPU Flavors: cpu-basic, cpu-upgrade, cpu-xl, t4-small, t4-medium, l4x1, l4x4, l40sx1, l40sx4, l40sx8, a10g-small, a10g-large, a10g-largex2, a10g-largex4, a100-large, h100, h100x8
Common Patterns
Download and Use Model Locally
Publish Model/Dataset
Sync Space with Local
Check Cache Usage
Key Options
--repo-type:model(default),dataset,space--revision: Branch, tag, or commit hash--token: Override authentication--quiet: Output only essential info (paths/URLs)
References
- Complete command reference: See references/commands.md
- Workflow examples: See references/examples.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghugging-face-skills/skills/hugging-face-cli/SKILL.md
Popularity
- Repository stars
- 31,680
- Repository forks
- 5,171
- 7-day trend score
- 52
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/patchy631/ai-engineering-hub/hugging-face-cli)