PPTX

PPTX is a skill for Claude Code, Codex from ladla90077-web/solidworks-mcp. It costs 99 tokens per session (1,157 once invoked), scanned A, original, MIT.

A toolkit and set of instructions for working with PowerPoint presentation files. It supports reading slide text and creating or editing slides, images, tables, layouts, templates, and speaker notes with code.

In plain words
What is it for?
Use it to create, revise, read, combine, split, or extract content from .pptx files, including decks based on an existing template.
Why use it?
It provides a repeatable way to inspect and update presentations instead of editing them manually. Rendering slides for inspection helps catch layout problems after changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, revise, read, combine, split, or extract content from .pptx files, including decks based on an existing template.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ladla90077-web/solidworks-mcp/pptx
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ladla90077-web/solidworks-mcp --skill pptx
Clone the repo
git clone --depth 1 https://github.com/ladla90077-web/solidworks-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for PPTX

README.md
[![agentmods](https://agentmods.dev/badge/skills/ladla90077-web/solidworks-mcp/pptx/github.svg)](https://agentmods.dev/skills/ladla90077-web/solidworks-mcp/pptx)
Your own site
<a href="https://agentmods.dev/skills/ladla90077-web/solidworks-mcp/pptx"><img src="https://agentmods.dev/badge/skills/ladla90077-web/solidworks-mcp/pptx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for PPTX

Your own site · 80×15
<a href="https://agentmods.dev/skills/ladla90077-web/solidworks-mcp/pptx"><img src="https://agentmods.dev/badge/skills/ladla90077-web/solidworks-mcp/pptx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.01157
Opus 5 $0.00049 $0.00579
Sonnet 5 $0.00020 $0.00231
Haiku 4.5 $0.00010 $0.00116

Measured 9d ago against content hash 3339e13b20ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

PPTX scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run([soffice, "--headless", "--convert-to", "pdf", "--outdir", out, "deck.pptx"], check=True)
src/sw_mcp/resources/skills/pptx/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Working with PowerPoint (.pptx)

You build and edit presentations by writing Python code, not by filling in a fixed schema. The docgen tool's run_python runs your code in the app's bundled interpreter, which has these libraries pre-installed:

  • pptx (python-pptx) — create/edit decks, load templates, add slides, text, images, tables, shapes.
  • fitz (PyMuPDF) and PIL (Pillow) — rasterize PDFs to images, image ops.
  • docx, openpyxl — Word / Excel, if the task drifts there.

run_python is real execution with full filesystem access. print(...) is captured and returned to you. Iterate: write code → render → inspect → fix → re-render.

Reading / analyzing a deck

To extract text, use the files read tool on the .pptx (it returns per-slide text), or write a quick script:

from pptx import Presentation
prs = Presentation("/path/to/deck.pptx")
for i, slide in enumerate(prs.slides, 1):
    print(f"## Slide {i}")
    for shape in slide.shapes:
        if shape.has_text_frame:
            print(shape.text_frame.text)

Creating / editing

Start from the user's template when they have one (Presentation("template.pptx")) — it preserves their masters, fonts, and branding. Otherwise Presentation() gives a blank 4:3 deck; set 16:9 with prs.slide_width = Inches(13.333); prs.slide_height = Inches(7.5). Add content with python-pptx (add_slide, add_textbox, add_picture, add_table, add_shape). Save to a real path, and pass that path to run_python's output_files argument — the saved deck then comes back as a downloadable tile the user can open directly, so you don't have to make them hunt for the path. Still mention where it landed.

Visual QA (required)

Your first render usually has real issues — overflow, overlap, misalignment. Render and look before declaring done:

import os, subprocess, tempfile, fitz
soffice = os.environ.get("COSMON_SOFFICE_BIN") or "soffice"
out = tempfile.mkdtemp()
subprocess.run([soffice, "--headless", "--convert-to", "pdf", "--outdir", out, "deck.pptx"], check=True)
pdf = os.path.join(out, "deck.pdf")
doc = fitz.open(pdf)
paths = []
for i, page in enumerate(doc):
    p = os.path.join(out, f"slide-{i+1}.png")
    page.get_pixmap(dpi=150).save(p)
    paths.append(p)
print("\n".join(paths))

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 101 lines · 99 tokens per session scan A 3339e13b20ef

Subscribe to this mod's changes

PPTX is a skill published in the GitHub repository ladla90077-web/solidworks-mcp (3 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 1,157 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories