Skills2026年3月29日·1 分钟阅读

Claude Official Skill: PPTX — PowerPoint Presentations

Claude Code skill for PowerPoint. Create slide decks, add charts, format layouts, import content, and generate presentations from text.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 66/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Community
入口
Claude Official Skill: pptx
先审查命令
npx -y tokrepo@latest install 01b1713e-53a9-44e1-bfd6-1378317e6fb0 --target codex

先 dry-run,确认写入项后再运行此命令。

TL;DR
Claude Code skill that creates, edits, and formats PowerPoint presentations from text prompts.
§01

What it is

The PPTX skill is an official Claude Code skill that enables Claude to create, edit, and format PowerPoint presentations directly from conversation. You can describe the content you want, and Claude generates a .pptx file with proper slide layouts, charts, tables, and formatting. The skill handles everything from simple text slides to complex data visualizations.

The skill targets anyone who needs to produce slide decks regularly: consultants preparing client deliverables, engineers documenting architectures, and managers building team updates. Instead of manually arranging slides in PowerPoint, you describe what you need and Claude builds it.

§02

How it saves time or tokens

Creating a 10-slide deck manually takes 30-60 minutes of layout work. With this skill, Claude generates the deck in seconds from a text description. Revisions happen through conversation rather than click-and-drag editing. The skill uses the python-pptx library efficiently, so the token cost is primarily in the content description rather than the file generation logic.

§03

How to use

  1. Install the skill in Claude Code:
claude skill install anthropics/skills/pptx

Or manually copy the skill content to .claude/skills/pptx/SKILL.md.

  1. Ask Claude to create a presentation:
Create a 5-slide deck about our Q2 product roadmap:
- Slide 1: Title slide with company name
- Slide 2: Key metrics table
- Slide 3: Feature timeline chart
- Slide 4: Team priorities
- Slide 5: Q&A
  1. Claude generates the .pptx file and saves it to your working directory.
§04

Example

Generating a presentation with a chart:

from pptx import Presentation
from pptx.chart.data import CategoryChartData
from pptx.enum.chart import XL_CHART_TYPE

prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[5])

chart_data = CategoryChartData()
chart_data.categories = ['Q1', 'Q2', 'Q3', 'Q4']
chart_data.add_series('Revenue', (120, 145, 160, 185))

slide.shapes.add_chart(
    XL_CHART_TYPE.COLUMN_CLUSTERED,
    Inches(1), Inches(1.5), Inches(8), Inches(5),
    chart_data
)

prs.save('quarterly_report.pptx')
§05

Related on TokRepo

§06

Common pitfalls

  • Complex animations and transitions are not supported by python-pptx; the generated decks use static layouts
  • Brand-specific templates should be provided as a base .pptx file for Claude to build upon; otherwise Claude uses default white layouts
  • Very large decks (50+ slides) may hit context limits; generate in batches of 10-15 slides for best results

常见问题

What file format does this skill generate?+

The skill generates standard .pptx files (Microsoft PowerPoint format). These files open in PowerPoint, Google Slides (with import), Keynote (with import), and LibreOffice Impress.

Can I use a custom template?+

Yes. Provide a .pptx template file with your brand colors, fonts, and master layouts. Claude will use the template's slide layouts when building the presentation, maintaining your visual identity.

Does this skill support charts and tables?+

Yes. The skill uses python-pptx which supports bar charts, line charts, pie charts, tables, and images. Claude generates the appropriate chart type based on your data and description.

Can I edit an existing presentation?+

Yes. Point Claude to an existing .pptx file and describe the changes you want: add slides, modify text, update charts, or rearrange content. Claude reads the existing file, applies changes, and saves the result.

How do I install this skill?+

Run 'claude skill install anthropics/skills/pptx' in Claude Code, or manually save the SKILL.md content to .claude/skills/pptx/SKILL.md in your project directory. Claude auto-loads it on the next session.

引用来源 (3)
🙏

来源与感谢

Created by Anthropic. Licensed under MIT. anthropics/skills

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产