← Back to Skills Marketplace
wuhaoyupku

HTML Presentation Editor

by wuhaoyupku · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
26
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install html-presentation-editor
Description
HTML PPT editor for visually editing local HTML slides, AI-generated HTML presentations, web slide decks, and saved HTML pages without touching source code....
README (SKILL.md)

HTML Slide Mender

Also searchable as: HTML PPT Editor, HTML Slides Editor, PPT Editor, Presentation Editor, HTML Editor, AI HTML PPT editor, 网页 PPT 编辑, HTML 编辑, PPT 编辑.

This skill turns a local .html file into an editable browser page by injecting the HTML Slide Mender runtime. It is intended for AI-generated HTML decks, HTML PPT outputs, and other local HTML pages where the user wants a visual editor instead of source-code edits.

Use This For

  • "我想编辑这个 HTML"
  • "帮我把这个 HTML PPT 变成可编辑"
  • "这个 AI 生成的 HTML 页面我想改文字/图片"
  • "注入编辑器让我自己改一下"
  • Local .html files, including pages saved from a browser

Do not target live websites directly. If the user asks to edit an online page, ask them to provide a saved local HTML copy or use the browser extension workflow instead.

Workflow

  1. Locate the user's source HTML file. If multiple candidates are possible, ask which file to edit.
  2. Run the injector script from this skill:
node /path/to/this-skill/scripts/inject-html-editor.mjs /absolute/path/input.html
  1. Use the JSON output to find the generated editable file. By default it is created next to the source file as name.editable.html.
  2. Open the editable HTML in a browser when the user wants to edit now. The editor should start automatically.
  3. Tell the user to edit visually in the page.
  4. When finished, tell the user to click the editor toolbar's "下载 HTML / Download HTML" button. This downloaded file is the durable saved result for the MVP.

The original HTML file is never modified by default.

Script Options

node scripts/inject-html-editor.mjs \x3Cinput.html> \
  --out \x3Coutput.html> \
  --lang zh-CN \
  --mode basic
  • --out: custom editable HTML output path.
  • --lang zh-CN|en: editor language. Default: zh-CN.
  • --mode basic|full: default export mode. basic keeps original external links; full tries to inline accessible CSS/images. Default: basic.
  • --no-autostart: inject runtime but do not start the editor automatically.
  • --preserve-csp: keep meta Content-Security-Policy tags. By default the editable copy removes CSP meta tags because they often block injected inline scripts.

Important Behavior

  • The generated editable HTML includes the editor runtime inline, marked with data-hsm-editor.
  • The editor's clean export removes its own toolbar, boxes, and injected runtime scripts.
  • The MVP does not enable local draft saving. Refreshing or closing the editable page can lose unsaved edits; use "下载 HTML / Download HTML" when the user wants to keep the result.
  • For skill-injected pages in basic mode, the final download starts from the original source HTML and applies content-layer edits to text/images/backgrounds instead of serializing the live runtime DOM. This avoids freezing slide-deck runtime state such as generated navigation dots or the currently translated slide.
  • For PPT-style HTML with separate CSS files, prefer --mode basic unless the user specifically wants a bundled single HTML.
  • For standalone sharing or uncertain external assets, use --mode full, but warn that browser security may prevent bundling some cross-origin or inaccessible assets.
  • If the editable page appears unstyled, generate the editable file next to the original HTML so relative CSS/image paths still resolve.

Example

User: "我想编辑 /Users/me/deck.html。"

Run:

node /path/to/this-skill/scripts/inject-html-editor.mjs /Users/me/deck.html --lang zh-CN --mode basic

Then open /Users/me/deck.editable.html and let the user edit in the browser.

Usage Guidance
Review before installing if you handle private or logged-in web content. Prefer basic mode, avoid full export for saved pages that reference authenticated resources, and use --preserve-csp when editing untrusted or sensitive HTML.
Capability Assessment
Purpose & Capability
The core behavior matches the stated purpose: a Node script reads a user-selected HTML file, creates an editable copy, injects a browser editor, and leaves the original file unchanged by default.
Instruction Scope
The instructions say to use saved local HTML files and not live websites, but the aliases are broad enough to match generic HTML or presentation editing requests.
Install Mechanism
The install/runtime requirement is limited to Node and bundled local files; there is no package install, shell persistence, or external installer behavior in the artifact.
Credentials
Full export mode fetches stylesheet and asset URLs with credentials included and bundles reachable resources into the exported HTML, without a hard runtime block for live or authenticated web contexts.
Persistence & Privilege
The editable copy removes meta CSP tags by default, with a documented --preserve-csp option; draft patch storage code exists but the injector sets enableDraft:false, while editor preferences still use localStorage.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install html-presentation-editor
  3. After installation, invoke the skill by name or use /html-presentation-editor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
Alias for HTML Slide Mender focused on HTML presentation editing searches.
Metadata
Slug html-presentation-editor
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is HTML Presentation Editor?

HTML PPT editor for visually editing local HTML slides, AI-generated HTML presentations, web slide decks, and saved HTML pages without touching source code.... It is an AI Agent Skill for Claude Code / OpenClaw, with 26 downloads so far.

How do I install HTML Presentation Editor?

Run "/install html-presentation-editor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is HTML Presentation Editor free?

Yes, HTML Presentation Editor is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does HTML Presentation Editor support?

HTML Presentation Editor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created HTML Presentation Editor?

It is built and maintained by wuhaoyupku (@wuhaoyupku); the current version is v0.1.1.

💬 Comments