huggingface-spaces

Automate creation, deployment, and maintenance of Hugging Face Spaces applications.

1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/Tyler-R-Kendrick/slm-training --skill huggingface-spaces-tyler-r-kendrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-spaces
Source: https://github.com/Tyler-R-Kendrick/slm-training/tree/main/.agents/skills/huggingface-spaces
Command: npx skills add https://github.com/Tyler-R-Kendrick/slm-training --skill huggingface-spaces-tyler-r-kendrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, gradio, and includes references (resource) components.

What problem does it solve?

This skill streamlines the end-to-end lifecycle of Hugging Face Spaces, removing the friction of manual configuration, hardware selection, and debugging for machine learning applications.

Core Features & Use Cases

  • Deployment Automation: Create and configure Gradio, Docker, or Static Spaces with optimized hardware settings like ZeroGPU or dedicated compute.
  • Debugging & Maintenance: Access logs, resolve build errors, and perform smoke tests to ensure your ML demo is production-ready.
  • Use Case: Quickly deploy a PyTorch-based diffusion model by setting up a ZeroGPU-enabled Gradio Space, configuring persistent storage buckets, and verifying the API endpoints for external agent access.

Quick Start

Use the huggingface-spaces skill to create a new Gradio Space named my-ml-demo with ZeroGPU hardware and deploy the code from the current directory.

Frequently Asked Questions about huggingface-spaces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Gradio app to Hugging Face Spaces with ZeroGPU hardware?

Deploy a Gradio app to Hugging Face Spaces by creating a Space, configuring ZeroGPU hardware allocation, and pushing code from your directory. This automates hardware selection and setup.

What is the best way to manage persistent storage for machine learning apps on Hugging Face Spaces?

Manage persistent storage for machine learning apps on Hugging Face Spaces through automated configuration workflows. This ensures your ML demos retain data across restarts by linking storage buckets during the Space deployment lifecycle.

Can I use Docker SDKs instead of Gradio when deploying to Hugging Face Spaces?

Yes, you can use Docker SDKs instead of Gradio when deploying to Hugging Face Spaces. The platform supports creating and configuring Gradio, Docker, and Static Spaces with optimized hardware settings.

Do I need the huggingface_hub CLI to maintain and debug ML applications on Spaces?

Yes, you need the huggingface_hub CLI to maintain and debug ML applications on Spaces. It integrates with the spaces Python package to handle build logs, resolve runtime errors, and verify API endpoints.

Why does my Hugging Face Space deployment fail during the build process?

A Hugging Face Space deployment might fail due to misconfigured hardware or SDK settings. You can access build logs and perform smoke tests to resolve build errors and ensure your ML demo is production-ready.