pptx 编写
- 作者仓库星标 29,745
- 作者仓库 financial-services
pptx-author
Use this skill when running headless (managed-agent / CMA mode) and you need to deliver a PowerPoint deck as a file artifact rather than editing a live document via mcp__office__powerpoint_*.
Output contract
- Write to
./out/<name>.pptx. Create./out/if it does not exist. - Return the relative path in your final message so the orchestration layer can collect it.
How to build the deck
Write a short Python script and run it with Bash. Use python-pptx:
from pptx import Presentation
from pptx.util import Inches, Pt
prs = Presentation("./templates/firm-template.pptx") # if a template is provided
# or: prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[5]) # title-only
slide.shapes.title.text = "Valuation Summary"
# ... add tables / charts / text boxes ...
prs.save("./out/pitch-<target>.pptx")
Conventions (mirror the live-Office pitch-deck skill)
- One idea per slide. Title states the takeaway; body supports it.
- Every number traces to the model. If a figure comes from
./out/model.xlsx, footnote the sheet and cell. - Use the firm template when one is mounted at
./templates/; otherwise default layouts. - Charts: prefer embedding a PNG rendered from the model over native pptx charts when fidelity matters.
- No external sends. This skill writes a file; it never emails or uploads.
When NOT to use
If mcp__office__powerpoint_* tools are available (Cowork plugin mode), use those instead — they drive the user's live document with review checkpoints. This skill is the file-producing fallback for headless runs.
- 流狐分类
- 文档
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @anthropics · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Write to ./out/<name>.pptx. Create ./out/ if it does not exist. Return the relative path in your final message so the orchestration layer can collect it.
Write a short Python script and run it with Bash. Use python-pptx:
One idea per slide. Title states the takeaway; body supports it. Every number traces to the model. If a figure comes from ./out/model.xlsx, footnote the sheet and cell. Use the firm template when one is mounted at ./templates/; otherwise default layouts.
If mcpofficepowerpoint tools are available (Cowork plugin mode), use those instead — they drive the user's live document with review checkpoints. This skill is the file-producing fallback for headless runs.
# pptx-author
Use this skill when running **headless** (managed-agent / CMA mode) and you need to deliver a PowerPoint deck as a **file artifact** rather than editing a live document via `mcp__office__powerpoint_*`.
## Output contract
- Write to `./out/<name>.pptx`. Create `./out/` if it does not exist.
- Return the relative path in your final message so the orchestration layer can collect it.
## How to build the deck
Write a short Python script and run it with Bash. Use `python-pptx`:
```python
from pptx import Presentation
from pptx.util import Inches, Pt
prs = Presentation("./templates/firm-template.pptx") # if a template is provided
# or: prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[5]) # title-only
slide.shapes.title.text = "Valuation Summary"
# ... add tables / charts / text boxes ...
prs.save("./out/pitch-<target>.pptx")
```
## Conventions (mirror the live-Office `pitch-deck` skill)
- **One idea per slide.** Title states the takeaway; body supports it.
- **Every number traces to the model.** If a figure comes from `./out/model.xlsx`, footnote the sheet and cell.
- **Use the firm template** when one is mounted at `./templates/`; otherwise default layouts.
- **Charts**: prefer embedding a PNG rendered from the model over native pptx charts when fidelity matters.
- **No external sends.** This skill writes a file; it never emails or uploads.
## When NOT to use
If `mcp__office__powerpoint_*` tools are available (Cowork plugin mode), use those instead — they drive the user's live document with review checkpoints. This skill is the file-producing fallback for headless runs. 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Output contract → How to build the deck → Conventions (mirror the live-Office pitch-deck skill) → When NOT to use
要点 -> headless · file artifact · One idea per slide. · Every number traces to the model. · Use the firm template · Charts · No external sends.
文件/命令 -> mcpofficepowerpoint · ./out/<name>.pptx · ./out/ · python-pptx · pitch-deck · ./out/model.xlsx · ./templates/
内容 SHA-256 -> 3807caf0f050
原文结构
适用与边界
原文中的明确线索
mcpofficepowerpoint、./out/<name>.pptx、./out/、python-pptx、pitch-deck、./out/model.xlsx、./templates/