360 Secure SkillHub
360 安全技能中心

pptx-author

该 Skill 面向无界面运行环境,通过 Python 脚本和 python-pptx 生成 .pptx 文件,写入 ./out/ 并返回相对路径;可使用挂载模板和模型表格,排版遵循一页一观点,且不执行邮件或上传。

anthropics
热度 0.00
最近更新 2026-10-19 02:04:15
分类:创作依赖:代码执行 / 读写文件应用场景:演示设计 / 报告撰写 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add anthropics/financial-services/pptx-author
Metadata
name
pptx-author
description
Produce a .pptx file on disk (headless) instead of driving a live PowerPoint document — for managed-agent sessions with no open Office app.

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.