pptx-author

Generates PowerPoint .pptx files headlessly using python-pptx scripts.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/hkw2028/toy-project --skill pptx-author-hkw2028
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx-author
Source: https://github.com/hkw2028/toy-project/tree/main/.agents/skills/pptx-author
Command: npx skills add https://github.com/hkw2028/toy-project --skill pptx-author-hkw2028

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx.

What problem does it solve? When running in headless managed-agent sessions with no live Office application, you cannot drive a user's open PowerPoint document. This Skill produces a finished .pptx file on disk as a deliverable artifact instead. ## Core Features & Use Cases - Headless deck generation: Writes a Python script using python-pptx and executes it with Bash to build slides programmatically. - File-based output contract: Saves decks to ./out/<name>.pptx and returns the relative path so an orchestration layer can collect the artifact. - Template and model integration: Uses a firm template from ./templates/ when available and footnotes figures traced back to a source model like ./out/model.xlsx. - Use Case: In an automated valuation workflow, generate a pitch deck summarizing model outputs as a downloadable .pptx file without any user interaction with PowerPoint. ## Quick Start Generate a PowerPoint pitch deck as a file in the ./out directory summarizing the valuation model results.

Frequently Asked Questions about pptx-author

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a PowerPoint file programmatically in Python?

Use the python-pptx library to build a Presentation object, add slides from layouts, set title and body text, then call prs.save() to write the .pptx file. Run the script with Bash in headless environments.

How to generate pptx files without PowerPoint installed?

python-pptx creates .pptx files entirely in Python without requiring Microsoft Office. Write a script that constructs slides, tables, and text boxes, then save the output to a path like ./out/deck.pptx.

Can I use a company template with python-pptx?

Yes, pass the template file path to Presentation(), such as Presentation("./templates/firm-template.pptx"), and new slides inherit its layouts and styling. If no template exists, default layouts are used.

When should I use file-based pptx generation instead of Office automation?

Use file-based generation in headless or managed-agent sessions where no Office app is open. When mcp__office__powerpoint_* tools are available, drive the live document instead for review checkpoints.

Does python-pptx support embedding charts in slides?

python-pptx supports native charts, but for fidelity it is often better to render charts from the source model as PNG images and embed those. This keeps figures consistent with the underlying spreadsheet data.