Agent skill

LobeHub Interactive Prototype

by lobehub in lobehub/lobehub

Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.

Custom licenceAuto-check passedFrontend & Design

Install LobeHub Interactive Prototype

skills CLI
$ npx skills add lobehub/lobehub --skill design-prototype -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lobehub/lobehub design-prototype --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/design-prototype .claude/skills/design-prototype && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
design-prototype
GitHub stars
83k
Token cost
~1.6k tokens
SKILL.md length
649 words
Files
5 (incl. scripts, references, assets)
Skills in repo
50
Repo updated
First seen
Licence
Custom licence

At a glance

Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.

  • Works in 3 steps: Build the runtime into the prototype's… → Copy references/template.html into the… → Open it (open /tmp/my-proto/xxx.html) —…
  • Mocking up a new LobeHub screen as a clickable prototype
  • SKILL.md covers How it works, Quickstart, Verify before delivering and What's in the runtime (extend…, plus 2 more sections
  • Runs JavaScript and Shell scripts from its folder; calls bash

What it does

The output is one HTML file that opens with a double-click and is fully interactive, rendered with the actual design system: @lobehub/ui, antd and antd-style tokens at the versions installed in the repository. The source stays production-style React, with the same imports, createStyles, hooks and memo, so promoting a prototype to production is mostly a matter of splitting it into files. The code may be quick and dirty, with one file, no i18n and inline data, but the interaction must be complete, including states, transitions and affordances.

Setup is a one-time script, scripts/build-runtime.sh, that bundles react, react-dom, the LobeHub UI packages, a curated subset of antd, antd-style and lucide-react from the repo's node_modules into a runtime file beside a vendored Babel build. Each prototype is then a copy of references/template.html with its sample App replaced, a small window.require shim lets real import statements work, and light or dark mode follows the operating system. The skill warns against a pure-CDN route with import maps, which it says was tried and rejected. Before delivery the prototype is checked headlessly with the repo's Playwright for zero console errors.

It is limited to prototypes, and production UI implementation is out of scope. The folder pairs the build script with an assets entry file and a ready-made HTML template, so each new prototype starts from a known shell instead of a blank page.

When your agent uses it

  • Mocking up a new LobeHub screen as a clickable prototype
  • Showing an interaction flow with real components before building it
  • Sharing a prototype as one HTML file that needs no server

Example prompts

  • “Prototype a settings page for managing agent permissions, with working toggles and a save confirmation.”
  • “Build the prototype runtime in /tmp/agent-list and make an interactive agent list with search and filters.”
  • “Open the prototype headlessly and confirm it renders with zero console errors.”

Requirements

  • The LobeHub repository checked out with dependencies installed
  • Bash, to run the runtime build script

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Build the runtime into the prototype's directory (any dir works; /tmp is fine)
  2. Copy references/template.html into the same dir,
  3. Open it (open /tmp/my-proto/xxx.html) — no server, no build.

What it can do on your machine

Read from SKILL.md and the folder at commit 6aaeeee. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LobeHub Interactive Prototype loads about 1.6k tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 33 tokens; SKILL.md has 649 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 649 words (~1,585 tokens).

“One HTML file, double-click to open, fully interactive, rendered by the actual design system (@lobehub/ui 5.x + antd 6 + antd-style tokens, exact versions from this repo's node_modules) — while the source stays production-style React (import { Block } from…”

— opening of SKILL.md by lobehub, Custom licence
name
design-prototype

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references, assets) in .agents/skills/design-prototype of lobehub/lobehub.

  • SKILL.md
  • assets/.gitignore
  • assets/entry.mjs
  • references/template.html
  • scripts/build-runtime.sh

Open the folder on GitHubat commit 6aaeeee

Compare with similar skills

LobeHub Interactive Prototype next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LobeHub Interactive Prototype compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LobeHub Interactive Prototype this skilllobehub/lobehub83k—~1.6kAutomated safety check: PassCustom licence
HTMLplannotator/effective-html3.6k—~1.6kAutomated safety check: PassMIT
Web Design EngineerConardLi/garden-skills13k—~8.8kAutomated safety check: PassMIT
Product Design Workflow BundleXiaomiMiMo/MiMo-Code14k—~721Automated safety check: PassMIT
UI UX Pro Maxsaoudi-h/solar-icons18418 repos~11kAutomated safety check: NotesCustom licence
Creative Tim UI Blockscreativetimofficial/ui12k—~2.1kAutomated safety check: NotesMIT

Similar skills

  • HTML

    plannotator/effective-html

    Create or redesign self-contained single-file HTML artifacts with a visual direction shaped by the user's brief, project, and subject.

    3.6k GitHub stars~1.6k tokensUpdated 24 days ago
    Frontend & DesignAuto-check passed
  • Web Design Engineer

    ConardLi/garden-skills

    Builds polished browser-rendered HTML, CSS, JavaScript and React pages, dashboards, prototypes and slide decks, aiming for a stunning rather than merely functional result.

    13k GitHub stars~8.8k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Product Design Workflow Bundle

    XiaomiMiMo/MiMo-Code

    Entry point to a bundle of product design workflows covering context, research, audits, ideation, URL or image to code, design QA and sharing a prototype.

    14k GitHub stars~721 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    184 GitHub starsUsed in 18 repos~11k tokens
    Frontend & DesignAuto-check: notes
  • Creative Tim UI Blocks

    creativetimofficial/ui

    Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.

    12k GitHub stars~2.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check: notes
  • Ss Learn

    bitjaru/styleseed

    Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or…

    972 GitHub stars~1.3k tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed

More from lobehub/lobehub

All 50 skills in this repo
  • Verifies a delivery end to end by driving the real product on a CLI, web, desktop or iOS Simulator surface, capturing evidence and publishing a round with the lh CLI.

    83k GitHub stars~9.7k tokensUpdated today
    Auto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.

    83k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Guides building LobeHub builtin agent tools, from the manifest and execution runtime to executors, chat UI renders and registry wiring.

    83k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Explains how LobeHub client code fetches data through services, SWR store hooks and cache keys, and when to avoid useEffect fetching or duplicated state.

    83k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Guides work on LobeHub's own product search: the shared search repository, provider choice, Elasticsearch mappings, change syncing and reindexing.

    83k GitHub stars~4.1k tokensUpdated today
    Auto-check passed

Works with

Questions about LobeHub Interactive Prototype

What does LobeHub Interactive Prototype do?

Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files. The output is one HTML file that opens with a double-click and is fully interactive, rendered with the actual design system: @lobehub/ui, antd and antd-style tokens at the versions installed in the repository. The source stays production-style React, with the same imports, createStyles, hooks and memo, so promoting a prototype to production is mostly a matter of splitting it into files.

When should I use LobeHub Interactive Prototype?

LobeHub Interactive Prototype fits situations like: mocking up a new LobeHub screen as a clickable prototype; showing an interaction flow with real components before building it; sharing a prototype as one HTML file that needs no server.

How do I install LobeHub Interactive Prototype in Claude Code?

Run `npx skills add lobehub/lobehub --skill design-prototype -a claude-code`. Or copy the skill folder (.agents/skills/design-prototype in lobehub/lobehub) into .claude/skills/design-prototype in your project. Claude Code loads it when a task matches its description.

How do I install LobeHub Interactive Prototype in Codex?

Run `npx skills add lobehub/lobehub --skill design-prototype -a codex`. Or copy the skill folder (.agents/skills/design-prototype in lobehub/lobehub) into .agents/skills/design-prototype in your project. Codex loads it when a task matches its description.

Can I use LobeHub Interactive Prototype in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lobehub/lobehub --skill design-prototype -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-prototype, .gemini/skills/design-prototype, .github/skills/design-prototype and .opencode/skills/design-prototype in your project.

What does LobeHub Interactive Prototype need to run?

Going by SKILL.md and its folder, LobeHub Interactive Prototype needs JavaScript and a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: The LobeHub repository checked out with dependencies installed; Bash, to run the runtime build script.

Does LobeHub Interactive Prototype access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is LobeHub Interactive Prototype safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does LobeHub Interactive Prototype use?

LobeHub Interactive Prototype has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does LobeHub Interactive Prototype use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 909 tokens, read only when the agent opens those files.

What are the alternatives to LobeHub Interactive Prototype?

Skills that share tags, products or a category with LobeHub Interactive Prototype: HTML (plannotator/effective-html, 3.6k stars), Web Design Engineer (ConardLi/garden-skills, 13k stars), Product Design Workflow Bundle (XiaomiMiMo/MiMo-Code, 14k stars) and UI UX Pro Max (saoudi-h/solar-icons, 184 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LobeHub Interactive Prototype?

lobehub (a GitHub organization) maintains it in lobehub/lobehub, which has 83,044 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 8, 2026.

Source: lobehub/lobehub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.