huggingface-lora-space-builder
Skill by sickn33
Builds and publishes a Gradio demo on Hugging Face Spaces for a user-provided LoRA. It is for people who trained or host a LoRA on the Hub and want to share a working demo.
Install huggingface-lora-space-builder
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/huggingface-lora-space-builder ~/.claude/skills/huggingface-lora-space-builderRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install huggingface-lora-space-builder in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/huggingface-lora-space-builder ~/.gemini/antigravity-cli/skills/huggingface-lora-space-builderAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install huggingface-lora-space-builder in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The skill reads a LoRA repo on the Hugging Face Hub, including its file list and model card, to find the base model, task, trigger words and recommended settings. It then picks a base pipeline, designs a UI for that specific LoRA, and writes app.py, requirements.txt and README.md. The default target is ZeroGPU hardware, and the default inference library is diffusers when the base model supports it.
A local demo is delivered first. A private Space is published only when the user authorizes publication to a named account or repository and its resource budget. The source includes reference guidance for Qwen-Image, LTX and Krea 2 base models. For other models, it says to ask the user whether to proceed by analogy. The skill is aimed at developers and LoRA creators who want a hosted demo for their LoRA.
Written from the project's SKILL.md and checked against it.
What it can do
- Read LoRA repoLists repo files and loads the model card to find the base model, task and trigger words.
- Choose base pipelinePicks the reference file and pipeline class, and checks the class against the base model card.
- Design task UIShapes the Gradio interface around the controls and inputs this specific LoRA needs.
- Write app filesWrites and checks app.py, requirements.txt and README.md before any publication step.
- Publish private SpacePublishes a private Hugging Face Space only after the user authorizes it.
What you need
- Hugging Face account for private or gated LoRA repos
- Read-scoped token for gated or private model access
- Write-scoped token for publishing to a Space
- ZeroGPU hardware on Hugging Face Spaces (default target)
Try asking
- Build a Gradio demo for my LoRA at username/my-lora on Hugging Face.
- Make a local Space app for my Qwen-Image LoRA, but don't publish it yet.
- Publish my LTX video LoRA demo as a private Space under my account.
Good to know
- Publishing a hosted Space requires explicit user authorization.
- Built-in reference guidance covers Qwen-Image, LTX and Krea 2 base models only.
- Other base models need the user to approve proceeding by analogy.
- Example outputs depend on the environment.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/huggingface-lora-space-builder/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt11 KB -
SKILL.md30 KB -
references/adapting-to-the-lora.md14 KB -
references/base-models/krea-2.md4 KB -
references/base-models/ltx.md16 KB
Show all 9 files
-
references/base-models/qwen-image.md8 KB -
references/creative-mode.md20 KB -
references/tasks.md11 KB -
references/zerogpu-and-publishing.md10 KB
Alternatives to huggingface-lora-space-builder
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
huggingface-lora-space-builder: common questions
What does the LoRA Space builder create?
It creates a Gradio app.py, requirements.txt and README.md for a Hugging Face Space that runs inference with a user-provided LoRA. The app is shaped to that LoRA's task and inputs.
Does it publish the Space automatically?
No. The source says to deliver the local demo first and publish a private Space only when publication to the named account or repository is authorized.
How should tokens be handled?
The source says to configure tokens through hf auth login or an approved secret store outside chat, and not to paste tokens into the conversation.
How do I install huggingface-lora-space-builder?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is huggingface-lora-space-builder free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is huggingface-lora-space-builder safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to huggingface-lora-space-builder?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
