一键导入
powerpoint-pptx
Create, edit, and automate PowerPoint presentations with python-pptx for slides, layouts, charts, and batch processing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create, edit, and automate PowerPoint presentations with python-pptx for slides, layouts, charts, and batch processing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
在 Mattermost 创建项目频道,并强制邀请 admin、产品、架构三位首批成员。
统筹调度专家在任务中心执行立项、派单、状态流转与升级补偿。要求原子接口优先、附件闭环、能力链路串行、全程中文回执。
在 OpenClaw + Mattermost 场景中处理图片/文件收发与读取,提供可复用的本地文件暂存与 MEDIA 发送流程,杜绝“假发送”。
Leader 立项后频道引导技能。用于郑吒(pm/@bot-leader)在收到 admin 已确认立项后,立即创建项目频道并先邀请 @admin,然后细化项目与WBS,再邀请项目成员并按优先级分派任务。
AI 方案说明技能:输出模型选型、推理链路与成本估算(离线模板)。
AI 提示词评测技能:构建离线评测集与对比报告。
| name | PowerPoint PPTX |
| slug | powerpoint-pptx |
| version | 1.0.0 |
| homepage | https://clawic.com/skills/powerpoint-pptx |
| description | Create, edit, and automate PowerPoint presentations with python-pptx for slides, layouts, charts, and batch processing. |
| metadata | {"clawdbot":{"emoji":"📊","requires":{"bins":["python3"]},"os":["linux","darwin","win32"]}} |
User needs to create or modify PowerPoint (.pptx) files programmatically. Agent handles slide creation, content population, chart generation, and template automation.
| Topic | File |
|---|---|
| Slide patterns | slides.md |
| Charts and tables | charts.md |
| Design guidelines | design.md |
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.enum.text import PP_ALIGN
from pptx.dml.color import RgbColor
Install: pip install python-pptx
# Create new presentation
prs = Presentation()
# Or load existing template
prs = Presentation('template.pptx')
# Add slide with layout
slide_layout = prs.slide_layouts[1] # Title and Content
slide = prs.slides.add_slide(slide_layout)
# Save
prs.save('output.pptx')
| Index | Layout Name | Use Case |
|---|---|---|
| 0 | Title Slide | Opening slide |
| 1 | Title and Content | Standard content |
| 2 | Section Header | Chapter dividers |
| 3 | Two Content | Side-by-side |
| 4 | Comparison | Before/after |
| 5 | Title Only | Custom content |
| 6 | Blank | Full control |
# Access title
title = slide.shapes.title
title.text = "Slide Title"
# Access body placeholder
body = slide.placeholders[1]
tf = body.text_frame
tf.text = "First paragraph"
# Add more paragraphs
p = tf.add_paragraph()
p.text = "Second paragraph"
p.level = 1 # Indent level
After creating presentation:
prs.slide_layouts first.slide.shapes iteration to find shapes.Inches() or Pt(). Default sizing can be unpredictable.This skill ONLY:
This skill NEVER:
Data that stays local:
This skill does NOT:
Install with clawhub install <slug> if user confirms:
excel-xlsx — spreadsheet automationword-docx — document generationreport — structured report creationdocuments — document managementclawhub star powerpoint-pptxclawhub sync