slides-extract

Extract layouts, archetypes, and theme data from PowerPoint .pptx templates into JSON contracts.

9|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mpuig/agent-slides --skill slides-extract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slides-extract
Source: https://github.com/mpuig/agent-slides/tree/main/skills/slides-extract
Command: npx skills add https://github.com/mpuig/agent-slides --skill slides-extract

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, uv, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the extraction of structured design contracts from PowerPoint templates, enabling downstream skills to generate consistent and accurate presentations.

Core Features & Use Cases

  • Template Analysis: Extracts layouts, archetypes, color palettes, and fonts from .pptx files.
  • Contract Generation: Produces JSON artifacts like resolved_manifest.json and design-profile.json for use by other skills.
  • Use Case: Prepare a company's branded PowerPoint template for use by an AI presentation generator by extracting its design elements and layout rules.

Quick Start

Use the slides-extract skill to extract template contracts from the file 'company_template.pptx'.

Frequently Asked Questions about slides-extract

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

FAQPage Schema
How do I extract design layouts and theme information from a PowerPoint template?

You can extract design layouts, archetypes, color palettes, and fonts from PowerPoint templates by analyzing .pptx files to generate structured JSON artifacts like resolved_manifest.json and design-profile.json for downstream presentation generation.

What is a design contract in presentation design and when do I need it?

A design contract in presentation design is a structured artifact containing layouts, archetypes, and theme information extracted from a .pptx file. You need it to enable automated AI presentation generators to produce consistent and accurately branded slides.

Can I use python-pptx to extract color palettes and fonts for automated slide building?

Yes, this Skill uses python-pptx to analyze .pptx templates and extract color palettes, fonts, and layout rules. It outputs a design-profile.json file that serves as an essential artifact for preparing templates for automated slide building.

How do I prepare a company branded PowerPoint template for an AI presentation generator?

To prepare a branded PowerPoint template for an AI presentation generator, run a template analysis to extract its design elements and layout rules. This process produces a resolved_manifest.json file that standardizes the design contract for consistent content generation.

What are the limitations of extracting template contracts from existing .pptx files?

The extraction process focuses on capturing layouts, archetypes, and theme information from existing .pptx files. It requires python-pptx and uv dependencies, and its primary limitation is that it only prepares design contracts rather than generating the actual presentation content itself.

Does slides-extract work with python-pptx to generate JSON artifacts for downstream skills?

Yes, slides-extract works with python-pptx to analyze .pptx files and generate essential JSON artifacts like resolved_manifest.json and design-profile.json. These artifacts are specifically designed to support template analysis and preparation for downstream content generation skills.