single-html-forge
FreeRuns bundled scriptsNot checkedGenerate a single self-contained HTML file — a horizontal slide deck, a vertical-scroll explainer document, or a fixed-canvas summary image — with zero…
by aktsmm★ 27 GitHub starsAbout this skill
Single HTML Forge
One HTML file. No CDN, no build step, no external fetch at runtime. Opens the same on any machine and survives being emailed.
When to Use
- "HTMLスライドを作って" / "単一HTMLで資料にして" / "ブラウザーで開ける説明資料にして" / "サマリ画像を1枚"
- Handing a deck or explainer to someone who should not need PowerPoint
- A screenshot-based procedure or runbook for another party, delivered as one HTML file: use
doc. Do not convert Markdown with a library and inline hand-written CSS; that skips the verifier (image decoding and size limits, link checks) and leaves the visual check to a glance. - Embedding images into a self-contained HTML artifact
- Re-verifying or editing an artifact this skill produced
Not for: PPTX output (this skill does not produce it), editable diagram source files, or anything needing a live server.
Archetype Routing
Ask which one unless the request already says. Load only that archetype's reference.
| Archetype | Shape | Use for | Reference |
|---|---|---|---|
deck |
16:9 slides, keyboard nav, presenter overlay | talks, walkthroughs | archetype-deck.md |
doc |
vertical scroll, sidebar nav, numbered citations | explainers, comparisons, handouts | archetype-doc.md |
poster |
one fixed canvas, exported as PNG | summary images, social cards | archetype-poster.md |
deck includes a collapsible sidebar, settings menu, fullscreen, optional sound and reduced-motion-aware effects. Start from deck-outline-skeleton.html for reading/review, deck-skeleton.html for single-slide presentation, or deck-motion-skeleton.html for a worked step example. Both views can switch without losing position. Preserve chapter groups; finalize with thumbnails for a visual sidebar (see the deck reference).
Intake
- Archetype (above).
- Topic, audience, what they should be able to do or decide afterwards, and roughly how much content.
- Colour direction — propose two or three, or derive one from the topic. See design-tokens.md.
- Images? If any is a screenshot or of unknown provenance, ask the sanitization question in Hard Constraints before embedding.
- Which export, if any: PDF, PNG, or per-slide PNG. Produce only what was asked for.
- For editable notes or forms, resolve the capability gap before promising implementation: the bundled player has no free-text input or persistence. Offer a static worksheet only with agreement; otherwise route to an application workflow. Do not patch the pinned runtime to disguise an unsupported requirement. For a deck, always also ship the review wrapper unless the user declines: finish and verify the deck, then wrap it once with
build_review_viewer.pyand hand over that single file (deck plus a closable comment panel on the right above 640px wide, slide grid, search, deep links, presenter view in a second window, laser pointer, click-to-enlarge image lightbox, one-click colour presets (view-time only, saved per browser; the deck file is unchanged)); keep the unwrapped deck as the editable source. A plain deck has no comment feature, so never describe one as having it. The wrapper has its own script and is not covered by the verifier (runningverify_html.pyon it fails onsrcdoc); the embedded deck still is. Smoke-test the wrapper in a browser before shipping (slide count matches, no console errors). To edit a wrapped deck,--extracta fresh scratch copy each time, apply the change with a re-runnable script (hand-patched scratch copies lose tags and cannot be re-derived), re-finalize, then re-wrap; never hand-edit the wrapper.
Hard Constraints
These gate the output. They are here, not in a reference, because a reference may never be read.
- No artifact-specific JavaScript or CSS. Script is the bundled runtime only; styling is the fixed template plus typed custom properties. Any other
<script>or<style>fails verification. - Images ride in a
data:URI on an<img>, or in allowlisted inline SVG. Nothing else may carry a resource — not CSSurl(), notsrcset, not<object>,<embed>,<iframe>,<video>,<link>, and neversrcdoc. - No web fonts. System font stack only. Glyphs will differ across machines; say so rather than claiming pixel fidelity.
- Do not generate brand logos or trademarks.
- Never write a customer name, tenant name, subscription id, or internal hostname into the output. Exception: when the user explicitly asks for the customer's name in the title of a deck meant for that same customer, put it in the title and
<title>only, never in the body, notes,altor imag
Install single-html-forge in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the single-html-forge skill do?
Generate a single self-contained HTML file — a horizontal slide deck, a vertical-scroll explainer document, or a fixed-canvas summary image — with zero external runtime dependencies, then verify it mechanically. Use when the user asks for HTMLスライド, 単一HTMLスライド, single-file HTML presentation, ブラウザーで開く説明資料, HTML 説明資料, 画像付き手順書のHTML, HTMLサマリ画像, or self-contained HTML, or wants to hand someone a deck or explainer that opens anywhere without PowerPoint. Also use to embed images into such a file or to re-check an existing one. Does not output PPTX.
How do I install the single-html-forge skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the single-html-forge skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic