← 返回 Skills 市场
wuhaoyupku

Editable HTML PPT

作者 wuhaoyupku · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
25
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install editable-html-ppt
功能描述
HTML PPT editor for visually editing local HTML slides, AI-generated HTML presentations, web slide decks, and saved HTML pages without touching source code....
使用说明 (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.

安全使用建议
Install only if you are comfortable using it on local HTML copies and understand that full export may contact external sites referenced by the page using your current browser session. Prefer basic export, use --preserve-csp for untrusted saved pages when possible, and avoid opening or exporting HTML from sources you do not trust.
能力评估
Purpose & Capability
The local HTML editing purpose is coherent, and the default basic export is relatively scoped, but the optional full export fetches and embeds linked assets with ambient browser credentials, which is broader than a simple local editor needs.
Instruction Scope
The skill repeatedly says to use saved local HTML and not live websites, but its trigger phrases and aliases are broad enough to catch general HTML/PPT editing requests.
Install Mechanism
The install surface is a small skill with a Node injector script and an inline browser runtime; it does not install packages, background services, or system-level components.
Credentials
Reading a source HTML file and writing an editable copy is proportionate, but stripping meta CSP by default and performing credentialed network fetches during full export are sensitive behaviors that are not clearly bounded by URL preview, allowlist, or opt-in per domain.
Persistence & Privilege
There is no durable daemon or privilege escalation, but the runtime uses browser localStorage for editor settings/draft helpers and can use the browser's existing web session credentials during full export.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install editable-html-ppt
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /editable-html-ppt 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Alias for HTML Slide Mender focused on editable HTML PPT searches.
元数据
Slug editable-html-ppt
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Editable HTML PPT 是什么?

HTML PPT editor for visually editing local HTML slides, AI-generated HTML presentations, web slide decks, and saved HTML pages without touching source code.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 25 次。

如何安装 Editable HTML PPT?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install editable-html-ppt」即可一键安装,无需额外配置。

Editable HTML PPT 是免费的吗?

是的,Editable HTML PPT 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Editable HTML PPT 支持哪些平台?

Editable HTML PPT 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Editable HTML PPT?

由 wuhaoyupku(@wuhaoyupku)开发并维护,当前版本 v0.1.1。

💬 留言讨论