Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
k-dense-ai avatar

Pptx

  • 977 installs
  • 32k repo stars
  • Updated July 29, 2026
  • k-dense-ai/scientific-agent-skills

pptx is an agent skill that converts structured content into professional PowerPoint presentations using an existing deck as a reusable template with varied slide layouts.

About

pptx is a k-dense-ai scientific-agent-skills agent skill for template-based PowerPoint generation that avoids monotonous title-plus-bullet decks. The workflow starts by analyzing an existing template.pptx with python scripts/thumbnail.py to produce thumbnails.jpg and python -m markitdown to extract placeholder text, then maps each content section to a distinct template slide layout. The skill actively recommends multi-column, image-plus-text, full-bleed, and quote callout layouts instead of defaulting to basic bullets. Developers reach for pptx when an agent must produce presentation files from structured research or report content while preserving branded template styling.

  • Analyzes existing PPTX templates via thumbnails and markitdown extraction
  • Enforces layout variety: multi-column, image+text, full-bleed, quote, stat callouts, icon grids
  • Unpacks PPTX into editable XML files for parallel subagent editing
  • Requires completing all structural changes (delete, duplicate, reorder) before content edits
  • Supports subagent parallel editing of individual slide{N}.xml files

Pptx by the numbers

  • 977 all-time installs (skills.sh)
  • +42 installs in the week ending Jul 29, 2026 (Skillselion tracking)
  • Ranked #259 of 1,881 Documentation skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill pptx

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs977
repo stars32k
Security audit2 / 3 scanners passed
Last updatedJuly 29, 2026
Repositoryk-dense-ai/scientific-agent-skills

How do you generate PowerPoint slides from a template deck?

Convert structured content into professional, varied-layout PowerPoint presentations using an existing deck as a reusable template.

Who is it for?

Developers or researchers who need agent-generated PowerPoint decks from structured content using an existing branded template.

Skip if: Developers needing live presentation delivery, Google Slides APIs, or slide decks built entirely from scratch without a template.

When should I use this skill?

The user wants to convert structured content into a PowerPoint presentation using an existing .pptx template with varied layouts.

What you get

PowerPoint .pptx files with mapped template layouts, thumbnails preview, and varied multi-column or image slide designs.

  • populated .pptx deck
  • thumbnails.jpg layout preview

Files

SKILL.mdMarkdownGitHub ↗

Editing Presentations

Template-Based Workflow

When using an existing presentation as a template:

1. Analyze existing slides:

   python scripts/thumbnail.py template.pptx
   python -m markitdown template.pptx

Review thumbnails.jpg to see layouts, and markitdown output to see placeholder text.

2. Plan slide mapping: For each content section, choose a template slide.

⚠️ USE VARIED LAYOUTS — monotonous presentations are a common failure mode. Don't default to basic title + bullet slides. Actively seek out:

  • Multi-column layouts (2-column, 3-column)
  • Image + text combinations
  • Full-bleed images with text overlay
  • Quote or callout slides
  • Section dividers
  • Stat/number callouts
  • Icon grids or icon + text rows

Avoid: Repeating the same text-heavy layout for every slide.

Match content type to layout style (e.g., key points → bullet slide, team info → multi-column, testimonials → quote slide).

3. Unpack: python scripts/office/unpack.py template.pptx unpacked/

4. Build presentation (do this yourself, not with subagents):

  • Delete unwanted slides (remove from <p:sldIdLst>)
  • Duplicate slides you want to reuse (add_slide.py)
  • Reorder slides in <p:sldIdLst>
  • Complete all structural changes before step 5

5. Edit content: Update text in each slide{N}.xml. Use subagents here if available — slides are separate XML files, so subagents can edit in parallel.

6. Clean: python scripts/clean.py unpacked/

7. Pack: python scripts/office/pack.py unpacked/ output.pptx --original template.pptx

---

Scripts

ScriptPurpose
unpack.pyExtract and pretty-print PPTX
add_slide.pyDuplicate slide or create from layout
clean.pyRemove orphaned files
pack.pyRepack with validation
thumbnail.pyCreate visual grid of slides

unpack.py

python scripts/office/unpack.py input.pptx unpacked/

Extracts PPTX, pretty-prints XML, escapes smart quotes.

add_slide.py

python scripts/add_slide.py unpacked/ slide2.xml      # Duplicate slide
python scripts/add_slide.py unpacked/ slideLayout2.xml # From layout

Prints <p:sldId> to add to <p:sldIdLst> at desired position.

clean.py

python scripts/clean.py unpacked/

Removes slides not in <p:sldIdLst>, unreferenced media, orphaned rels.

pack.py

python scripts/office/pack.py unpacked/ output.pptx --original input.pptx

Validates, repairs, condenses XML, re-encodes smart quotes.

thumbnail.py

python scripts/thumbnail.py input.pptx [output_prefix] [--cols N]

Creates thumbnails.jpg with slide filenames as labels. Default 3 columns, max 12 per grid.

Use for template analysis only (choosing layouts). For visual QA, use soffice + pdftoppm to create full-resolution individual slide images—see SKILL.md.

---

Slide Operations

Slide order is in ppt/presentation.xml<p:sldIdLst>.

Reorder: Rearrange <p:sldId> elements.

Delete: Remove <p:sldId>, then run clean.py.

Add: Use add_slide.py. Never manually copy slide files—the script handles notes references, Content_Types.xml, and relationship IDs that manual copying misses.

---

Editing Content

Subagents: If available, use them here (after completing step 4). Each slide is a separate XML file, so subagents can edit in parallel. In your prompt to subagents, include:

  • The slide file path(s) to edit
  • "Use the Edit tool for all changes"
  • The formatting rules and common pitfalls below

For each slide: 1. Read the slide's XML 2. Identify ALL placeholder content—text, images, charts, icons, captions 3. Replace each placeholder with final content

Use the Edit tool, not sed or Python scripts. The Edit tool forces specificity about what to replace and where, yielding better reliability.

Formatting Rules

  • **Bold all headers, subh

Related skills

FAQ

How does pptx analyze an existing template deck?

pptx runs python scripts/thumbnail.py on template.pptx to produce thumbnails.jpg for layout review, then python -m markitdown template.pptx to extract placeholder text. Developers map each content section to a matching template slide.

What layout variety does pptx recommend?

pptx recommends multi-column, image-plus-text, full-bleed image overlays, and quote callout layouts. The skill explicitly warns against defaulting to basic title-and-bullet slides for every section.

Is Pptx safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.