Sign in
Explore
Skills · SkillData & AIDevOps & CloudMachine learningReviewedMakes network callsNeeds secrets

huggingface-spaces

Builds, deploys and maintains apps on Hugging Face Spaces (Gradio, Docker, Static), including ZeroGPU, hardware, debugging and inference providers.

Kind
Skill
Works with
Claude Code
Source
Hugging Face Skills @ 25910b3d0ba3
Path
skills/huggingface-spaces/SKILL.md
Jobs
Implementation, Automation
Topics
Machine learning

Credit

Made by
huggingface
Original
github.com/huggingface/skills/blob/25910b3d0ba31a2ba102f901cd…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallInstall it by hand, following the source.
hf skills add huggingface-spaces
Install factsScanned 2 Nov 2026
Adds
  • .claude/skills/huggingface-spaces/ (the skill folder)
  • 9 file(s) the skill refers to
Runs scripts
Yes
  • shell block in the text
Uses the network
Yes
  • Marked in the catalog record
Needs secrets
Yes
  • HF_TOKEN
Reads environment variables
  • HF_TOKEN
Source revision
25910b3d0ba3
Licence
Apache-2.0
Last activity
30 Oct 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

  • Only the main file is read; other files in the folder are not scanned
# Hugging Face Spaces

Hugging Face Spaces host machine-learning applications. There are 1M+ today; each Space is a git repo. This skill covers creating, building, debugging, and maintaining them.

## 0. Getting ready

Before anything else:

1. Check the `hf` CLI is installed: `which hf`. If not, `pip install -U huggingface_hub`.
2. Check the user is logged in: `hf auth whoami`. If not, run `hf auth login` — it prints a URL and a one-time code; ask the user to open the URL and enter the code, then login completes automatically (OAuth, no token needed). Alternatively, pass a write-scoped token from https://huggingface.co/settings/tokens with `--token`.
3. Note `whoami`'s `canPay` and `isPro` flags — they gate hardware choices below. A free (`isPro=False`) account can only host Static Spaces and up to 2 ZeroGPU Spaces.

The `hf-cli` skill teaches an agent every `hf` command and is the recommended companion to this one. Install it with `hf skills add hf-cli` (add `--claude --global` to install for Claude Code as well, user-level).

## 1. What a Space is

A Space is a git repo with three possible SDKs:

- **Gradio** — most Spaces. Python, fast iteration, supports ZeroGPU.
…