作者

文档 社区

技能解读

当前原文的自动摘译,尚未人工审校。

产出合约

写信给./out/<name>.pptx。如果./out/不存在,则创建它。返回最终消息中的相对路径,以便编排层可以收集它。

如何建造甲板

编写一个简短的 Python 脚本并使用 Bash 运行它。使用python-pptx:

惯例(反映实时 Office 推介技巧)

每张幻灯片一个想法。标题说明了要点;身体支撑它。每个数字都可以追溯到型号。如果图形来自./out/model.xlsx,请为工作表和单元格添加脚注。安装在./templates/时,请使用坚固的模板;否则默认布局。图表:当保真度很重要时,与本机 pptx 图表相比,更喜欢嵌入从模型渲染的 PNG。没有外部发送。该技能写入文件;它从不发送电子邮件或上传。

何时不使用

如果 mcp__office__powerpoint_* 工具可用(Cowork 插件模式),请使用这些工具 - 它们通过审阅检查点来驱动用户的实时文档。该技能是无头运行的文件生成后备方案。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
文档
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@anthropics · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
Python
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# 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.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。