pptx-author

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

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

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 introduces errors and drift. This Skill produces .pptx files programmatically with python-pptx so deck values bind directly to Excel model cells. ## Core Features & Use Cases - Headless deck generation: Write .pptx files to ./out/ using python-pptx without a live PowerPoint session, optionally inheriting a firm template's branding. - Model-bound numbers: Read named ranges from an Excel workbook with openpyxl so slide figures always match the source model, with footnotes citing sheet and cell. - Chart embedding: Render charts from the source workbook as PNGs and embed them for exact visual fidelity instead of fragile native pptx charts. - Use Case: Build a banking pitch deck with cover, valuation football field, comps, DCF, and LBO slides where every share price and revenue figure is pulled programmatically from 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 PowerPoint installed?

Use python-pptx to build .pptx files entirely in code with no Office installation. Install it with pip install python-pptx, create a Presentation object, add slides from layouts, and save to disk.

How to bind PowerPoint slide numbers to an Excel model?

Load the workbook with openpyxl using data_only=True, resolve named ranges to cell values, and inject those values into slide text. Recalculate the workbook first, since openpyxl only reads previously computed values.

python-pptx native charts vs embedded PNG charts?

Native pptx charts are fragile and often mismatch firm styling conventions. Rendering the chart to PNG from the source workbook and embedding it with add_picture guarantees the deck matches the model's exact chart appearance.

Can I use a company template with python-pptx?

Yes. Pass the template file path to Presentation() instead of creating a blank deck, and the new slides inherit the template's branded colors, fonts, and master layouts.

When should I not use python-pptx for presentations?

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. A broader interactive PowerPoint skill fits those cases better.