pptx
Skill1 starsChanged 3 months agoMITView on GitHub
Create, edit, read, and visually verify PowerPoint .pptx decks. Use when the user asks for a PowerPoint, a slide deck, a presentation, a .pptx file, or to duplicate/delete/reorder slides or fill a deck template. Not for Word documents, PDFs, or spreadsheets (see the docx, pdf, xlsx skills).
- Installs packages
194 other projects use a version of this.
Adopted by
Most recently taken up by
- CloudChef/atlasclaw-providerstheir own version, first seen Nov 8, 2026
- holon-run/holontheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- Liang-MH/skillstheir own version, first seen Nov 8, 2026
- EvanLee2004/finance-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use file-reading, context7-efficient 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.
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 5 projects that use this
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
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
amirbironSkillimport-memory
Import a memory export from another AI assistant into Claude's memory — conversationally, additively, and with the content treated as data.
Also in 5 projects that use this
unicorn-pluginsSkillproduct-self-knowledge
Anthropic 제품 지식 — Claude Code, Claude API, Claude.ai 관련 정확한 정보 제공
Also in 8 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
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- anthropics/skills★ 189ksame name
- netease-youdao/LobsterAI★ 6.2ksame name
- OpenBMB/PilotDeck★ 5ksame name
- nextlevelbuilder/goclaw★ 3.7ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
- K-Dense-AI/claude-scientific-writer★ 2.6ksame name
- OpenCoworkAI/open-cowork★ 2.2ksame name
- ChenglinPoly/infiAgent★ 1.2ksame name
- polyuiislab/infiAgent★ 1.2ksame name
- melandlabs/openloomi★ 1ksame name
184 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 repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- blast-radiusSkill
- broSkill
- codebase-designSkill
- code-reviewSkill
- confluence-workflowSkill
- creating-a-pr-mrSkill
- defuddleSkill
- diagram-designSkill
- docxSkill
- domain-modelingSkill
- engineering-principlesSkill
- forgejo-cliSkill
- frontend-designSkill
- gh-cliSkill
- git-conventional-commitsSkill
- git-working-agreementSkill
- glab-cliSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- howSkill
- improve-codebase-architectureSkill
- jira-workflowSkill
- json-canvasSkill
- k8s-opsSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- openspec-workflowSkill
- pdfSkill
- prototypeSkill
- researchSkill
- setup-matt-pocock-skillsSkill
- skill-minerSkill
- technical-writingSkill
- theme-factorySkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- unslopSkill
- wayfinderSkill
- whySkill
- writing-for-agentsSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 189 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Use the transparency option (0-100) on fill/line/images.
- Very specific: line 56
Text boxes that must align with shapes:
margin: 0: Default insets (~7.2pt left/right) shift text noticeably inside a box drawn at the … - Very specific: line 69
Prefer addChart over screenshots of charts: decks stay editable, themes apply, text stays crisp.
- Distinctive: line 104
Never regenerate a deck you were given to edit.
- Very specific: line 131
Never hand-copy a slide file: a slide with no rels/content-type/sldIdLst entry either disappears or corrupts the deck.
- Distinctive: line 229
Check availability first, then install only what is missing:
- Distinctive: line 240
All of these are offline tools.
“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)
Two toolchains, chosen by task. Creating a deck from scratch: write a
Node script with pptxgenjs — it is a small API that emits the whole
package, and nothing else is needed. Editing an existing deck or
template: unzip the package, patch the XML, rezip — a slide deck is a zip
of XML parts, and most edits are simpler as text surgery than as object
model round-trips. Reading: dump text with python-pptx.
| Task | Approach |
| Create a deck | Node script with pptxgenjs → writeFile |
| Edit a deck / fill a template | unzip → edit ppt/slides/slideN.xml → rezip |
| Duplicate / delete / reorder slides | scripts/add_slide.py / edit sldIdLst + scripts/clean.py |
| Read a deck | python-pptx text dump (markitdown if installed) |
| Verify | reopen with python-pptx, render with LibreOffice, eyeball every slide |
Creating a deck with pptxgenjs
One pptxgen instance per output file, and set the layout before adding
slides. The default 16:9 layout is 10 x 5.625 in (not 13.3 x 7.5 —
that is LAYOUT_WIDE). Position everything within the actual layout, or
shapes land off-slide.
Hard-won API facts (all verified against pptxgenjs 4.x):
- Colors are six hex digits, no
#. pptxgenjs rejects'#1B2A41'and 8-digit hex ('1B2A41CC') with a console warning and silently falls back to black — alpha never reaches the file. Want see-through fills? Use thetransparencyoption (0-100) onfill/line/images; it emits<a:alpha>correctly. - Never share one options object between two add calls. pptxgenjs
mutates the object you pass:
addTablerewritesx/y/wto EMU in place,addTextinjects defaults (_bodyPropwithanchor: 'ctr',objectName, …),addChartinjects chart defaults (barDir,legendPos,chartColors). Positions usually survive (values > 100 EMU are passed through), but the leaked defaults do not — a second chart inherits the first chart'sbarDir, a second text box inherits vertical centering. Build a fresh object per call (a small helper function is the cheap fix). - Shadow
offsetmust be >= 0. Negative offsets are written verbatim asdist="-25400", which the schema forbids — PowerPoint prompts to repair. To cast a shadow upward, keep the offset positive and setangle: 270. - Letterspacing is
charSpacing(in points; written asspc="charSpacing*100"with kerning disabled). - Bullets: set
bullet: trueon each item's own options; putting a literal•in the text as well double-renders.breakLine: trueon every item except the last — without it, items merge into a single paragraph (and a single bullet). - Text boxes that must align with shapes:
margin: 0. Default insets (~7.2pt left/right) shift text noticeably inside a box drawn at the same x/y/w/h. rectRadiusonly affects rounded-rectangle shapes (and similar rounded presets); on a plain rectangle it is written into the geometry but draws nothing.- No gradient fills. Fake them with a pre-rendered gradient image
(
addImage). - Speaker notes go through
addNotes— never as an invisible text box off the slide edge.
Charts: native, not images
Prefer addChart over screenshots of charts: decks stay editable, themes
apply, text stays crisp.
Charts come out bare. The defaults you almost always want:
slide.addChart(pptx.charts.BAR, data, {
x: 0.6, y: 0.8, w: 8.8, h: 4.2,
showTitle: true, title: 'Revenue by region ($M)',
showValue: true, dataLabelPosition: 'outEnd',
chartColors: ['1B2A41', '3E92CC', 'D78A76'],
catAxisLabelColor: '5A6B7B', valAxisLabelColor: '5A6B7B',
showLegend: false, // single series needs no legend
});chartColorscolors series; on single-series bar/pie charts it colors per data point.- Stacked bar/column:
dataLabelPositionmust bectr,inEnd, orinBase. pptxgenjs happily writesoutEndfor stacked charts, and that value is not valid there — PowerPoint refuses the file while other viewers render it. Never leaveoutEndon a stacked chart. - Combo charts with a secondary axis (
secondaryValAxis: true) need BOTHvalAxesandcatAxesarrays with two entries each. Without them pptxgenjs still writes a chart, but the second series has no axis pair to bind to (the XML ends up with onevalAx/catAxfor two series) and PowerPoint can drop the chart silently — other tools open the file fine, so you will not notice until someone opens it in PowerPoint. - After
writeFile, always re-validate a deck that contains charts: unzip it, confirmppt/charts/chartN.xmlparses, and render it (below). A chart that PowerPoint rejects is invisible to every other tool you might check with.
Editing existing decks and templates
Never regenerate a deck you were given to edit. Unpack it, patch, rezip:
mkdir unpacked && unzip -o deck.pptx -d unpacked
# ...edit ppt/slides/*.xml ...
cd unpacked && zip -qr ../deck-fixed.pptx . # zip FROM INSIDE the dirZip from inside the directory so [Content_Types].xml lands at the root,
not under a folder. A deck unzipped one level too deep opens as garbage.
Structural edits (duplicate / delete / reorder slides) are package
surgery, not file surgery. A slide is registered in four places:
the part ppt/slides/slideN.xml, its rels
ppt/slides/_rels/slideN.xml.rels, a content-type Override in
[Content_Types].xml, and a <p:sldId r:id="..."> entry in
p:sldIdLst backed by a relationship in ppt/_rels/presentation.xml.rels.
Duplicate slides with
scripts/add_slide.py— it does all four steps, in order, with fresh ids:python3 scripts/add_slide.py unpacked/ \ --source ppt/slides/slide2.xml --after ppt/slides/slide1.xml python3 scripts/add_slide.py deck.pptx -o deck-v2.pptxNever hand-copy a slide file: a slide with no rels/content-type/sldIdLst entry either disappears or corrupts the deck. The duplicate shares the source's chart/media parts (documented in the script header).
- Reorder or delete slides by editing
p:sldIdLstonly — move or remove the<p:sldId>entry; leave the parts for now. Then run
scripts/clean.pyto garbage-collect parts that are no longer reachable (deleted slides, their notes, charts, media, embeddings, plus stale content-type overrides):python3 scripts/clean.py unpacked/ [--dry-run]It prints everything it removes. Skipping it leaves dead parts in the package — legal, but it bloats the file and confuses later edits.
- XML transforms must preserve namespaces. Parsing a slide with
ElementTree and re-serializing can rewrite namespace prefixes
(
p:→ns0:) and corrupt the deck; PowerPoint is strict about the prefixes it expects. Usedefusedxml/lxml(they preserve prefixes on round-trip), or patch surgically with regex/string edits the way the bundled scripts do, and always reopen the result. - Template slots that stay empty must be deleted as whole groups.
A template "slot" is usually an image placeholder plus text boxes; if
you only blank the text, the empty frames still render. Delete the
whole
<p:sp>/<p:pic>blocks (and check the slide's rels for now-orphaned media). - Legacy formats first: convert
.ppt/.potto.pptxwithsoffice --headless --convert-to pptx file.pptbefore editing. Same for applying a.potxtemplate to a modern deck.
Reading a deck
from pptx import Presentation
prs = Presentation('deck.pptx')
for i, slide in enumerate(prs.slides, 1):
print(f'--- slide {i} ---')
for shape in slide.shapes:
if shape.has_text_frame and shape.text_frame.text.strip():
print(shape.text_frame.text)
if shape.has_chart:
print('[chart]', shape.chart.chart_type)
if slide.has_notes_slide:
print('[notes]', slide.notes_slide.notes_text_frame.text)One block per slide. This is also your content-QA tool: it reads the file
the way a picky consumer would. If markitdown is installed,
markitdown deck.pptx gives a quick Markdown dump, but python-pptx sees
charts and notes that markitdown drops.
Design guidance
- Palette: pick colors specific to the topic — not defaults. One dominant color, one accent, near-black body text on white. Two hues plus neutrals beat a six-color theme every time.
- Every slide gets a visual element — a chart, an image, a shape grouping, or a large number. A slide that is only text is a slide the audience reads instead of listening.
- Vary layouts. Ten slides of title-plus-bullets reads as a template, not a deck. Alternate: full-bleed statement, two-column, chart-dominant, big-number slides.
- Fonts Office actually ships: Arial, Calibri, Cambria, Times New Roman, Courier New, Bookman Old Style, Century Schoolbook. Anything else silently falls back on machines without it.
- Scale: titles 36pt+, body 14-16pt. If body text shrinks below 12pt to fit, the slide has too much content — cut it.
- Avoid the generated-deck tells: accent lines under every title, decorative color bars along edges, cream/parchment backgrounds, centered body paragraphs, text-only slides, and text boxes overflowing their shapes. Each of these is a fingerprint.
Verify the output
Three passes, in order. Fix, re-render only what changed, stop.
- Content QA — dump the text (python-pptx, above). Grep the dump for
placeholder leftovers:
TODO,Lorem,XX%,[insert, triple spaces, your own scratch markers. - File QA — reopen the file with python-pptx (it parses
presentation.xml, rels, and content types strictly enough to catch
broken bookkeeping). For scripted XML edits, also unzip and confirm
[Content_Types].xmland every slide's rels parse. Visual QA — render and look at every slide:
soffice --headless --convert-to pdf deck.pptx --outdir render/ pdftoppm -png -r 60 render/deck.pdf render/slideThen read the PNGs. LibreOffice is not PowerPoint — it will not catch the chart-level repair cases — but it catches off-slide shapes, overflowing text, missing images, broken fonts, and empty template slots. If a render is impossible in your environment, say so and rely on passes 1-2.
Dependencies
Check availability first, then install only what is missing:
- python-pptx (read/QA):
python3 -m venv .venv && .venv/bin/pip install python-pptx. - pptxgenjs (create):
npm install pptxgenjsin a scratch dir. - LibreOffice (render):
command -v soffice || brew install --cask libreoffice(macOS),apt install libreoffice(Debian/Ubuntu), ornix-shell -p libreoffice. - pdftoppm (rasterize): ships with poppler —
nix-shell -p poppler-utils(note the plural attr name),apt install poppler-utils, orbrew install poppler. - All of these are offline tools; none of the above needs network access at run time.
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.

