pptx

bojieli/ai-agent-book · Agent Skill

Generates PowerPoint (.pptx) presentations from papers, outlines, or structured text, breaking down information into slides.

Jump to install ↓

Overview

PublisherbojieliCommunity
Repositorybojieli/ai-agent-book ↗
Skill folderpptx
Stars45,171
Bundled files1
LicenseApache-2.0
Last updatedJuly 27, 2026
LinksSkill source ↗ · Repository ↗

Mozgi check

What we found in the skill files. Details come with a subscription.

Security
low risk · no obvious risks found — the full report shows the details
Compatibility
needs extra software
Similar skills
36 similar skills found
Also with subscription

Installation

A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.

Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.

Install the “pptx” skill from mozgi.io (https://mozgi.io/skills/pptx-bojieli/) for me.

1. Download the archive: https://mozgi.io/skills/pptx-bojieli/download
   If it fails, take the skill folder from the source: https://github.com/bojieli/ai-agent-book/tree/main/chapter2/agent-skills-ppt/skills/pptx
2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me.
3. Put the “pptx” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.).
4. Make sure <skills folder>/pptx/SKILL.md exists.
5. Briefly tell me what this skill does and offer to try it on my task.

If you cannot do a step yourself, tell me what to click or type.

Review the source files

1 file Download Zip

Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.

SKILL.md contents

Original author text · read-only

pptx Skill —— 从论文生成演示文稿

核心流程(第二层)

把一份来源文本(论文 / 大纲)转成 8-12 页的演示文稿,按以下步骤:

1. 通读来源:理解论文的标题、作者、问题背景、方法、关键结果、结论。

2. 规划页序:一份合格的演示文稿总页数应为 8-12 页,至少覆盖——

  • 标题页(论文标题 + 作者/来源作为副标题)
  • 目录 / 大纲页
  • 研究背景 / 问题动机
  • 方法概述(必须拆成 2 页,例如「总体思路」与「关键机制」)
  • 关键结果 / 实验发现(必须拆成 2 页,例如「效率指标」与「效果对比」)
  • 局限性 / 讨论
  • 小结 / 结论页(要点式总结全篇)

3. 提炼要点:每页 3-5 条 bullet,每条一句话,避免整段照搬原文。

4. 生成文件:调用本 Skill 捆绑的脚本 scripts/generate_pptx.py

(通过 run_skill_script 工具),传入下面约定的 JSON payload。

捆绑脚本调用约定

工具:run_skill_script(name="pptx", script="generate_pptx.py", payload=<JSON字符串>)

payload 的 JSON schema:

{
  "title": "演示文稿主标题(通常等于论文标题)",
  "subtitle": "副标题,通常是作者或来源,可留空",
  "slides": [
    {"title": "页标题", "bullets": ["要点1", "要点2", "要点3"]}
  ]
}

约束:

  • slides 至少 8 项(加上自动生成的标题页,总页数落在 8-12 页区间)。
  • 第一项通常是「目录 / 大纲」,最后一项应为「小结 / 结论」。
  • 每页 bullets 建议 3-5 条。

更详细的样式与实现细则(第三层)

如需了解版式、配色、python-pptx 的实现细节,或排查生成问题,

再用 read_skill_file 读取本 Skill 内的:

  • reference.md —— 版式、配色与 python-pptx 技术细节
  • scripts/generate_pptx.py —— 生成器源码本身

Frequently asked questions

What does the pptx skill do?

Generates PowerPoint (.pptx) presentations from papers, outlines, or structured text, breaking down information into slides.

How do I install pptx?

Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.

Which AI models work with pptx?

Skills are plain Markdown instructions (the Agent Skills format), so pptx works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.

Is pptx free?

The skill is published openly by bojieli under the Apache-2.0 license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.

Is it safe to install skills?

A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.

How is a skill different from an MCP server or a plugin?

An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.

Related skills

All skills →