html4presentation is an agent skill that generates single-file HTML presentations editable like PowerPoint — in the browser, offline, with no build step, server, or dependencies. Every deck it produces embeds a drop-in editor, so it ships ready to edit.
A deck is one self-contained .html file: inline CSS, your slides, and a drop-in editor <script>. Open it by double-clicking — present with the arrow keys, or press E to edit. The editor injects its own interface and strips all of it on save, so the written file stays clean and re-opens editable.
- Edit in place — click any text to type; drag an image file onto a picture to replace it (embedded as a data URL).
- Restructure — reorder, add, duplicate, and delete slides; cycle layouts; drag and resize elements with alignment guides.
- Author tools — undo/redo, text formatting, per-slide backgrounds, and a thumbnail sidebar.
- Present — press F for fullscreen; navigate with
←→Space. - Save —
Ctrl/Cmd+S. Chromium writes straight back to the file; other browsers download an updated copy. - No dependencies — vanilla JS in one classic
<script>; runs fromfile://.
Open the reference deck and try it:
demo/index.html
Press E to edit, F to present, Ctrl/Cmd+S to save. A second example lives at demo/genshin-impact.html.
The editor is delivered as a portable skill — one source of truth, two entry points:
- Claude Code — install
skills/html-deck/, then ask for a deck (or run/html-deck). - Codex and other agents —
AGENTS.mdpoints them atskills/html-deck/SKILL.md.
Ask for something like “make me a 6-slide deck about X.” The agent emits one .html with the editor embedded.
<div class="deck" data-layouts="default title statement image-right center">
<section class="slide is-active">
<div class="stage" data-layout="title">
<h1 data-editable>Headline</h1>
<p data-editable>Subtitle</p>
</div>
</section>
<!-- editor block from skills/html-deck/assets/deck-editor.inline.html, pasted verbatim -->
</div>.deck›.slide›.stage— the first slide carriesis-active; each.stageis a fixed 1280×720 canvas the editor scales to fit.data-editablemarks editable text;data-slotmarks swappable images.data-layoutsets a stage's layout;data-layoutslists what Layout cycles through.
Full reference: skills/html-deck/references/convention.md.
| Path | Purpose |
|---|---|
skills/html-deck/SKILL.md |
The skill an agent follows to generate a deck |
skills/html-deck/references/convention.md |
Attribute reference and copy-paste layout CSS |
skills/html-deck/assets/deck-editor.inline.html |
The drop-in editor — single source of truth |
demo/ |
Working reference decks |
AGENTS.md |
Entry point for Codex and other agents |