Agent skill · Media & Video

huggingface-lora-space-builder

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...

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill huggingface-lora-space-builder --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 33 KB
Bundled scripts: none
Path: skills/huggingface-lora-space-builder/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Build 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, demo, Gradio app, or playground for a LoRA.

How it works

  1. Gather LoRA info from a Hub repo: read repo files, fetch the model card, determine base model, task, trigger words, and recommended inference parameters. If the repo is private, request a one-time Hugging Face token with write scope. 2) Pick the base pipeline by loading a reference file for the base model family (qwen-image.md, ltx.md, or krea-2.md) and verify against the base model card’s diffusers snippet to decide the pipeline class. 3) Design a UI for the LoRA based on task guidance and the LoRA-specific needs described in adapting-to-the-lora.md, ensuring the UI is purpose-built rather than template-driven. 4) Write the three Space files together: app.py, requirements.txt, and README.md, and present all three to the user for batch approval before publishing. 5) Publish the Space (private) per ZeroGPU rules, including module-level CUDA placement, appropriate GPU duration, and inference function decoration. 6) In app.py, include Imports, Constants (LORA_REPO, BASE_MODEL, recommended step count, guidance, LoRA scale, trigger word), and a pipeline load with load_lora_weights; place the model on CUDA at module level. A single batched review is shown for approval before publishing.
From the SKILL.md

# Gradio LoRA Space Builder ## When to Use Use this skill when you need 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... Build 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. The output is a real, published Space (private by default) that the user can try in the browser, not a local script. ## What "good" looks like for these demos The 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

What's inside
Steps it walks through
  1. When to Use
  2. What "good" looks like for these demos
  3. Workflow
  4. Phase 1 — Gather LoRA info
  5. Phase 2 — Pick the base pipeline
  6. Phase 3 — Design the UI for this LoRA
  7. Phase 4 — Write the Space files
  8. app.py
  9. requirements.txt
  10. README.md
  11. Single batched approval — order of operations matters
  12. Phase 5 — Publish the Space
  13. Phase 6 — Smoke-test the Space
  14. What to avoid
Ships with 7 files
  • references/adapting-to-the-lora.md
  • references/base-models/krea-2.md
  • references/base-models/ltx.md
  • references/base-models/qwen-image.md
  • references/creative-mode.md
  • references/tasks.md
  • references/zerogpu-and-publishing.md
Commands it runs
gradio predict {repo_id} /predict '{"prompt": "...", "aspect_ratio": "1:1", ...}' --token $HF_TOKEN
Image-to-image (file input):
gradio predict {repo_id} /predict '{"input_image": {"path": "/tmp/sample.jpg", "meta": {"_type": "gradio.FileData"}}, "prompt": "..."}' --token $HF_TOKEN
More from agentic-awesome-skills
All skills →
About this skill
What does the huggingface-lora-space-builder skill do?

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...

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill huggingface-lora-space-builder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going