← 返回 Skills 市场
aowind

sjht-ppt-delivery

作者 Aowind · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
147
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sjht-ppt-delivery
功能描述
Convert HTML slide deck to PDF and send to Feishu user. Use when the user asks to generate a PPT/presentation and deliver it as a PDF file via Feishu message...
安全使用建议
This skill appears to do what it says, but it reads your OpenClaw config file (~/.openclaw/openclaw.json) to find Feishu APP_ID/APP_SECRET even though the registry entry declared no required config or env vars. Before installing or running: (1) review ~/.openclaw/openclaw.json contents to ensure it doesn't contain unrelated secrets you don't want read; (2) consider providing FEISHU_APP_ID and FEISHU_APP_SECRET as environment variables instead of relying on the config file, or modify the script to accept explicit credentials; (3) verify the Feishu bot permissions and that the app credentials are scoped appropriately; (4) ensure chromium-browser and global npm packages (puppeteer-core, pdf-lib) are installed in a controlled environment; (5) if you require higher assurance, ask the publisher to update the skill metadata to declare the config path and required credentials, or to accept credentials via parameters rather than reading your whole config file.
功能分析
Type: OpenClaw Skill Name: sjht-ppt-delivery Version: 1.0.0 The skill bundle contains scripts that perform high-risk operations, specifically reading sensitive credentials from `~/.openclaw/openclaw.json` and uploading local files to the Feishu API (`send_file_feishu.py`). While these actions are aligned with the stated purpose of delivering generated presentations, the capability to access system secrets and exfiltrate data to an external endpoint is inherently risky. Additionally, `html2pdf.cjs` executes a headless browser using the `--no-sandbox` flag, which increases the potential impact of browser-based vulnerabilities.
能力评估
Purpose & Capability
The skill's name/description (HTML→PDF + Feishu delivery) matches the included scripts: html2pdf.cjs produces screenshots->PDF and send_file_feishu.py uploads via Feishu API. However, the registry metadata declares no required env vars or config paths, while the runtime actually depends on Chromium, global npm packages (puppeteer-core, pdf-lib) and reading ~/.openclaw/openclaw.json for Feishu credentials. That undeclared dependency is a mismatch.
Instruction Scope
SKILL.md instructs running the included scripts and to pull the recipient id from inbound metadata — that is reasonable. But the instructions also assume an OpenClaw config file (openclaw.json) exists with Feishu APP_ID/APP_SECRET and do not document that this file will be read. The runtime will load the entire config file from the user's home directory (~/ .openclaw/openclaw.json), which is broader access than the skill's metadata claims.
Install Mechanism
No install spec (instruction-only + included scripts). The scripts rely on locally installed Chromium and global npm packages (puppeteer-core, pdf-lib) and Python requests — these are plausible for the task. No external downloads or archive extraction are performed by the skill bundle itself.
Credentials
The skill did not declare required env vars or config paths, yet send_file_feishu.py reads ~/.openclaw/openclaw.json (and will fall back to FEISHU_APP_ID / FEISHU_APP_SECRET env vars if present). Reading a full config file can expose unrelated secrets stored there. Requesting Feishu credentials is reasonable for delivering files, but the skill's metadata should have declared that it needs access to that config path or to explicit env vars.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configuration, and does not persist new credentials. It runs on demand and has no elevated persistence behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sjht-ppt-delivery
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sjht-ppt-delivery 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
# Changelog ## [1.0.0] - 2026-03-20 ### Added - **html2pdf.cjs** — HTML 幻灯片转 PDF 脚本(chromium + puppeteer-core 逐页截图 + pdf-lib 合成) - 支持自定义页面尺寸(默认 1920×1080) - 自动等待字体加载和动画触发 - 自动检测 `.slide` 元素数量 - **send_file_feishu.py** — 飞书 Bot 文件发送脚本 - 自动从 openclaw.json 读取飞书凭证(APP_ID/SECRET) - 支持多种文件类型(pdf/doc/xls/ppt/mp4/opus) - 通过飞书 im API 上传并发送文件消息 - **SKILL.md** — 完整工作流文档 - HTML 生成 → 字体放大 → PDF 转换 → 飞书发送 - 字体放大标准参数(两轮,body 22px→26px,全局 ×1.5) - 依赖清单和使用示例 ### Design Decisions - 采用逐页截图(screenshot→embed)而非直接 `page.pdf()`,保证 CSS 动画、渐变、特效与预览一致 - 飞书发送使用 `receive_id_type=open_id` 作为 query parameter(body 参数无效,已验证) - 脚本设计为零交互命令行工具,适合被 Agent 自动调用
元数据
Slug sjht-ppt-delivery
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

sjht-ppt-delivery 是什么?

Convert HTML slide deck to PDF and send to Feishu user. Use when the user asks to generate a PPT/presentation and deliver it as a PDF file via Feishu message... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 147 次。

如何安装 sjht-ppt-delivery?

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

sjht-ppt-delivery 是免费的吗?

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

sjht-ppt-delivery 支持哪些平台?

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

谁开发了 sjht-ppt-delivery?

由 Aowind(@aowind)开发并维护,当前版本 v1.0.0。

💬 留言讨论