Install
openclaw skills install @wuhaoyupku/html-menderVisual editor for local or saved HTML files, especially HTML PPTs, AI-generated presentation pages, one-page web slide decks, and dynamic JavaScript slide pages. Use this skill whenever the user wants to make a local HTML editable, edit or modify an HTML PPT, fix text, replace images, adjust layout/position/size, move/scale/resize/stretch a title/image/card/block, or says phrases like “修改这个 HTML”, “HTML PPT 可编辑”, “标题往上一点”, “调整版面”, or “改宽高”. Clean export patches text/images/backgrounds/layout styles back into the original source HTML instead of saving runtime DOM. Do not use for live websites, authenticated online pages, generic source-code edits, or PPTX/PowerPoint files; ask for a saved local HTML copy first.
openclaw skills install @wuhaoyupku/html-menderUse this skill to turn a local .html deck into a browser-editable copy. It is built for HTML PPTs and AI-generated slide pages where the user wants small visual edits instead of regenerating the whole page.
*.editable.html next to the source unless --out is provided.node /path/to/this-skill/scripts/inject-html-editor.mjs /absolute/path/input.html
file:///absolute/path/name.editable.html.下载 HTML / Download HTML to save the durable clean result.Do not start a local HTTP server just to view the file unless file:// blocks required local assets.
node scripts/inject-html-editor.mjs <input.html> \
--out <output.html> \
--lang zh-CN \
--mode basic
--out: custom output path.--lang zh-CN|en: editor language. Default: zh-CN.--mode basic: keeps external links and applies edits back to source HTML. Default: basic.--no-autostart: inject runtime without starting the editor automatically.Shift / Cmd / Ctrl click.</body> strings inside JavaScript data.移动缩放 / 改宽高 / 恢复 in layout mode.移动缩放 uses transform: scale(...) for safer visual scaling.改宽高 writes real width / height for width-only, height-only, or stretched changes.恢复 clears movement, scale, and editor-added size while preserving original transform and inline dimensions.文字/图片 and 位置微调 mode switching.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 for visual editing.