LobeHub Interactive Prototype
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.
Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Mathews-Tom/armory concept-to-image --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/concept-to-image .claude/skills/concept-to-image && rm -rf skills-srcUse ~/.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/
Install the "concept-to-image" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-image into .claude/skills/concept-to-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "concept-to-image", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-imageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Mathews-Tom/armory concept-to-image --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/concept-to-image .agents/skills/concept-to-image && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "concept-to-image" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-image into .agents/skills/concept-to-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "concept-to-image", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Mathews-Tom/armory concept-to-image --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/concept-to-image .cursor/skills/concept-to-image && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "concept-to-image" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-image into .cursor/skills/concept-to-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "concept-to-image", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Mathews-Tom/armory.git --path skills/concept-to-image--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Mathews-Tom/armory concept-to-image --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/concept-to-image .gemini/skills/concept-to-image && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "concept-to-image" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-image into .gemini/skills/concept-to-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "concept-to-image", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Mathews-Tom/armory concept-to-imageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/concept-to-image .github/skills/concept-to-image && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "concept-to-image" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-image into .github/skills/concept-to-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "concept-to-image", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Mathews-Tom/armory --skill concept-to-image -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Mathews-Tom/armory concept-to-image --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/concept-to-image .opencode/skills/concept-to-image && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "concept-to-image" agent skill from https://github.com/Mathews-Tom/armory/tree/main/skills/concept-to-image into .opencode/skills/concept-to-image/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "concept-to-image", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
concept-to-imageTurn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.
Concept To Image is an agent skill from Mathews-Tom/armory. Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG. Triggers on: "create an image of", "export as PNG", "save as SVG", "concept to image", "screenshot this HTML". NOT for interactive HTML, use static-web-artifacts-builder.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts, reference files and assets (for example `evals/cases.yaml`, `references/design-guide.md` and `scripts/render_to_image.py`).
It sits in Frontend & Design, covering HTML artifacts. The repository describes itself as: Curated, production-grade skills for AI coding agents. Battle-tested workflows for developers who use AI seriously. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4594fb7. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3npxpipplaywrightFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx and pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Concept To Image loads about 2.6k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 1,086 words of instructions outside code blocks.
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.
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.
The full file from Mathews-Tom/armory at commit 4594fb7, republished under its MIT licence (© Mathews-Tom). 1,086 words, ~2,634 tokens.
.claude/skills/concept-to-image/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Creates polished visuals from concepts using HTML/CSS/SVG as a refineable intermediate, then exports to PNG or SVG.
| File | Purpose |
|---|---|
references/design-guide.md | Design patterns, anti-patterns, color palettes, typography choices, layout examples |
scripts/render_to_image.py | Playwright-based export script — takes HTML in, PNG or SVG out |
assets/template.html | Base HTML template with .canvas container and CSS custom properties pre-configured |
HTML is the refineable layer between idea and image. Unlike direct canvas rendering, the user can see the HTML artifact, request changes ("make the title bigger", "swap the colors", "add a third column"), and only export once satisfied. This makes the workflow iterative and controllable.
Concept → HTML artifact (view + refine) → PNG or SVG exportscripts/render_to_image.pyDetermine the best visual format:
| User intent | Visual format | Approach |
|---|---|---|
| Explain a process/flow | Flowchart or pipeline diagram | SVG paths + boxes |
| Compare items | Side-by-side or matrix | CSS Grid |
| Show hierarchy | Tree or layered diagram | Nested containers + SVG connectors |
| Present data | Chart or infographic | SVG shapes + data labels |
| Social/marketing graphic | Card or poster | Typography-forward HTML/CSS |
| Icon, logo, badge | Compact symbol | Pure SVG |
| Educational concept | Annotated diagram | SVG + positioned labels |
Read references/design-guide.md for detailed design patterns and anti-patterns.
Core rules:
<style>, all graphics as inline <svg>. No external resources.width and height on the root container matching the intended export size. This is critical — Playwright screenshots the element at this exact size.assets/template.html as the base structure.| Use case | Recommended size |
|---|---|
| Social media graphic | 1200×630 |
| Infographic (portrait) | 800×1200 |
| Presentation slide | 1920×1080 |
| Square post | 1080×1080 |
| Icon/badge | 256×256 or 512×512 |
| Wide diagram | 1600×900 |
Set the .canvas container to the chosen size. The export script captures this element.
Present the HTML file to the user. They'll see it rendered as an artifact. Common refinement requests:
.canvas dimensionsEach iteration is a quick HTML edit, not a full re-render. This is the key advantage over direct image generation.
Once the user is satisfied, run the export script:
python3 scripts/render_to_image.py <input.html> <output.png|.svg> [--width 1200] [--height 630] [--scale 2] [--selector ".canvas"]| Param | Default | Description |
|---|---|---|
input | (required) | Path to HTML file |
output | (required) | Output path. Extension determines format (.png or .svg) |
--width | auto | Viewport width (overrides HTML-defined size) |
--height | auto | Viewport height (overrides HTML-defined size) |
--scale | 2 | Device scale factor for PNG (2 = retina quality) |
--selector | .canvas | CSS selector for the element to capture |
--full-page | false | Capture the full page instead of a specific element |
Uses Playwright to launch headless Chromium and screenshot the .canvas element at the specified scale factor. Scale 2 produces retina-quality output (e.g., 1200×630 CSS pixels → 2400×1260 PNG ≈ 3.02 MP).
Opus 4.7 feedback loop: Retina-scale exports (e.g., 2400×1260) fit within Opus 4.7's ~3.75 MP vision ceiling, so you can feed the rendered PNG back to the model for iterate-by-critique loops without downsampling. Under Opus 4.6 these outputs would have been downscaled on ingestion.
Two strategies, chosen automatically:
.canvas element contains a single root <svg>, extracts it directly as a clean SVG file. This produces a true vector SVG.Present the output file to the user. Always deliver both the HTML (for future editing) and the image (final output).
| Error | Cause | Resolution |
|---|---|---|
playwright not found | Playwright package not installed | Run npx playwright install chromium or pip install playwright && playwright install chromium |
| Browser launch failure | Headless Chromium fails to start | Verify --headless mode is supported; check available memory (Chromium needs ~200 MB) |
.canvas selector not found | HTML does not contain an element matching .canvas | Verify assets/template.html was used as the base; check the root container has class="canvas" |
| Render timeout | Complex HTML takes too long to render before screenshot | Increase the timeout via --timeout flag in the script, or simplify the HTML (reduce DOM depth, inline fewer SVGs) |
| SVG export falls back to PNG | .canvas element contains HTML/CSS content, not a root SVG | See SVG export section; redesign with a single root <svg> if vector output is required |
<svg> as the .canvas child.--scale to achieve higher effective resolution within this limit.After a successful export, the script prints the output path and file stats:
Exported: concept-diagram.png
Size: 2400 × 1260 px (2× scale from 1200 × 630 canvas)
File size: ~180 KB
Format: PNG (RGBA)Filename pattern follows whatever was passed as the output argument. Typical file sizes:
These produce generic "AI-generated" looking output:
Since this environment has limited font access, use web-safe font stacks with intentional fallbacks:
'Courier New', 'Consolas', monospace'Helvetica Neue', 'Arial', sans-serif'Georgia', 'Times New Roman', serif© Mathews-Tom, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references, assets) in skills/concept-to-image of Mathews-Tom/armory.
Open the folder on GitHubat commit 4594fb7
Concept To Image 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Concept To Image this skillMathews-Tom/armory | 329 | — | ~2.6k | Automated safety check: Pass | MIT | |
| LobeHub Interactive Prototypelobehub/lobehub | 83k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Paperclip Pagepaperclipai/paperclip | 99k | — | ~1k | Automated safety check: Pass | MIT | |
| Openkb Deck NeonVectifyAI/OpenKB | 4.8k | 1 repos | ~4.3k | Automated safety check: Pass | Apache-2.0 | |
| Webhome Homepage Builderwebhtv/webhtv | 1.7k | — | ~3.8k | Automated safety check: Pass | GPL-3.0 | |
| Solo Artifactssolo-agent/solo | 698 | — | ~961 | Automated safety check: Pass | MIT |
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.
paperclipai/paperclip
Publish static HTML pages and asset folders to the Paperclip S3/CloudFront page host.
VectifyAI/OpenKB
A skill your agent uses when the user asks the openkb chat to make a deck / slide presentation / PPT / slides / 演示稿 / 幻灯片 from their compiled KB content AND wants a dark, high-tech, neon / glow /…
webhtv/webhtv
Build, review, debug, reverse-engineer data sources for, and package FongMi/WebHome custom homepage single-file HTML.
solo-agent/solo
A skill your agent uses when a Solo task or thread should become an interactive, reviewable, self-contained HTML artifact for progress/status, review/decision, or comparison/leaderboard work inside…
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.
Mathews-Tom/armory
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports.
Mathews-Tom/armory
A skill your agent uses when analyzing an existing video URL or local recording: "watch this video", "analyze youtube video", "summarize this video", "youtube transcript", "find this moment", "what…
Mathews-Tom/armory
Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.
Mathews-Tom/armory
Turn concepts into animated explainer videos using Manim (Python) with MP4/GIF output, audio overlay, multi-scene composition.
Mathews-Tom/armory
Maps the unresolved architecture, policy, and scope decisions that must be answered before planning can start: one durable decision ticket per question on the issue tracker, typed and blocker-linked…
Mathews-Tom/armory
Produces and refreshes .docs/handoff.md, a 200-line session-continuity runbook for coding agents.
Categories
Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG. Concept To Image is an agent skill from Mathews-Tom/armory. Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.
Concept To Image fits situations like: : create an image of; concept to image; screenshot this HTML.
Run `npx skills add Mathews-Tom/armory --skill concept-to-image -a claude-code`. Or copy the skill folder (skills/concept-to-image in Mathews-Tom/armory) into .claude/skills/concept-to-image in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Mathews-Tom/armory --skill concept-to-image -a codex`. Or copy the skill folder (skills/concept-to-image in Mathews-Tom/armory) into .agents/skills/concept-to-image in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mathews-Tom/armory --skill concept-to-image -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/concept-to-image, .gemini/skills/concept-to-image, .github/skills/concept-to-image and .opencode/skills/concept-to-image in your project.
Going by SKILL.md and its folder, Concept To Image needs Python for the scripts in its folder and the command-line tools its instructions call (python3, npx, pip and playwright). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use npx and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Concept To Image is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 11k 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 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Concept To Image: LobeHub Interactive Prototype (lobehub/lobehub, 83k stars), Paperclip Page (paperclipai/paperclip, 99k stars), Openkb Deck Neon (VectifyAI/OpenKB, 4.8k stars) and Webhome Homepage Builder (webhtv/webhtv, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Mathews-Tom (a GitHub user) maintains it in Mathews-Tom/armory, which has 329 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 6, 2026.
Source: Mathews-Tom/armory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.