Skip to content
Agentmart
Submit a tool

general-presentation

Generate and iteratively refine PowerPoint presentations from simulation results using python-pptx.

Skill by learningmatter-mit

IndexedMIT★ 183
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/learningmatter-mit-general-presentation

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate and iteratively refine PowerPoint presentations from simulation results using python-pptx.

Use cases: presentations

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/general-presentation

What's inside

Skill name
general-presentation
Description
Generate and iteratively refine PowerPoint presentations from simulation results using python-pptx.
License
MIT
Instructions
96 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (7)

  • SKILL.md
  • LiCl_amorphous.png · examples/amorphorization/
  • LiCl_crystalline.png · examples/amorphorization/
  • README.md · examples/amorphorization/
  • amorphorization_skill_demo.pptx · examples/amorphorization/
  • amorphorization_slides.py · examples/amorphorization/
  • slide_utils.py · scripts/

SKILL.md (first lines)

# Presentation Generation

## Goal

Create professional PowerPoint presentations from simulation results (plots, tables, parameters) using `python-pptx`. The agent writes standalone Python scripts using a helper library, enabling direct iteration with the user on the script to refine slides.

## Instructions

### 1. Import the Helper Library

All scripts should import `slide_utils` from this skill:

```python
import sys
sys.path.insert(0, "${CLAUDE_SKILL_DIR}/scripts")
from slide_utils import *
```

### 2. Build Slides Using Helper Functions

Available functions:

| Function | Purpose |
|---|---|
| `create_presentation(title, subtitle, author)` | Create a new presentation with a styled title slide |
| `add_title_slide(prs, title, subtitle)` | Additional title/divider slides |
| `add_section_slide(prs, title)` | Section divider (colored background) |
| `add_image_slide(prs, title, image_path, caption, notes)` | Single image/plot slide |
| `add_two_image_slide(prs, title, left_img, right_img, ...)` | Side-by-side images |
| `add_image_and_text_slide(prs, title, image_path, text, ...)` | Image + text layout |
| `add_table_slide(prs, title, headers, rows)` | Data table slide |
| `add_bullets_slide(prs, title, bullets)` | Bullet point slide |
| `add_autofit_box(slide, left, top, height, text, bg_color)` | Add a colored box that auto-scales width to text |
| `save_presentation(prs, path)` | Save to `.pptx` file |

Every builder function returns the `Slide` (or Shape) object, allowing further customization with raw `python-pptx` calls if needed.

### 3. Customize the Theme (Optional)

Override the `THEME` dictionary before building slides:

```python
from slide_utils import *
THEME["primary"] = RGBColor(0x00, 0x50, 0x80)
THEME["font_family"] = "Arial"
```

### 4. Save and Iterate Visually

```python
save_presentation(prs, "output.pptx")
```

The agent edits the Python script and re-runs to reflect changes.
**CRITICAL ITERATION LOOP**: The agent **MUST** visually inspect the generated slides using their VLM capabilities to ensure elements do not overlap, text fits perfectly within boxes, and the slide space is used efficiently with a universal, professional design style.

To preview a slide as an image for visual inspection:
```bash
# Render PPTX to PDF using LibreOffice, then to PNG
libreoffice --headless --convert-to pdf output.pptx --outdir .
pdftocairo -png output.pdf output
# This generates output-1.png, which you can visually inspect.
```

## Examples

Generating a simulation report:

```python
import sys
sys.path.insert(0, "${CLAUDE_SKILL_DIR}/scripts")
from slide_utils import *

prs = create_presentation("LiFePO4 Stability", "MACE-MP Results", "Research Agent")
add_image_slide(prs, "Phonon DOS", "phonon_dos.png", caption="No imaginary modes observed")
add_table_slide(prs, "Parameters", ["Param", "Value"], [["Model", "MACE-MP"], ["fmax", "0.02 eV/A"]])
add_bullets_slide(prs, "Conclusions", ["Dynamically stable", "E_hull = 0 meV/atom"])
save_presentation(prs, "LiFePO4_report.pptx")
```

See [amorphorization example](examples/amorphorization/) for a complete runnable example with structure images, tables, and RDF plots.

## Constraints

- **Environment**: Run the slide script in the `cpu` environment, which has `python-pptx`:
  `${CLAUDE_SKILL_DIR}/../../venv/run cpu python make_slides.py`.
- **Image formats**: PNG, JPG, BMP, GIF, TIFF supported.
- **Slide dimensions**: Default 16:9 (13.333 × 7.5 inches). Override via `THEME["width"]` / `THEME["height"]`.
- **Tables**: Large tables (>15 rows) may overflow the slide — split across multiple slides.

---

**Author:** Bowen Deng
**Contact:** [GitHub @learningmatter-mit](https://github.com/learningmatter-mit)

From learningmatter-mit/AtomisticSkills, MIT.

More from learningmatter-mit/AtomisticSkills

Signals

Stars
183
Forks
31
Open issues
0
Last commit (this folder)
Oct 5, 2026 (23 days ago)
Last release
Oct 6, 2026 (22 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from learningmatter-mit

Cite this page

general-presentation skill. Agent Mart. https://agentmart.dev/skills/learningmatter-mit-general-presentation (last updated 2026-10-24)