Tooluck logoTooluck
SKILL.md

huggingface-lora-space-builder

Agent skill fromhuggingface/skills

Build and publish a Gradio demo on Hugging Face Spaces for a user-provided LoRA. Use when someone asks to create, generate, ship, or publish a Space, demo, Gradio app, or playground for a LoRA — including LoRAs for Qwen-Image, Qwen-Image-Edit, LTX-Video, Wan, FLUX, SDXL, or other diffusion base models. Also triggers when someone describes a LoRA they trained or hosts on the Hub and wants to share it. Covers picking the right base pipeline and `diffusers` inference recipe, designing a UI tailored to the LoRA's task and inputs (Union/multi-task control, edit, video, image, etc.), respecting model-card recommendations (trigger words, steps, guidance, LoRA scale, example inputs), and shipping to ZeroGPU hardware as a private Space by default.

How to install huggingface-lora-space-builder

install huggingface-lora-space-builder
# install the skills pack with the skills CLI
npx skills add huggingface/skills

# or add only this skill to Claude Code: copy the folder

skills/huggingface-lora-space-builder/

# into

~/.claude/skills/huggingface-lora-space-builder/ (all projects)

.claude/skills/huggingface-lora-space-builder/ (one project)

skills/huggingface-lora-space-builder/SKILL.md

Apache-2.0Full file
1# Gradio LoRA Space Builder
2
3Build and publish a Gradio demo on Hugging Face Spaces that runs inference with a user-provided LoRA. Use whenever someone asks to create, generate, ship, or publish "a Space", "a demo", "a Gradio app", or "a playground" for a LoRA — whether the base model is Qwen-Image, Qwen-Image-Edit, LTX, or another diffusion model. Also use when someone describes a LoRA they trained or hosts on the Hub and wants to share it. The default target is ZeroGPU hardware and the default inference library is `diffusers` when the base model supports it.
4
5The output is a real, published Space (private by default) that the user can try in the browser, not a local script.
6
7## What "good" looks like for these demos
8
9The demo should feel handcrafted for this specific LoRA, not a generic template with the LoRA bolted on. Two LoRAs that share a task can still need different demos: a pose-control video LoRA and an outpainting video LoRA both take video in and produce video out, but the inputs the user provides, the preprocessing, and the controls are completely different. Recognizing that is the central job here.
10
11Concretely, a good demo:
12
13- Loads fast and runs fast — minimal model loading, sensible step count, no wasted computation per call.
14- Has a UI with exactly the controls this LoRA needs and nothing else. Excess sliders are a cost, not a feature.
15…

Excerpt shown under the repository's Apache-2.0 license.

More skills in skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates