Why
AI assistants like Claude Code and Codex are great at making slides and pages in HTML. Changing
them is another story: even a one-word fix sends the AI back through a large file, which burns
tokens and time, and it may touch things you didn't ask for.
- Edit what you see. Click on the page to change text, colors, fonts, images, layout and
effects, WYSIWYG. A small fix takes seconds and no tokens.
- AI Feedback, in bulk. Select a block or sweep across an area and say what should change
("make this shorter"). Do it everywhere you need, then hand the whole list to your agent at once:
it knows exactly what to change and where.
- Your file stays clean. Saving updates only the parts you edited, so the rest of the file is
left as it was. If a full rewrite is ever needed, you are asked first.
- Present it. Show the deck full screen with its own animations.
 |  |
| AI Feedback: every change, one list for your agent | Present with the deck's own animations |
 |  |
| Effects: pick one from the side bar, or animate the whole slide | Diagrams: retype a label inside a diagram |
Install
| Where | Command |
|---|
| Claude Code | /plugin marketplace add avis309/html-deck then /plugin install htmldeck@htmldeck |
| Codex | codex plugin marketplace add avis309/html-deck then codex plugin add htmldeck@htmldeck |
| uv | uvx htmldeck · uv tool install htmldeck |
| pipx / pip | pipx install htmldeck · pip install htmldeck |
| npm | npx @avis309/htmldeck · npm i -g @avis309/htmldeck |
Needs Python 3.11+ (the npm package also needs Node.js 18+). Linux, macOS and Windows.
Use
With Claude Code or Codex:
- Say "open my deck in HTML Deck" (or type
/htmldeck:open [file] in Claude Code).
- Edit directly, or leave AI Feedback wherever you want the agent to change something.
- Say "apply my HTML Deck notes". The agent makes the changes and marks the notes done.
HTML Deck shows the new version as soon as the file changes.
On its own, in the folder with your files:
htmldeck # open the editor on the current folder
htmldeck --file <file>.html # open that document first
htmldeck --root <folder> --port 6789 --no-browser
It runs on your computer (127.0.0.1), opened by the link it prints: that link carries a key
for the run, so other programs on the machine cannot use the editor. Save keeps a backup of each version in .htmldeck_bak/.
Save ▾ also gives you a copy to share: one HTML file with its images, styles and fonts built in,
or a PDF. The editor starts in your browser's language; change it from the language menu.
Try it in a clone of this repo: htmldeck --root samples --file marketing-report.html.
Works with