Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Entry point for PPT generation. Asks the user to choose a mode (fast, standard, or creative), then collects role / audience / scene / page_count as needed. For standard mode, also asks how images should be sourced (AI generation, web search, or none), whether charts should use AI-generated infographics or ECharts, and whether the final deliverable should be PPTX or PDF. Parses uploaded pdf/docx/md/txt files, produces task_pack.json + info_pack.json in a new deck_dir, then dispatches to sn-ppt-cr
.claude/skills/opensensenova-sn-ppt-entry/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 252% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 1173% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 195% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 272% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 502% | 0% |
统一接收 PPT 生成请求,建立唯一任务目录,准备材料。Standard 先完成定向外部证据补充, Deep 先完成完整 Research,下一步必须调用 sn-ppt-story 生成公共 outline.md,再按 choices.output 分发到 sn-ppt-standard、sn-ppt-dazzle 或 sn-ppt-creative。
这是一套 Skill 的入口,不是独立运行时。文本理解、视觉理解和推理使用宿主 Agent 已有能力。普通搜索、图片搜索和图片生成优先使用宿主原生工具;原生能力不存在或实际 调用不可用时,才使用 PPT 整包自带的 sn-ppt-tools。不得要求用户另外配置模型客户端, 不得调用 model_client.py、stage.py 或为本流程再造 CLI 调度层。
在 Box-Agent 中,从本次加载的 Skill 提示取得 Entry 的绝对 Skill Root,记为 <ENTRY_SKILL_ROOT>。Entry 的所有确定性脚本都必须使用 python "<ENTRY_SKILL_ROOT>/scripts/<name>.py" 调用;禁止使用 $SKILL_DIR、当前工作目录 或相对的 skills/ 路径。所有任务产物仍必须写入同一个绝对 $DECK_DIR,并在调用 Story 和出口 Skill 时逐字复用该路径。
draft:尽快形成可看的方向稿。默认不做外部事实搜索,大纲完成后直接生产。standard:质量和等待时间平衡。Story 前由 Entry 做定向外部搜索和证据补充,不运行完整 sn-deep-research;生成前让用户看 outline.md。
deep:先完成 sn-deep-research,再生成正式 outline.md;生成前让用户确认。Entry 根据任务复杂度、事实时效性、材料完整度和用户措辞推荐一档,同时展示 Draft / Standard / Deep。用户可以覆盖;用户未覆盖时采用推荐,不为这个选择增加一轮 阻塞问答。
static_html -> sn-ppt-standarddynamic_html -> sn-ppt-dazzlecreative -> sn-ppt-creative用户提供已有 PPTX、模板或半成品并要求修改时,直接进入 sn-ppt-edit,不是先走生成 出口。Static HTML 仍由 sn-ppt-standard 自己后处理(默认导出 PPTX)。Entry 只负责路由、验证真实文件并登记 artifact。
restrained(克制):政企、学术、法务、财务或明确要求简洁。rich(丰富):默认,适合多数业务汇报、产品介绍和正式演示。high_creative(高创意):发布会、品牌传播、创意提案或明确要求强视觉。用户明确指定时直接采用;否则结合场景、受众、输出格式和措辞推荐。显示当前选择与 三档名称,但不单独阻塞。用户在生成前、确认大纲时或后续修改中覆盖时,更新同一份 task_pack.json。丰富度只决定视觉投入,不改变事实标准和 Story 遵循要求。
新任务的输出位置沿用已经验证稳定的原 Entry 规则,不得重新推断:
pwd -P,把该命令实际返回的完整绝对路径逐字记为 workspace_root。宿主显示的session workspace、repo 根或其他路径标签都不能替代这次 pwd -P 的结果;尤其不得自行 删除返回路径末尾的 output、workspace 等目录名。
<workspace_root>/ppt_decks/。<topic_concise>_<YYYYMMDD_HHMMSS>。pwd -P/绝对化结果回显 deck_dir,立即写入task_pack.deck_dir,此后全链路只逐字复用该值,禁止根据框架 workspace 信息重新拼接。
/tmp、另一个 workspace 或PPT_DECK_ROOT。
<workspace_root>/ppt_decks/ 时停止并报告权限问题,不换地方继续。Box-Agent 的文件工具相对根通常是 <session_workspace>/output,而会话元数据中的 workspace 可能是它的父目录。两者不是同一路径。创建 task_pack.json、info_pack.json、outline.md 和后续产物时必须全部使用上述同一个 deck_dir;每次文件工具返回的绝对落盘路径都要位于 该目录。若返回路径不一致,立即停止并修正路径,不得在两个 ppt_decks/ 之间继续。JSON 和 Markdown 直接用文件工具写入,不要用 execute_code 内嵌一个重新推导的绝对路径。
已有任务必须复用已有 task_pack.json 中的绝对 deck_dir;继续任务不得新建目录。 所有 Skill 安装目录只读。
task_pack.json创建目录后立即写入,并在每个阶段边界原地更新。它在任务完成后仍然保留,用于进度 展示、任务中断恢复和后续编辑。保持字段少而稳定:
json{ "schema_version": "ppt_task_v2", "deck_id": "topic_20260729_143015", "deck_dir": "/absolute/workspace/ppt_decks/topic_20260729_143015", "workspace_root": "/absolute/workspace", "ppt_mode": "standard", "params": { "role": "...", "audience": "...", "scene": "...", "page_count": 8, "language": "zh-Hans", "image_source": "auto", "infographic_source": "echarts" }, "request": { "query": "...", "source_files": [] }, "choices": { "execution_depth": "standard", "output": "static_html", "design_richness": "rich", "static_postprocess": ["pptx"] }, "state": { "status": "preparing", "current_stage": "entry", "completed_stages": [], "research": { "required": false, "executor": null, "mode": null }, "capabilities": {}, "artifacts": {}, "last_error": null, "updated_at": "ISO-8601" }, "created_at": "ISO-8601" }
当 choices.output 是 static_html 时,ppt_mode 必须是 standard,static_postprocess 默认必须是 ["pptx"]。只有用户明确说“只要 HTML”或“不要 PPTX”时才写 []。
其他输出出口的后处理字段写 [],不触发 Static 后处理。
ppt_mode 是旧出口的兼容字段:
| choices.output | ppt_mode | |---|---| | static_html | standard | | dynamic_html | dazzle | | creative | creative |
阶段更新只修改相关字段,不重写用户选择和历史完成项。开始阶段时写 current_stage/status/updated_at;完成时把阶段加入 completed_stages 并把真实产物的 绝对路径写入 artifacts;失败时写 last_error。文件系统中的真实产物优先于过时的状态 字段。
info_pack.json只承载材料和事实信息,不复制运行状态:
json{ "user_query": "...", "user_assets": { "reference_images": [], "reference_image_captions": {}, "reference_docs": [], "reference_docs_failed": [] }, "document_digest": { "topic_summary": "...", "key_sections": [], "key_points": [], "data_highlights": [], "conflicts": [], "open_questions": [], "inherited_tables": [], "inherited_images": [] }, "raw_documents": "/absolute/deck/raw_documents.json", "research_report": null }
document_digest 由宿主 Agent 阅读完整材料后直接写入,不通过额外模型 API。数字、专有 名词、时间、单位和材料间冲突必须保真。上传图片和文档内图片继续遵守“一张图片只理解 一次”的原有能力:宿主 Agent 用原生视觉能力读取后,把上传图片说明缓存到 reference_image_captions[absolute_path],把文档内图片说明缓存到 raw_documents.documents[].inherited_images[].visual_summary。已有缓存且图片未变时跳过, 下游统一读取缓存;不创建独立 caption 服务。
把当前 Skill 的同级目录解析为 skills 根,并固定:
textPPT_TOOLS_DIR = <skills root>/sn-ppt-tools
开始需要某项能力时读取 <PPT_TOOLS_DIR>/references/capability-policy.md,按 native -> bundled -> none 选择。sn-ppt-tools 是 PPT 整包的一部分,不做“是否安装” 判断,也不扫描其他仓库。只把每类能力的来源、状态、非敏感错误摘要和更新时间写入 task_pack.state.capabilities;不得记录 key 或 Authorization header。
媒体能力都不是 Entry 的强制前置。缺失时按 policy 继续;只有 Creative 已被明确选择且 原生、内置生图都不可用时,暂停 Creative 出口并保留全部前置产物,不自动切换出口。 需要用户处理配置时只提示运行 sn-ppt-doctor;不要在 Entry 重复变量清单。Doctor 会显示 Hermes/OpenClaw 实际读取的用户级 .env、缺失项和配置模板。
明确的设计要求,以及用户是否明确要求 Static 只交付 HTML。已经提供的信息不再询问。
sn-ppt-edit。若是从零生成,继续本流程。task_pack.json。bash python "<ENTRY_SKILL_ROOT>/scripts/parse_user_docs.py" \ --files <absolute paths...> \ --output "<deck_dir>/raw_documents.json" \ --asset-dir "<deck_dir>/source_assets"
Markdown 表格与本地图片引用、DOCX 表格与内嵌图片、PDF 文本、inherited_images 以及按需生成的 page_visuals 都要保留;page_visuals[].path 必须是 $DECK_DIR/source_assets/ 下的绝对路径,并随raw_documents.json 一起交接。未生成页图时,Figure 页裁切任务必须返回 blocked。一份文件失败时记录到 reference_docs_failed,继续处理其他文件。
raw_documents.json 中全部正文、表格和图片索引;必要时分段阅读,但不得只读开头。用宿主 Agent 原生视觉能力逐张理解相关上传图片和文档内图片, 按上述兼容字段缓存,失败项记录后继续。再生成 document_digest,写 info_pack.json。Story 和出口不得重复理解已有缓存的图片,除非文件变化或当前任务确实 需要重新核对视觉细节。
task_pack.json 和 info_pack.json 都已存在后,立即调用sn-ppt-workbench/scripts/open_workbench.py,始终传入当前任务的绝对 deck_dir 和可用的 同会话智能体参数。启动成功后立即向用户提供返回的 generation_url(固定为 /progress);启动失败或返回 skipped 时简要说明原因并继续生成,不得因此阻塞 Research、Story 或页面生产。不得在此步骤运行 npm、构建 Workbench 或切换任务目录。
required=false、executor=null、mode=null。用户明确要求核查某个事实时,可直接用普通搜索完成该核查,但不为 Draft 启动完整 Deep Research。
required=true、executor=entry、mode=null。不得因为“用户材料看起来足够”而跳过;只要用户未禁止联网且普通搜索可用,就必须在 Story 前执行至少一次 真实普通搜索。
required=true、executor=sn-deep-research;默认 mode=normal,复杂、多维、争议、高时效或高风险任务使用 heavy。quick / normal / heavy 只属于 sn-deep-research,不用于描述 Standard。
required=false、executor=null、mode=null 和 skipped_reason=user_forbidden,只做材料内证据审计。
直接使用;否则调用 <PPT_TOOLS_DIR>/scripts/web_search.py。
sn-deep-research,不做 scout、多维拆解、补研循环或完整研究报告编排。搜索目标只来自用户 query、材料中的时效性风险、 关键事实和会影响叙事的明显缺口;优先官方和一手来源,记录标题、URL、日期、支持的结论 及未解决限制。停止条件是 Story 所需关键证据已经覆盖或缺口已经明确,不为扩写而漫游。 把简洁结果写到 <deck_dir>/research/report.md。
report_dir=<deck_dir>/research 和当前任务材料交给sn-deep-research,按 mode=normal|heavy 完整运行。sn-ppt-tools 只作为搜索能力 fallback,不是另一套 Research 流程。
<deck_dir>/research/report.md 写入info_pack.research_report 和 task_pack.state.artifacts.research_report,再进入 Story。
state.research.required=false、state.research.executor=null、 state.research.skipped_reason=search_unavailable 和 info_pack.document_digest.open_questions 中的事实覆盖限制写清楚,然后直接进入 Story。
deck_dir 交给 sn-ppt-story。Story 读取 query、info_pack.json、raw_documents.json 和已有 Research,生成唯一 <deck_dir>/outline.md。
叙事和路径,等待用户修改或确认。继续前重新读取磁盘上的 outline.md,不能使用聊天 中的旧副本。
outline.md 已按本档位确认后,按choices.output 调用唯一对应 Skill:static_html 调用 sn-ppt-standard, dynamic_html 调用 sn-ppt-dazzle,creative 调用 sn-ppt-creative。始终传绝对 deck_dir。不得绕过 Story 把原始 query 直接交给任一出口;三个出口都只做表达与产物生产,不 再研究、重排页面或重写 Story。
sn-ppt-standard 内置 exporter(scripts/export_pptx/html_to_pptx.mjs)导出 PPTX;该出口必须同时交付 present.html 和 PPTX 两个产物,缺一即技术故障(用户明确要求只要 HTML 时,PPTX 可缺、present.html 仍必须存在)。PPTX 只能由该内置 exporter 生成:禁止用 python-pptx、自写脚本或宿主原生工具替代。Entry 最终把各出口生成的真实产物写回 task_pack.state.artifacts;转换失败保留已有 HTML 产物、状态置 partial 并如实说明,不得另起炉灶补产出或伪造 PPTX 路径。当用户提供 deck 目录,或当前目录下存在明确的任务包时:
task_pack.json、info_pack.json 和磁盘实际文件。outline.md 存在时,以磁盘版本为 Story 真相。task_pack_v2.json、outline_v2.md 或第二个 deck 目录。超过约 30 秒的工作必须让用户看到进度。至少在以下边界各回显一句:
deck_dir;/progress,或说明非阻塞的跳过原因;outline.md 已生成;present.html、PNG、讲稿和播放器的真实路径。partial,不得伪造 PPTX 路径,并把失败原因写入 task_pack.state.last_error。进度以用户能理解的阶段描述为主,不暴露内部 prompt、模型调用或细碎状态字段。
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 53,414 | 14,462 | -73% | 1 | 1 | 0% | 9,030 | 5,589 | -38% | 0 | 0 | — |
case-02 | fail→fail | 67,810 | 13,665 | -80% | 1 | 1 | 0% | 12,762 | 5,453 | -57% | 0 | 0 | — |
case-03 | fail→fail | 11,972 | 13,158 | +10% | 1 | 1 | 0% | 1,497 | 5,555 | +271% | 0 | 0 | — |
case-04 | fail→pass | 12,404 | 10,186 | -18% | 1 | 1 | 0% | 1,826 | 6,424 | +252% | 0 | 0 | — |
case-05 | fail→pass | 11,134 | 19,321 | +74% | 1 | 1 | 0% | 524 | 6,671 | +1173% | 0 | 0 | — |
case-06 | fail→fail | 90,685 | 13,993 | -85% | 1 | 1 | 0% | 8,231 | 5,602 | -32% | 0 | 0 | — |
case-07 | fail→pass | 13,285 | 7,368 | -45% | 1 | 1 | 0% | 2,005 | 5,914 | +195% | 0 | 0 | — |
case-08 | fail→pass | 10,105 | 4,706 | -53% | 1 | 1 | 0% | 1,436 | 5,337 | +272% | 0 | 0 | — |
case-09 | fail→pass | 8,689 | 7,980 | -8% | 1 | 1 | 0% | 1,014 | 6,106 | +502% | 0 | 0 | — |
case-10 | fail→fail | 23,127 | 12,313 | -47% | 1 | 1 | 0% | 1,864 | 6,668 | +258% | 0 | 0 | — |
case-11 | fail→pass | 14,385 | 18,721 | +30% | 1 | 1 | 0% | 2,216 | 6,360 | +187% | 0 | 0 | — |
case-12 | fail→pass | 35,700 | 17,635 | -51% | 1 | 1 | 0% | 1,827 | 6,042 | +231% | 0 | 0 | — |
case-13 | pass→pass | 7,260 | 4,951 | -32% | 1 | 1 | 0% | 1,097 | 5,486 | +400% | 0 | 0 | — |
case-14 | fail→fail | 5,958 | 3,389 | -43% | 1 | 1 | 0% | 646 | 5,228 | +709% | 0 | 0 | — |
case-15 | fail→fail | 7,117 | 3,232 | -55% | 1 | 1 | 0% | 726 | 5,186 | +614% | 0 | 0 | — |
case-16 | fail→pass | 11,853 | 6,420 | -46% | 1 | 1 | 0% | 1,750 | 5,486 | +213% | 0 | 0 | — |
case-17 | fail→pass | 13,374 | 8,003 | -40% | 1 | 1 | 0% | 1,513 | 6,103 | +303% | 0 | 0 | — |
case-18 | pass→pass | 9,287 | 12,243 | +32% | 1 | 1 | 0% | 1,168 | 6,494 | +456% | 0 | 0 | — |
case-19 | fail→pass | 11,084 | 6,804 | -39% | 1 | 1 | 0% | 1,618 | 5,456 | +237% | 0 | 0 | — |
case-20 | fail→pass | 13,039 | 12,092 | -7% | 1 | 1 | 0% | 1,904 | 6,426 | +238% | 0 | 0 | — |
case-21 | fail→pass | 6,529 | 6,755 | +3% | 1 | 1 | 0% | 776 | 5,721 | +637% | 0 | 0 | — |
case-22 | fail→pass | 14,623 | 8,562 | -41% | 1 | 1 | 0% | 2,274 | 6,042 | +166% | 0 | 0 | — |
case-23 | pass→pass | 16,438 | 13,450 | -18% | 1 | 1 | 0% | 2,672 | 7,409 | +177% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 18 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +57 percentage points is the difference between those two pass rates over the 18 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/11/2026 | +57% |
Other measured skills in the registry, with their headline benchmark lift.