Hugging Face spaces
Build, deploy, and maintain applications on Hugging Face Spaces, Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging.
In detail
Build, deploy, and maintain applications on Hugging Face Spaces — Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging, buckets, inference providers, community grants.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: huggingface-spaces
description: "Build, deploy, and maintain applications on Hugging Face Spaces — Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging, buckets, inference providers, community grants."
risk: critical
source: https://github.com/huggingface/skills/tree/main/skills/huggingface-spaces
source_repo: huggingface/skills
source_type: official
date_added: 2026-07-01
license: Apache-2.0
license_source: https://github.com/huggingface/skills/blob/main/LICENSE
---
# Hugging Face Spaces
## When to Use
Use this skill when you need build, deploy, and maintain applications on Hugging Face Spaces — Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging, buckets, inference providers, community grants. Use whenever the user asks to create or host an app on Hugging Face, port existing code to a Space, diagnose build/runtime errors, or choose storage and inference hardware.
Hugging Face Spaces host machine-learning applications. Each Space has a git repository; live catalog totals change. This skill covers creating, building, debugging, and maintaining them.
Modified 2026-10-23: corrected eligibility/version assumptions, deployment/testing boundaries, storage/privacy and dependency recipes. Apache-2.0 upstream attribution is retained.
## 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, ask them to authenticate locally with `hf auth login`; never paste the token into chat or logs — they'll need a write-scoped token from https://huggingface.co/settings/tokens.
3. Note `whoami`'s `canPay` and `isPro` flags — they gate hardware choices below.
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.
- **Docker** — arbitrary container. Use when you need a non-Python stack or a pre-built template (Streamlit, Argilla, Shiny, etc. — full list at https://huggingface.co/docs/hub/spaces-sdks-docker). Does **not** support ZeroGPU.
- **Static** — plain HTML, or a React/Svelte/Vue project built at deploy time. Use for in-browser ML (transformers.js / WebGPU / WebAssembly / onnxruntime-web), project pages, interactive reports, or Spaces that orchestrate other Spaces. No hardware needed.
...From sickn33's repository, Apache-2.0 licence.
Related skills
-
Checked
Elastic SLOs and Alerts
Sets realistic reliability targets in Elastic with alerts that fire when it matters, not at every small blip.
7/101 credit -
Checked
Grafana synthetic checks
Writes Grafana Cloud synthetic checks in k6 with assertions that really fail, so outages get caught early.
8/101 credit -
Checked
OpenTofu Infrastructure Setup
Sets up OpenTofu infrastructure code with encrypted state, remote locking, tests and a clean move from Terraform.
7/101 credit -
Checked
Synthetic Monitoring Probes
Sets up scheduled checks that test your live site's key journeys around the clock and alert only on real outages.
7/101 credit -
Checked
Your Own Deploy Platform
Turns a plain server into your own deploy platform with Dokku, including databases and certificates.
8/101 credit -
Checked
Safe deploys and rollbacks
Plans deploys, migrations and rollbacks by blast radius with kill switches, so a bad change can be undone.
7/101 credit