AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Editable Html Slides

skill-rossyao2022-editable-html-slides-editable-html-slides · by rossyao2022

Add a self-contained, dependency-free in-browser WYSIWYG editor to any HTML slide deck so the deck stays editable after it is generated — click text to rewrite it, drop in images, drag/resize/delete objects, undo/redo, reorder slides via a filmstrip, autosave to localStorage, and export a clean standalone HTML. Use this skill WHENEVER the user wants an editable HTML presentation, wants to tweak o…

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-rossyao2022-editable-html-slides-editable-html-slides

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-rossyao2022-editable-html-slides-editable-html-slides)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Editable Html Slides? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

editable-html-slides

Turn a static HTML deck into one a non-developer can edit in the browser — without rebuilding it, without a framework, and without touching the original design. The whole editor is two small files (editor.js + editor.css) that layer on top of an existing deck.

Why this exists

AI coding agents are great at generating gorgeous HTML decks, but the output is "read-only" to a normal user — to change a title or swap an image they'd have to open the source. This skill closes that gap: it bolts a visual editor onto the deck so the user can keep editing after handoff, while the original theme, animations, and (for presenter decks) the speaker-notes / presenter view stay exactly as they were.

It is deliberately zero-dependency: no Node, no npm, no bundler, no CDN. The editor is plain ES5-ish JavaScript and CSS that run from file://.

What the editor gives the end user

  • Inline text editing — click any heading / paragraph / list item and type.
  • Add image — pick a local file (embedded as a data URL, so the deck stays a

single file) or paste with ⌘/Ctrl+V.

  • Add text box — free-floating text, double-click to edit.
  • Drag / resize / delete added objects (corner handle; Delete key).
  • Undo / redo — ⌘/Ctrl+Z and ⌘/Ctrl+Shift+Z (snapshot history).
  • Reorder slides — a draggable thumbnail filmstrip (▦ 页序 / "Pages").
  • Autosave to localStorage (survives reload) and export a clean

standalone HTML with all edits baked in and the editor code stripped out.

  • Toggle the whole thing with the ✎ button or the E key; Esc / ✓ to exit.

Everything is audience-facing-safe: in normal (non-edit) mode the deck looks and behaves identically to before, so you can still present it.

How to apply it (the normal workflow)

You usually have a deck folder like my-talk/index.html. Run the injector:

python3 scripts/inject.py /abs/path/to/my-talk/index.html

That copies editor.css + editor.js next to the deck and wires two tags in (idempotently — safe to run twice). Then open index.html and press E.

If you'd rather wire it by hand, add these two lines to the deck:

Loading order matters: editor.js must come after any deck runtime (e.g. html-ppt's runtime.js) so it can see the rendered slides. Also copy assets/editor.css and assets/editor.js into the deck folder.

Requirements the deck must meet

The editor targets the common reveal/html-ppt slide convention:

  • Each slide is an element with class .slide; the visible one has

.is-active (the editor edits whichever slide is active).

  • Ideally slides live inside a .deck container. (The editor scopes to

.deck .slide and ignores any .overview clone grid — see the gotcha below.)

  • Speaker notes, if any, are in `` — the editor never

turns these into editable on-slide text.

If a deck doesn't use these conventions, point the user to references/runtime-notes.md for how to adapt the two selectors.

When NOT to reach for this

  • The user wants an editable PowerPoint (.pptx) for Office users → that's a

different tool (e.g. a pptx skill / Claude for PowerPoint), not this.

  • The user wants to generate a brand-new deck from scratch → generate it first

(e.g. with an html-ppt / frontend-slides skill), then apply this skill to make it editable.

  • The deck has no .slide structure and you can't adapt the selectors.

Files in this skill

  • assets/editor.js — the editor (no deps). Safe to read; ~500 lines.
  • assets/editor.css — editor chrome (toolbar, filmstrip, handles, toast).
  • scripts/inject.py — idempotent injector + asset copier.
  • examples/demo.html — a tiny self-contained deck (with a 30-line minimal

runtime) so you can see the editor work with no other dependencies. Open it and press E.

  • references/runtime-notes.md — internals & adaptation: the data model

(slot-fixed content-swap reorder), the .overview double-count gotcha, key handling vs the deck runtime, and how to retarget the selectors.

Verifying it works

Open the deck with ?edtest=1 in a headless browser; the editor runs a self-test (add image + text box + move + undo/redo + reorder + export) and writes the result to document.body[data-edtest] as PASS … or FAIL …. examples/demo.html is the quickest thing to try.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.