installskill

Skills / huggingface/skills

huggingface-lora-space-builder

Builds and publishes a Gradio demo on Hugging Face Spaces for a LoRA.

Pinned commit
aafb3adfb809Committed 2026-11-26
Files
8116 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
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.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install huggingface/skills skills/huggingface-lora-space-builder --agent claude-code --pin aafb3adfb80951cc90836cc6fd17bb345aa49eef

gh picks the directory for the agent, names the folder after the source directory (huggingface-lora-space-builder), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 539ebe557b173a0c9d9b9d049a3eeecdfb85d9eb.

skills CLIpinned

$ npx skills add huggingface/skills@aafb3adfb80951cc90836cc6fd17bb345aa49eef --skill huggingface-lora-space-builder -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/huggingface/skills.git "$tmp"
$ git -C "$tmp" checkout --quiet aafb3adfb80951cc90836cc6fd17bb345aa49eef
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/huggingface-lora-space-builder" .claude/skills/huggingface-lora-space-builder

No extra tooling. Files land byte for byte as published in .claude/skills/huggingface-lora-space-builder, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/huggingface-lora-space-builder && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected6cd2c3d5cd9adaf3efe5ce006cd9b814638c969a4a4d50d307bc2afb56859576

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 7SKILL.md · 1

Runs commands2

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 2 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages4

Commands that pull and run third-party packages at use time.

0 in scripts · 4 in docs and other text files

Reads env or credentials10

References to environment variables, tokens, keys or credential files.

0 in scripts · 10 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • huggingface.co×22
  • github.com×10
  • www.gradio.app×7
  • cdnjs.cloudflare.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
6cd2c3d5cd9adaf3efe5ce006cd9b814638c969a4a4d50d307bc2afb56859576
Git tree SHA
539ebe557b173a0c9d9b9d049a3eeecdfb85d9eb
PathKindSizeSHA-256
SKILL.mdSKILL.md33 KB7192d4a44172609e…
references/adapting-to-the-lora.mdDocs14 KB57baf45d4551ca2b…
references/base-models/krea-2.mdDocs4.0 KBaa53bb8abbbd954d…
references/base-models/ltx.mdDocs15 KBd6098a1cd094a62d…
references/base-models/qwen-image.mdDocs7.3 KB47191d568572ce91…
references/creative-mode.mdDocs19 KB860384cadd377ec5…
references/tasks.mdDocs10 KB536d92b873d4af78…
references/zerogpu-and-publishing.mdDocs14 KB816d948fadcb0591…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
748limit 1,024 characters
SKILL.md body
390 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.