pptx
Skill8 starsChanged 4 months agoApache-2.0View on GitHub
Create, read and edit Microsoft PowerPoint .pptx presentations — slide decks with titles, bullets, images, tables, charts, speaker notes and consistent branding. Also covers building on a corporate template while keeping its theme, reading an existing deck's content, and rendering slides to images to check they actually look right. Use whenever a .pptx file must be produced, inspected or altered.
- Installs packages
195 other projects use a version of this.
Adopted by
Most recently taken up by
- invergent-ai/surogatestheir own version, first seen Oct 5, 2026
- magicpro97/vibeflowtheir own version, first seen Oct 4, 2026
- holon-run/holontheir own version, first seen Oct 4, 2026
- IGTA-Tech/claude-skills-researchtheir own version, first seen Oct 3, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- AlpaZZ/office-agent-skillstheir own version, first seen Oct 2, 2026
Used with
Projects with it also use context7-efficient, file-reading and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hfzarslanSkillcontext7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
Also in 5 projects that use this
SeifBenayedSkillfile-reading
Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.
Also in 6 projects that use this
SeifBenayedSkillpdf-reading
Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and choosing the right reading strategy for different document types (text-heavy, scanned, slide-decks, forms, data-heavy). Do NOT use this skill for PDF creation, form filling, merging, splitting, watermarking, or encryption — use the pdf skill instead.
Also in 6 projects that use this
unicorn-pluginsSkillproduct-self-knowledge
Anthropic 제품 지식 — Claude Code, Claude API, Claude.ai 관련 정확한 정보 제공
Also in 7 projects that use this
AbdullahMalik17Skillconfiguring-dapr-pubsub
Configures Dapr pub/sub components for event-driven microservices with Kafka or Redis. Use when wiring agent-to-agent communication, setting up event subscriptions, or integrating Dapr sidecars. Covers component configuration, subscription patterns, publishing events, and Kubernetes deployment. NOT when using direct Kafka clients or non-Dapr messaging patterns.
Also in 3 projects that use this
AbdullahMalik17Skillcontainerizing-applications
Containerizes applications with Docker, docker-compose, and Helm charts. Use when creating Dockerfiles, docker-compose configurations, or Helm charts for Kubernetes. Includes Docker Hardened Images (95% fewer CVEs), multi-stage builds, and 15+ battle-tested gotchas.
Also in 3 projects that use this
- +6 more from AbdullahMalik17
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- anthropics/skills★ 199ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
- K-Dense-AI/claude-scientific-writer★ 2.4ksame name
- OpenCoworkAI/open-cowork★ 2.2ksame name
- melandlabs/openloomi★ 1ksame name
- freestylefly/wesight★ 941same name
- LeonChaoX/qinyan-academic-skills★ 932same name
- LeastBit/Claude_skills_zh-CN★ 586same name
- tomascupr/sandstorm★ 447same name
- spytensor/openmozi★ 423same name
185 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- mobile/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- mobile/CLAUDE.mdCLAUDE.md
- docxSkill
- pdfSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 189 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
If uv is genuinely unavailable, fall back to a venv — but check for uv first.
- Very specific: line 71
Every position and size is an English Metric Unit (914400 per inch).
- Very specific: line 75
Default slide size is 13.333 x 7.5 in (16:9).
- Distinctive: line 81
When no placeholder fits:
“Common” is measured: kept by at least 6 in 10 of the 189 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PowerPoint decks (.pptx)
python-pptx for everything. The library is capable, but the deck you get is only as good as your handling of two things: layouts and units.
Layouts first — always
A slide is created from a layout, and the layout supplies the placeholders you then fill. Guessing layout indices produces the classic broken deck: text in the wrong place, a title that is really a body box, branding that silently disappears.
scripts/inspect_pptx.py template.pptx --layoutsPrints every layout in the template with its index, name, and each placeholder's index, type and position. Run this before authoring against any template, including the default one — index 1 is "Title and Content" in the stock template but frequently something else in a corporate deck.
from pptx import Presentation
prs = Presentation("template.pptx") # or Presentation() for the stock template
layout = prs.slide_layouts[1] # verify this index with --layouts first
slide = prs.slides.add_slide(layout)
slide.shapes.title.text = "Q1 results"
body = slide.placeholders[1] # placeholder IDX, not position in a list
body.text = "Revenue up 14%"
for line in ["Costs flat", "Margin improved"]:
para = body.text_frame.add_paragraph()
para.text = line
para.level = 1 # indent level, 0-4Building on the user's template is what preserves their fonts, colours and
master — always prefer it to Presentation() plus manual styling.
Writing your own script
The scripts here declare their dependencies inline (PEP 723) and run under
uv, so they work with nothing installed. Do the same for scripts you write
rather than pip-installing or building a venv — on a modern distro the system
Python is PEP-668 managed and pip install fails outright:
#!/usr/bin/env -S uv run --quiet --script
# /// script
# requires-python = ">=3.10"
# dependencies = ["python-pptx>=1.0"]
# ///Then chmod +x build.py && ./build.py, or just
uv run --with 'python-pptx>=1.0' python build.py (quote the spec — > and [ are shell
metacharacters).
If uv is genuinely unavailable, fall back to a venv — but check for uv first.
Units are EMU
from pptx.util import Inches, Pt, EmuEvery position and size is an English Metric Unit (914400 per inch). Passing a
bare number places a shape 1/914400th of an inch from the edge — it looks like
the shape vanished. Font sizes use Pt.
Default slide size is 13.333 x 7.5 in (16:9). prs.slide_width /
prs.slide_height give the real values; compute positions from those rather
than hard-coding, or the deck breaks on a 4:3 template.
Free-floating content
When no placeholder fits:
from pptx.util import Inches, Pt
from pptx.dml.color import RGBColor
box = slide.shapes.add_textbox(Inches(1), Inches(2), Inches(6), Inches(1.5))
tf = box.text_frame
tf.word_wrap = True # off by default: text runs off the slide
p = tf.paragraphs[0]
p.text = "Heading"
p.runs[0].font.size = Pt(28)
p.runs[0].font.bold = True
p.runs[0].font.color.rgb = RGBColor(0x1F, 0x4E, 0x79)
slide.shapes.add_picture("chart.png", Inches(1), Inches(3), width=Inches(6))
rows, cols = 3, 4
table = slide.shapes.add_table(rows, cols, Inches(1), Inches(2),
Inches(8), Inches(2)).table
table.cell(0, 0).text = "Region"word_wrapdefaults to False on a new textbox. Set it.- Give
add_pictureonly awidthor only aheightand the aspect ratio is preserved; give both and the image is distorted. - Text autofit is not computed by python-pptx. Long text overflows silently — size it yourself, or render and look (below).
Speaker notes
slide.notes_slide.notes_text_frame.text = "Mention the Q2 forecast here."Reading a deck
scripts/inspect_pptx.py deck.pptx # slides, shapes, positions
scripts/inspect_pptx.py deck.pptx --text # all text, per slide
scripts/inspect_pptx.py deck.pptx --layouts # the template's layoutsText lives in shape.text_frame on shapes where shape.has_text_frame is true;
tables under shape.has_table; charts under shape.has_chart. A group shape
holds its own .shapes and needs recursion — inspect_pptx.py does this.
Verify by looking at it
A deck is a visual artifact and structure inspection will not catch overflowing text, overlapping shapes or an image covering the title.
scripts/topdf.py deck.pptx deck.pdf --png # one PNG per slideLook at the images. This is the step that separates a deck that is correct from one that merely contains the right words. It is also how you produce a PDF when the user asked for one.
scripts/checkoverflow.py deck.pptx is a cheaper first pass: it flags shapes
extending past the slide edges and text boxes whose content is very likely to
overflow their frame, without needing LibreOffice.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

