pptx-author

Generate PowerPoint decks headlessly with python-pptx bound to Excel model values.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill pptx-author-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx-author
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/finance/pptx-author
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill pptx-author-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, openpyxl.

What problem does it solve? Financial analysts need pitch decks, IC memos, and earnings notes where every number traces back to a source workbook, but manually transcribing figures into slides causes drift and errors. This Skill produces .pptx files programmatically with values bound directly to Excel model cells. ## Core Features & Use Cases - Headless Deck Generation: Build complete .pptx files with python-pptx, including title slides, tables, and embedded chart images, without a live PowerPoint session. - Model-Backed Numbers: Read named ranges from an Excel workbook with openpyxl so slide figures always match the source model, with footnotes citing sheet and cell. - Firm Template Support: Load a mounted firm-template.pptx so decks inherit branded colors, fonts, and master layouts. - Use Case: Build a banking pitch deck for a strategic alternatives review where the valuation summary table and football field chart are generated from the DCF and comps outputs in model.xlsx. ## Quick Start Use the pptx-author skill to build a pitch deck from the valuation outputs in ./out/model.xlsx and save it to ./out/pitch.pptx.

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 in Python without opening PowerPoint?▼

Use python-pptx to build a Presentation object, add slides from layouts, populate titles, tables, and images, then call prs.save() to write the .pptx file. This runs fully headless with no Office installation required.

How to bind PowerPoint slide numbers to an Excel model?▼

Load the workbook with openpyxl using data_only=True, resolve named ranges to their computed cell values, and inject those values into slide text and tables. Recalculate the workbook first so openpyxl reads current values.

python-pptx native charts vs embedded PNG charts?▼

Native pptx.chart charts are fragile and often diverge from firm styling conventions. Rendering charts to PNG from the source workbook and embedding the image with add_picture preserves exact visual fidelity.

Can I use a company template with python-pptx?▼

Yes. Pass the template file path to Presentation() so the new deck inherits its branded colors, fonts, and master layouts. The skill checks for ./templates/firm-template.pptx and loads it when present.

When should I not use python-pptx for deck authoring?▼

Avoid it when a user is in a live PowerPoint session with an Office MCP available, or when the deck needs heavy animations, transitions, or speaker notes. Those cases call for driving the live document or a broader presentation skill.