跳到正文
Skillpedia
PDF、Word 与幻灯片7.6k · #13211

codex-ppt

它能做什么

这项技能通过将每张幻灯片生成为完整图片并合并,从源材料构建 PowerPoint 演示文稿。适合希望获得精致外观、并接受基于图片的幻灯片(而非可编辑形状)的人。

适用场景

  • ✓当你希望根据文章、报告或一组笔记制作演示文稿的时候。
  • ✓当你希望每张幻灯片都具有统一的视觉风格的时候。
  • ✓当你不需要每张幻灯片上的文字和形状保持可编辑的时候。

技能链接

https://github.com/ningzimu/codex-ppt-skill/blob/main/skills/codex-ppt/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ningzimu/codex-ppt-skill/blob/main/skills/codex-ppt/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“把这份报告做成一个 10 页的演示文稿,风格简洁统一。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体依次完成审批步骤,先制作一张示例幻灯片,然后将其余幻灯片生成为图片。脚本把最终图片组装成一个 PowerPoint 文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Codex PPT

Overview

This skill creates image-based PowerPoint decks from source material. Each slide is a complete 16:9 generated image. Final images are assembled into .pptx with scripts/assemble_ppt.py.

Use this when the user wants a visually unified presentation and accepts full-slide image pages. Do not use it when every textbox, chart, or shape must remain separately editable.

Prefer the built-in image generation/editing tool. Use scripts/image_gen.py only when the built-in backend is unavailable, lacks a required capability, or the user explicitly asks for API/CLI mode.

Hard Constraints

  • Read the relevant Reference Map files before each phase. This file is the orchestration contract; detailed rules live in docs/ and worker prompts in prompts/.
  • Respect approval gates. Do not create final deck_spec.json, speech.md, prompt jobs, slide images, or .pptx before the approvals in docs/workflow-gates-and-progress.md.
  • After the user approves the sample slide and authorizes full-deck generation, every remaining slide image job must be dispatched to a slide subagent whenever subagents are available.
  • The main agent owns orchestration, prompt jobs, state recording, QA, speaker notes, and assembly. Do not silently replace available slide subagents with sequential production.
  • Every final origin_image/slide_XX.png must be generated by the selected image backend: built-in image generation/editing tool or scripts/image_gen.py.
  • Local drawing, Pillow, SVG, HTML/CSS/canvas screenshots, python-pptx/PptxGenJS layouts, and manual overlays are failure modes, not fallbacks.
  • The selected image backend must stay fixed after backend confirmation. Do not let subagents switch backend for convenience.
  • After sample approval, record how the approved sample was generated and pass that exact method to every slide subagent.
  • Slide dispatch and result state must be recorded with the bundled scripts. Chat messages alone do not make a slide dispatched or complete.
  • If a required subagent, image backend, or required-image path is unavailable, stop and report a blocker with the slide id and evidence. Do not create a lower-quality replacement.

Visible Progress

For non-trivial decks, keep a user-visible checklist with one active step. Canonical completion evidence is in docs/workflow-gates-and-progress.md.

Default visible steps:

  1. Prepare source, outline, style, and backend decisions.
  2. Generate and approve one sample slide.
  3. Prepare slide jobs and slide state.
  4. Dispatch slide subagents.
  5. Record generated slide results.
  6. QA, repair, notes, and PPT assembly.

Do not mark a step complete from chat alone; use real files or script-recorded state.

Default Workflow

  1. Understand the source content.

    • Identify topic, audience, goal, page count, style/brand constraints, and sections to include or exclude.
    • If no page count is specified, choose a practical count. Typical decks are 8-12 slides.
  2. Plan the deck outline.

    • Before writing or updating outline.md, read docs/workflow-gates-and-progress.md and docs/outline-style-and-sample.md.
    • Draft slide roles and required source images. Ask for confirmation, then stop before style, backend, sample, or downstream artifacts until approved.
  3. Confirm a unified visual style.

    • Before offering style options or using files from references/, read docs/outline-style-and-sample.md.
    • Offer 2-3 concrete style directions, recommend one, wait for confirmation, then keep one visual identity while varying layouts by page role.
  4. Confirm the image backend.

    • Before generating any slide image, read docs/backend-selection.md.
    • Check whether a built-in image tool is callable, state what you checked, name the backend, explain fallback status, and wait for confirmation.
    • If CLI/API fallback is selected, read docs/cli-api-fallback.md. Read docs/image-model-configuration.md only after config errors or explicit API-setting requests.
  5. Generate one sample slide for approval.

    • Before generating or approving the sample slide, read docs/outline-style-and-sample.md.
    • Generate exactly one representative sample after outline, style, and backend are confirmed. Do not generate the full deck until approved.
    • After approval, record sample_generation_method in deck_spec.json so jobs and subagents inherit the same path.
  6. Create the project directory.

    • Before initializing folders or assembling files,
常见问题

之后我能编辑幻灯片上的文字吗?

不容易,因为每张幻灯片都是一张完整的图片,而不是独立的文本框。

智能体会在制作整套演示文稿之前询问吗?

会。它会等待你批准一张示例幻灯片,然后才制作其余的部分。

它会生成什么输出文件?

一个 .pptx PowerPoint 文件,由幻灯片图片组装而成。

详情

作者的原始描述

Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines.

repo: ningzimu/codex-ppt-skill

热度

GitHub 星标
7.6k
排名
#13211
许可证
MIT
更新时间
2026/10/13

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

相似技能