← powerpoint.md

pptx-from-layouts

by tristan-mcinnis · Python · MIT License
Open Source Agent Skill Template-Native
Best for: Consultants, agencies, and teams with branded templates who need production decks from markdown outlines
Not for: Users without existing .pptx templates, or those needing real-time collaborative editing

How It Works

Unlike generators that treat templates as static backgrounds, pptx-from-layouts understands PowerPoint's architecture—profiling slide masters, mapping content to native placeholders, and preserving professional design integrity.

🔍
Template Profiling
Analyzes your .pptx file's slide master layouts and generates a matching config JSON for accurate content mapping.
🎯
Semantic Layout Matching
Maps markdown outline sections to the most appropriate template layout based on content type and structure.
📐
Native Placeholder Filling
Places content into proper PowerPoint placeholders instead of overlaying text boxes, preserving fonts, spacing, and design.
🛡️
Watermark & Design Preservation
Avoids conflicts with background designs, watermarks, and decorative elements that break with overlay-based approaches.

Installation

One dependency, two copy commands. Python 3.10+ required.

# Clone and install git clone https://github.com/tristan-mcinnis/pptx-from-layouts-skill.git cp -r pptx-from-layouts-skill/.claude/skills/pptx-from-layouts ~/.claude/skills/pptx-from-layouts pip install python-pptx # Profile your template python ~/.claude/skills/pptx-from-layouts/scripts/profile.py \ your-template.pptx --generate-config # Generate from outline python ~/.claude/skills/pptx-from-layouts/scripts/generate.py \ outline.md -o presentation.pptx --template your-template.pptx

Outline Format

Markdown with visual type declarations. The tool matches your semantic intent to template layouts.

# Slide 1: Project Overview **Visual: hero-statement** Transforming legacy infrastructure... # Slide 2: Market Analysis **Visual: two-column** - Left: TAM $4.2B - Right: 34% CAGR through 2028 # Slide 3: Timeline **Visual: process** Q1: Audit → Q2: Migrate → Q3: Validate

Project Signals

GitHub Stars
35
Forks
7
License
MIT
Last Updated
2026-04-21
Language
Python
API Key Required
None

Trade-offs

Template fidelity
Uses native layouts—no broken designs or misaligned text boxes
Zero runtime cost
Local Python execution, no API calls or subscription fees
Requires existing template
Needs a properly structured .pptx with defined slide masters; bundled Inner Chapter template included as fallback
Early project velocity
35 stars indicates active but niche usage; fewer community examples than mature alternatives

Alternatives

Anthropic PPTX Skill
Official Claude Code skill — simpler setup, less template control
python-pptx (library)
Lower-level Python library — full control, more boilerplate required
Gamma
Web-based AI generator — no template import, SaaS subscription model

Community

Tagged for broad agent ecosystem compatibility. Active development with recent pushes.

claude
Primary target
codex
Supported
opencode
Supported
openai
Compatible