bluzir/claude-code-design47 installs
export-standalone
Bundle an HTML artifact into a single self-contained file with all CSS/JS/images inlined as data URLs. Requires `monolith` CLI (brew install monolith).
How do I install this agent skill?
npx skills add https://github.com/bluzir/claude-code-design --skill export-standaloneIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill bundles HTML documents into single files using the 'monolith' CLI tool. Security risks are minimal, primarily involving the processing of untrusted HTML content which could lead to indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Export Standalone
Produce a single HTML file that works offline (no external dependencies). Uses monolith — a Rust CLI that inlines everything.
Preflight
Bash(which monolith)— check installed. If missing:- Tell user: "
monolithnot found. Install withbrew install monolith(macOS) and rerun." - Stop.
- Tell user: "
Steps
-
Resolve paths:
$0= input HTML (required)$1= output HTML (default:<input>-standalone.html)Bash(mkdir -p $(dirname <output>))if needed
-
Run monolith:
Bash(monolith "<input>" --isolate --no-metadata -o "<output>")Flags:
--isolate— CSP to prevent any remote resource loads after bundling--no-metadata— strip<!-- saved from ... -->metadata
-
Report:
Bash(stat -f%z "<output>")orBash(ls -la "<output>")for size- "Bundled
<input>→<output>(<size>KB). Works offline."
Tradeoffs
- Pros: single file, drop in email/chat, no CDN dependency, survives archive
- Cons: larger file size (5-10× original), no HMR, fonts often inlined as base64 (bigger)
- Interactivity preserved (React + Babel still run at load time), but network fetches fail by design
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/bluzir/claude-code-design/export-standalone">View export-standalone on skillZs</a>