/htmldeck:open [file.html]from HTML Deck
Opens HTML documents (slide decks, reports, pages) in the HTML Deck visual editor for editing, restyling, and presenting. Also acts on review notes pinned by the user.
Ships in HTML Deck. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
HTML Deck is a local editor for the workspace's HTML files. The user edits in the browser; you start the editor and act on the notes they leave. A save patches the file only where it changed.
The plugin root is two folders above this file (<this skill's folder>/../..); Claude Code also
sets it as ${CLAUDE_PLUGIN_ROOT}. The launcher runs the plugin's own copy with any Python ≥ 3.11,
nothing to install:
sh "<plugin root>/scripts/htmldeck-run"& "<plugin root>\scripts\htmldeck-run.cmd" (the & is required to run a
quoted path)"<plugin root>\scripts\htmldeck-run.cmd"Below, RUN stands for that command. Exit code 127 means no Python 3.11+: pass on the install hint
it prints.
--root "<workspace>". Add
--file <path> (relative to the workspace) to open one document first: the file the user
named, or the argument of /htmldeck <file>. With neither, start without --file.run_in_background: true: RUN --root "<workspace>" --file "<doc>"log="$(mktemp -d)/htmldeck.log"; RUN --root "<workspace>" --file "<doc>" > "$log" 2>&1 & echo "$log"
(a private folder: the log holds the session key, and a shared /tmp file is readable by other users)Start-Process -WindowStyle Hidden -FilePath "<plugin root>/scripts/htmldeck-run.cmd" -ArgumentList '--root','"<workspace>"','--file','"<doc>"' -RedirectStandardOutput "$env:TEMP\htmldeck.log" -RedirectStandardError "$env:TEMP\htmldeck.err" (errors land in htmldeck.err)HTMLDECK_URL=http://127.0.0.1:<port>/?key=<key> and give the user that
URL whole: the key is what lets the browser in (without it the page says to open the printed link).
The browser opens by itself; add --no-browser when there is no desktop (SSH, container) or the
user asked not to.Notes the user pins to elements, or to a region drawn on a slide, live in
.htmldeck_notes/<name>.json beside the document.
RUN notes --root "<workspace>" --file "<doc>" — each shows an id, the current
line, a CSS selector, a text snippet and what the user wants. A region note also
gives the area in CSS pixels of its slide (or section) and the elements found in it, each with
a selector and line: the request applies to that whole area. --prompt prints the same notes as
one ready-made request.RUN notes --root "<workspace>" --file "<doc>" --done ID, ID being the note's id (--done repeats)..htmldeck_notes/ or .htmldeck_bak/ (backups) by hand.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
html-editor, visual-editor, slide-decks, reveal-js, review-notes
npx claudepluginhub avis309/html-deck --plugin htmldeckOther plugins' skills for the same job