pptx
Skill2 starsChanged 35 days agoMITView on GitHub
Create professional PowerPoint (.pptx) presentations using pptxgenjs (JavaScript).
- Installs packages
194 other projects use a version of this, 72 of them edited.
Adopted by
Most recently taken up by
- CloudChef/atlasclaw-providersedited, first seen Nov 8, 2026
- holon-run/holontheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwareedited, first seen Nov 8, 2026
- BrightGold70/skillsedited, first seen Nov 8, 2026
- Liang-MH/skillstheir own version, first seen Nov 8, 2026
- EvanLee2004/finance-skillsedited, 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 · 72
- nextlevelbuilder/goclaw★ 3.7k19% same
- ChenglinPoly/infiAgent★ 1.2k19% same
- polyuiislab/infiAgent★ 1.2k19% same
- melandlabs/openloomi★ 1k19% same
- LeonChaoX/qinyan-academic-skills★ 91019% same
- loongclaw-ai/loongclaw★ 64019% same
- ninehills/skills★ 28019% same
- rvdbreemen/OTGW-firmware★ 21319% same
- kid0317/crewai_mas_demo★ 16419% same
- kv0906/pm-kit★ 13819% same
62 more not listed
Wrote their own version · 122
- anthropics/skills★ 189ksame name
- netease-youdao/LobsterAI★ 6.2ksame name
- OpenBMB/PilotDeck★ 5ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
- K-Dense-AI/claude-scientific-writer★ 2.6ksame name
- OpenCoworkAI/open-cowork★ 2.2ksame name
- freestylefly/wesight★ 969same name
- Chen-zexi/open-ptc-agent★ 729same name
- antgroup/llm-oss-landscape★ 553same name
- tomascupr/sandstorm★ 447same name
112 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 repository9 other files it gives its agents.
- code-reviewSkill
- grill-meSkill
- handoff-conversationSkill
- himalaya-email-rustSkill
- markitdown-pythonSkill
- siri-shortcut-editingSkill
- weread-skillsSkill
- yahoo-finance-pythonSkill
- youtube-dlp-pythonSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 189 edited versions we read keep these.
2
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
- Distinctive: line 16
Create professional PowerPoint presentations using pptxgenjs in the OpenWork environment.
- Very specific: line 40
If not installed, run: npm install -g pptxgenjs
- Very specific: line 54
Write a .js script, then execute with NODE_PATH:
- Distinctive: line 137
Leave breathing room — don't fill every inch
- Very specific: line 355
Write a .js script using pptxgenjs API
“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
PPTX Skill
Create professional PowerPoint presentations using pptxgenjs in the OpenWork environment.
Environment Prerequisites (CRITICAL)
OpenWork runs a non-interactive shell that does NOT load ~/.zshrc. Global npm packages are installed but NODE_PATH is not set. You MUST prefix every node command with NODE_PATH:
NODE_PATH=$(npm root -g) node script.jsWithout this prefix, require('pptxgenjs') will fail with MODULE_NOT_FOUND.
Verify Setup
# Check pptxgenjs is installed globally
npm list -g pptxgenjs
# Test it can be loaded
NODE_PATH=$(npm root -g) node -e "const p = require('pptxgenjs'); console.log('pptxgenjs OK')"If not installed, run: npm install -g pptxgenjs
Additional Dependencies (optional)
npm install -g react-icons react react-dom sharp # For icons
pip install "markitdown[pptx]" # For reading existing .pptx
pip install Pillow # For thumbnailsQuick Start
Write a .js script, then execute with NODE_PATH:
NODE_PATH=$(npm root -g) node generate_ppt.jsMinimal Example
const pptxgen = require("pptxgenjs");
let pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Jansen";
let slide = pres.addSlide();
slide.background = { color: "1E2761" };
slide.addText("Hello World", {
x: 1, y: 2, w: 8, h: 1.5,
fontSize: 44, fontFace: "Arial",
color: "FFFFFF", bold: true, align: "center"
});
pres.writeFile({ fileName: "output.pptx" });Layout Dimensions
| Layout | Width | Height |
LAYOUT_16x9 | 10" | 5.625" (default) |
LAYOUT_16x10 | 10" | 6.25" |
LAYOUT_4x3 | 10" | 7.5" |
LAYOUT_WIDE | 13.3" | 7.5" |
Design Guidelines
Before Starting
- Pick a bold, content-informed color palette: The palette should feel designed for THIS topic.
- Dominance over equality: One color should dominate (60-70%), with 1-2 supporting tones and one accent.
- Dark/light contrast: Dark backgrounds for title + conclusion slides, light for content.
- Commit to a visual motif: Pick ONE distinctive element and repeat it across every slide.
Color Palettes
| Theme | Primary | Secondary | Accent |
| Midnight Executive | 1E2761 (navy) | CADCFC (ice blue) | FFFFFF (white) |
| Forest & Moss | 2C5F2D (forest) | 97BC62 (moss) | F5F5F5 (cream) |
| Coral Energy | F96167 (coral) | F9E795 (gold) | 2F3C7E (navy) |
| Warm Terracotta | B85042 (terracotta) | E7E8D1 (sand) | A7BEAE (sage) |
| Ocean Gradient | 065A82 (deep blue) | 1C7293 (teal) | 21295C (midnight) |
| Charcoal Minimal | 36454F (charcoal) | F2F2F2 (off-white) | 212121 (black) |
| Teal Trust | 028090 (teal) | 00A896 (seafoam) | 02C39A (mint) |
| Berry & Cream | 6D2E46 (berry) | A26769 (dusty rose) | ECE2D0 (cream) |
| Cherry Bold | 990011 (cherry) | FCF6F5 (off-white) | 2F3C7E (navy) |
Typography
| Header Font | Body Font |
| Georgia | Calibri |
| Arial Black | Arial |
| Calibri | Calibri Light |
| Trebuchet MS | Calibri |
| Palatino | Garamond |
| Element | Size |
| Slide title | 36-44pt bold |
| Section header | 20-24pt bold |
| Body text | 14-16pt |
| Captions | 10-12pt muted |
Spacing
- 0.5" minimum margins from slide edges
- 0.3-0.5" between content blocks
- Leave breathing room — don't fill every inch
For Each Slide
Every slide needs a visual element — image, chart, icon, or shape. Text-only slides are forgettable.
Layout options:
- Two-column (text left, visual right)
- Icon + text rows (icon in colored circle, bold header, description below)
- 2x2 or 2x3 grid
- Half-bleed image with content overlay
- Large stat callouts (big numbers 60-72pt with small labels below)
- Timeline or process flow (numbered steps, arrows)
Avoid (Common Mistakes)
- Don't repeat the same layout — vary columns, cards, and callouts across slides
- Don't center body text — left-align paragraphs and lists; center only titles
- Don't default to blue — pick colors that reflect the specific topic
- Don't create text-only slides — add images, icons, charts, or visual elements
- NEVER use "#" with hex colors — causes file corruption (
"FF0000"not"#FF0000") - NEVER use accent lines under titles — hallmark of AI-generated slides
- NEVER use unicode bullets "•" — use
bullet: trueinstead (unicode creates double bullets)
API Reference
Text
// Basic text
slide.addText("Title", {
x: 1, y: 1, w: 8, h: 2,
fontSize: 24, fontFace: "Arial",
color: "363636", bold: true, align: "center", valign: "middle"
});
// Rich text arrays
slide.addText([
{ text: "Bold ", options: { bold: true } },
{ text: "Italic ", options: { italic: true } }
], { x: 1, y: 3, w: 8, h: 1 });
// Multi-line (requires breakLine: true)
slide.addText([
{ text: "Line 1", options: { breakLine: true } },
{ text: "Line 2", options: { breakLine: true } },
{ text: "Line 3" }
], { x: 0.5, y: 0.5, w: 8, h: 2 });
// Character spacing (NOT letterSpacing)
slide.addText("SPACED TEXT", { x: 1, y: 1, w: 8, h: 1, charSpacing: 6 });Lists & Bullets
// Correct: multiple bullets
slide.addText([
{ text: "First item", options: { bullet: true, breakLine: true } },
{ text: "Second item", options: { bullet: true, breakLine: true } },
{ text: "Third item", options: { bullet: true } }
], { x: 0.5, y: 0.5, w: 8, h: 3 });
// Numbered list
{ text: "First", options: { bullet: { type: "number" }, breakLine: true } }
// Sub-items
{ text: "Sub-item", options: { bullet: true, indentLevel: 1 } }Shapes
slide.addShape(pres.shapes.RECTANGLE, {
x: 0.5, y: 0.8, w: 1.5, h: 3.0,
fill: { color: "FF0000" },
line: { color: "000000", width: 2 }
});
// With shadow (NEVER use negative offset, NEVER encode opacity in color string)
slide.addShape(pres.shapes.RECTANGLE, {
x: 1, y: 1, w: 3, h: 2,
fill: { color: "FFFFFF" },
shadow: { type: "outer", color: "000000", blur: 6, offset: 2, angle: 135, opacity: 0.15 }
});
// With transparency
slide.addShape(pres.shapes.RECTANGLE, {
x: 1, y: 1, w: 3, h: 2,
fill: { color: "0088CC", transparency: 50 }
});Images
// From file
slide.addImage({ path: "images/photo.png", x: 1, y: 1, w: 5, h: 3 });
// From base64
slide.addImage({ data: "image/png;base64,iVBORw0KGgo...", x: 1, y: 1, w: 5, h: 3 });
// Sizing modes
{ sizing: { type: "contain", w: 4, h: 3 } } // fit inside
{ sizing: { type: "cover", w: 4, h: 3 } } // fill area (may crop)Charts
// Bar chart
slide.addChart(pres.charts.BAR, [{
name: "Sales", labels: ["Q1", "Q2", "Q3", "Q4"], values: [4500, 5500, 6200, 7100]
}], {
x: 0.5, y: 0.6, w: 6, h: 3, barDir: "col",
chartColors: ["0D9488", "14B8A6", "5EEAD4"],
showValue: true, dataLabelPosition: "outEnd",
valGridLine: { color: "E2E8F0", size: 0.5 },
catGridLine: { style: "none" },
showLegend: false
});
// Pie chart
slide.addChart(pres.charts.PIE, [{
name: "Share", labels: ["A", "B", "Other"], values: [35, 45, 20]
}], { x: 7, y: 1, w: 5, h: 4, showPercent: true });
// Line chart
slide.addChart(pres.charts.LINE, [{
name: "Trend", labels: ["Jan", "Feb", "Mar"], values: [32, 35, 42]
}], { x: 0.5, y: 4, w: 6, h: 3, lineSize: 3, lineSmooth: true });Tables
slide.addTable([
[
{ text: "Header 1", options: { fill: { color: "6699CC" }, color: "FFFFFF", bold: true } },
{ text: "Header 2", options: { fill: { color: "6699CC" }, color: "FFFFFF", bold: true } }
],
["Cell 1", "Cell 2"]
], {
x: 1, y: 1, w: 8, h: 2,
border: { pt: 1, color: "999999" },
colW: [4, 4]
});Backgrounds
slide.background = { color: "F1F1F1" }; // Solid color
slide.background = { path: "https://example.com/bg.jpg" }; // Image URL
slide.background = { data: "image/png;base64,iVBORw0KGgo..." }; // Base64Icons (react-icons)
const React = require("react");
const ReactDOMServer = require("react-dom/server");
const sharp = require("sharp");
const { FaCheckCircle } = require("react-icons/fa");
function renderIconSvg(IconComponent, color = "#000000", size = 256) {
return ReactDOMServer.renderToStaticMarkup(
React.createElement(IconComponent, { color, size: String(size) })
);
}
async function iconToBase64Png(IconComponent, color, size = 256) {
const svg = renderIconSvg(IconComponent, color, size);
const pngBuffer = await sharp(Buffer.from(svg)).png().toBuffer();
return "image/png;base64," + pngBuffer.toString("base64");
}
// Usage
const iconData = await iconToBase64Png(FaCheckCircle, "#4472C4", 256);
slide.addImage({ data: iconData, x: 1, y: 1, w: 0.5, h: 0.5 });Common Pitfalls (CRITICAL)
- NEVER use "#" in hex colors —
"FF0000"not"#FF0000"(corrupts file) - NEVER encode opacity in hex color —
"00000020"corrupts file; useopacity: 0.12instead - NEVER use unicode bullets "•" — use
bullet: true(unicode creates double bullets) - NEVER reuse option objects — pptxgenjs mutates them in-place; use factory functions:
// WRONG const shadow = { type: "outer", blur: 6, offset: 2, color: "000000", opacity: 0.15 }; slide.addShape(pres.shapes.RECTANGLE, { shadow, ... }); slide.addShape(pres.shapes.RECTANGLE, { shadow, ... }); // corrupted! // CORRECT const makeShadow = () => ({ type: "outer", blur: 6, offset: 2, color: "000000", opacity: 0.15 }); slide.addShape(pres.shapes.RECTANGLE, { shadow: makeShadow(), ... }); slide.addShape(pres.shapes.RECTANGLE, { shadow: makeShadow(), ... }); - NEVER use negative shadow offset — corrupts file; use
angle: 270for upward shadows - Use
breakLine: truebetween text array items, or they run together - Avoid
lineSpacingwith bullets — useparaSpaceAfterinstead - Each presentation needs a fresh
new pptxgen()instance — don't reuse - Don't use
ROUNDED_RECTANGLEwith accent borders — rectangular overlays won't cover rounded corners; useRECTANGLE - Set
margin: 0on text boxes when aligning text precisely with shapes or icons
Workflow
Creating from Scratch
- Plan slide structure and content
- Choose color palette and typography
- Write a
.jsscript using pptxgenjs API - Execute:
NODE_PATH=$(npm root -g) node generate_ppt.js - QA: Review the output file
Reading Existing .pptx
python -m markitdown presentation.pptxOutput
Generated .pptx files are compatible with:
- Microsoft PowerPoint
- Apple Keynote
- LibreOffice Impress
- Google Slides (via import)
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.

