Dev & Engineering

Hugging Face Spaces Builder

Build, deploy, debug, and maintain machine-learning apps on Hugging Face Spaces.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 11k
Last updated
18d ago
License
Apache-2.0
hugging-face-spacesgradiozerogpudocker
+3static-sitesmodel-deploymentgpu-debugging

What does this skill do, and when should you use it?

This skill guides agents through creating, building, debugging, and maintaining applications hosted on Hugging Face Spaces. It covers Gradio, Docker, and Static SDKs, along with ZeroGPU, dedicated hardware, model loading, persistent buckets, inference providers, and community grants. It uses the hf CLI, Space README frontmatter, the spaces Python package, logs, and live API checks as part of the workflow. It is a strong fit for developers who need to host working Hugging Face applications, with hardware and storage options constrained by account permissions and cost.

Checks whether the hf CLI is installed and whether the user is authenticated; searches existing Spaces for prior art; selects an SDK and hardware tier; creates Spaces and configures README frontmatter, application code, and dependencies; applies ZeroGPU patterns using spaces.GPU and Gradio MCP launch settings; uploads files with hf upload; reads build and runtime logs; calls Gradio APIs to verify endpoints and outputs; configures buckets for persistent storage; and diagnoses failures using known-error references and an iterative debugging ladder.

Good fit
  • A developer wants to publish a public machine-learning demo using Gradio and ZeroGPU.
  • A model author wants to adapt an existing GitHub inference project into a Hugging Face Space.
  • A Space maintainer needs to diagnose a failed build, broken startup, or incorrect API output.
  • A developer needs a non-Python container or a browser-side application and must choose Docker or Static SDK.
  • A Space owner needs persistent storage for uploads, generations, or logs through a Hugging Face bucket.

How do you install this skill?

Before you use it
  • The skill can create, upload, restart, and reconfigure Spaces, set secrets or environment variables, and create paid buckets; confirm targets, visibility, token scope, cost, and data exposure before execution, and prepare a recoverable path.
  • Core workflows depend on huggingface.co, the Hugging Face CLI, the Spaces runtime, and external inference providers; stable reachability from mainland-China networks is not established by the source material.
  • The document says to look up current versions, but its examples and hardware, Python, and Torch compatibility claims can change with the platform; recheck them before use.
  • Do not place real tokens, PII, or other sensitive data in public environment variables or public buckets.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
  • MCP Server
Install first
  • Python
  • Hugging Face CLI (hf)
  • Gradio
  • Docker (for Docker Spaces)
  • Git

Obtain the skill folder at skills/huggingface-spaces/ and copy or symlink it into a standard .agents/skills location supported by the Agent Skills client. For Codex, the README gives repository-level or user-level .agents/skills locations as examples. The README also documents on-demand installation with hf skills add <skill-name>; the repository supports Claude Code, Codex, Gemini CLI, and Cursor.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/huggingface/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/huggingface-spaces" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use the Hugging Face Spaces skill to deploy this PyTorch model as a ZeroGPU Gradio Space and verify its live API.

Trigger it explicitly in a coding agent, for example: “Use the Hugging Face Spaces skill to deploy this PyTorch model as a ZeroGPU Gradio Space and verify its live API.” Check the hf CLI and authentication first; create a Space with hf repos create and upload files with hf upload <namespace>/<name> . --repo-type space. The exact implementation depends on the model, SDK, hardware choice, and account permissions.

What are this skill's strengths and limitations?

Pros
  • Covers the workflow from Space creation through live verification.
  • Explains how to choose among Gradio, Docker, Static, ZeroGPU, and dedicated hardware.
  • Includes concrete guidance for ZeroGPU, logs, API smoke tests, buckets, and inference-provider fallbacks.
  • Calls out operational pitfalls such as ZeroGPU import order and hf upload repository targeting.
Limitations
  • ZeroGPU is Gradio-only, PyTorch-first, and requires the creator to use a PRO, Team, or Enterprise plan.
  • Dedicated GPUs and buckets are paid capabilities and may require canPay=True.
  • The workflow depends on the hf CLI, network access, and a live Space environment; local testing is intentionally limited.
  • The supplied material does not document an automated test suite or cross-platform test coverage.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Hugging Face Spaces Builder this page 50 · Use with care ★ 11k 18d ago Apache-2.0
LoRA Space Demo Builder 51 · Use with care ★ 11k 18d ago Apache-2.0
Hugging Face ZeroGPU Builder 56 · Use with care ★ 11k 18d ago Apache-2.0
TAO Sparse4D Training Skill ✓ NVIDIA · Official 54 · Use with care ★ 3.6k 12d ago Apache-2.0
Agents Observe 54 · Use with care ★ 696 1mo ago MIT

Compared with the repository’s hf-cli skill, huggingface-spaces focuses on building, deploying, debugging, and maintaining Space applications. The README positions hf-cli as the recommended companion for the broader Hugging Face Hub command set.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust14 / 25 · 2.8/5

The documentation covers login, token scope, confirmation for paid storage, the distinction between secrets and public environment variables, and warns against storing PII in public buckets. However, deployment, upload, restart, resource creation, and external inference create material external effects; unified confirmation gates, rollback procedures, least-privilege checks, and complete data-flow disclosure are incomplete, so points are deducted.

2Reliability8 / 20 · 2.0/5

It provides CLI preflight checks, dependency-conflict guidance, log diagnosis, known errors, and an end-to-end smoke-test workflow, and the main paths are broadly self-consistent on static inspection. However, it assumes current platform, CLI, and external-service behavior, contains no committed test suite or CI coverage, and some version or hardware claims may become stale, so the score remains below the static ceiling.

3Adaptability9 / 15 · 3.0/5

The frontmatter clearly identifies Space creation, hosting, debugging, ZeroGPU, Docker, Static SDK, and hf spaces scenarios, with fairly specific triggers. Still, non-fit boundaries, input/output contracts, and protection against semantic false triggers are incomplete; Chinese-language support is absent; and the core function depends on Hugging Face external services whose reachability from mainland China is not addressed, so points are deducted.

4Convention9 / 15 · 3.0/5

The information architecture is clear, with progressive disclosure through reference files and coverage of installation, dependencies, examples, troubleshooting, limitations, licensing, and update suggestions. Maintenance ownership, version policy, changelog, and a formal update path are not clear, while several claims depend on external documentation, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

The skill offers reusable commands, code patterns, and troubleshooting guidance for creating, implementing, debugging, and verifying Spaces, making the core value proposition clear. This review did not execute the instructions or verify a real Space output, and users must still adapt the guidance to the specific model, dependencies, and account constraints, so the static ceiling applies.

6Verifiability4 / 10 · 2.0/5

Commands, error substrings, configuration examples, and links to Hugging Face primary documentation provide some auditability. However, there is no committed test suite, CI evidence, version-locked verification, or independent reproduction record; key claims remain primarily author-provided guidance, so the score stays below the static ceiling.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 86cdeee824b7 Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Do I need to pay for a GPU to use this skill?
Not always. cpu-basic and ZeroGPU can be free for the Space creator, but ZeroGPU requires a PRO, Team, or Enterprise plan; dedicated GPUs are billed hourly.
Does the skill support Docker and static frontend Spaces?
Yes. It covers Gradio, Docker, and Static SDKs. Docker does not support ZeroGPU, while Static Spaces do not need hardware.
What should I do when a Space fails to build or run?
Read the build or runtime logs first, identify the first error, consult the known-errors reference, and iterate using the least expensive update and verification method.

More skills from this repository

All from huggingface/skills

Dev & Engineering

LoRA Space Demo Builder

Build and publish a tailored Gradio Space for a Hugging Face LoRA.

★ 11k FS 51 Use with care 18d ago
Dev & Engineering

Hugging Face ZeroGPU Builder

Build dependable Gradio AI demos and GPU workloads on Hugging Face ZeroGPU.

★ 11k FS 56 Use with care 18d ago
Data & Analysis

Trackio Experiment Tracking

Log, monitor, and query machine-learning experiments with dashboards, diagnostic alerts, and automation-ready output.

★ 11k FS 43 Not recommended 18d ago
Dev & Engineering

Gradio Interactive App Builder

Build Gradio web interfaces, machine-learning demos, and chat apps in Python.

★ 11k FS 40 Not recommended 18d ago
Dev & Engineering

Hugging Face MCP Assistant

Connect agents to Hugging Face Hub for searchable models, datasets, documentation, apps, and compute jobs.

★ 11k FS 36 Not recommended 18d ago
Data & Analysis

Hugging Face LLM Trainer

Train, fine-tune, and preserve models on Hugging Face cloud GPUs.

★ 11k FS 48 Use with care 18d ago
Data & Analysis

Hugging Face Local Evaluator

Run controlled inspect-ai or lighteval evaluations for Hugging Face Hub models on local hardware.

★ 11k FS 47 Use with care 18d ago
Dev & Engineering

Hugging Face Hub CLI Skill

Give agents command-line control over Hugging Face Hub models, datasets, Spaces, jobs, and infrastructure.

★ 11k FS 42 Not recommended 18d ago
Data & Analysis

Sentence Transformers Training Assistant

Train retrieval, similarity, reranking, and sparse-search models with Sentence Transformers.

★ 11k FS 47 Use with care 18d ago
Dev & Engineering

Hugging Face Local Model Runner

Choose compatible GGUF quantizations from Hugging Face and run them locally with llama.cpp.

★ 11k FS 44 Not recommended 18d ago
Data & Analysis

Hugging Face Model Finder

Recommends AI models by task, benchmark performance, and available device memory.

★ 11k FS 42 Not recommended 18d ago
Dev & Engineering

Hugging Face API Tool Builder

Turn Hugging Face API calls into reusable, composable command-line tools.

★ 11k FS 41 Not recommended 18d ago
Automation & Ops

SageMaker Deployment Planner

Choose a practical Amazon SageMaker deployment path for your model, traffic pattern, and latency needs.

★ 11k FS 50 Use with care 18d ago
Data & Analysis

Hugging Face Dataset Explorer

Explore, query, and extract Hugging Face datasets through the Dataset Viewer API.

★ 11k FS 49 Use with care 18d ago
Dev & Engineering

Hugging Face Paper Research Assistant

Read AI papers and retrieve structured metadata from Hugging Face paper pages.

★ 11k FS 49 Use with care 18d ago
Data & Analysis

Hugging Face Model Memory Estimator

Estimate inference memory without downloading model weights.

★ 11k FS 44 Not recommended 18d ago
Data & Analysis

Hugging Face Vision Trainer

Train detection, classification, and segmentation models on Hugging Face Jobs GPUs and persist the results to the Hub.

★ 11k FS 43 Not recommended 18d ago
Writing & Content

Hugging Face Paper Publisher

Publish, connect, and manage research papers on the Hugging Face Hub.

★ 11k FS 36 Not recommended 18d ago
Automation & Ops

SageMaker Production Defaults

Deploy SageMaker real-time or async endpoints with autoscaling, CloudWatch alarms, and consistent tagging built in.

★ 11k FS 46 Use with care 18d ago
Automation & Ops

SageMaker IAM Preflight

Find and validate a usable SageMaker execution role before deployment or training.

★ 11k FS 41 Not recommended 18d ago

Related skills