officecli-pptx

Create, edit, and validate PowerPoint .pptx presentations using the officecli command-line tool.

284|54|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/nomifun/nomifun-desktop --skill officecli-pptx-nomifun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: officecli-pptx
Source: https://github.com/nomifun/nomifun-desktop/tree/main/crates/backend/nomifun-app/assets/builtin-skills/officecli-pptx
Command: npx skills add https://github.com/nomifun/nomifun-desktop --skill officecli-pptx-nomifun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires officecli.

What problem does it solve? Building or modifying PowerPoint decks programmatically is error-prone: text overflows shapes, fonts drift between masters, charts pick wrong types, and shell quoting corrupts values. This Skill provides a complete, disciplined workflow for producing presentation-quality .pptx files through the officecli CLI, with explicit design rules and QA gates. ## Core Features & Use Cases - Deck creation and editing: Create slides, shapes, charts, tables, pictures, connectors, animations, speaker notes, and comments via officecli commands with XPath-style element addressing. - Design enforcement: Built-in typography hierarchy, color palettes, font pairings, grid math, chart-choice tables, and layout patterns ensure every slide meets a visual delivery floor. - Reading and QA: Inspect decks with outline, annotated, text, and HTML views, query elements with CSS-like selectors, and validate overflow, contrast, and placeholder issues before delivery. - Use Case: Ask for a quarterly business review deck and receive a validated .pptx with a branded cover, data slides with charts and commentary cards, speaker notes on every slide, and zero overflow or contrast defects. ## Quick Start Create a five-slide pitch deck named pitch.pptx with a dark cover slide, one chart slide, and speaker notes on every content slide.

Frequently Asked Questions about officecli-pptx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a PowerPoint presentation from the command line?▼

Use officecli to create the file, then add slides with layout=blank and add shapes, charts, and notes via XPath-style paths like /slide[1]. Finish with officecli close to write the ZIP and officecli validate to check the result.

How do I extract text from an existing .pptx file?▼

Run officecli view with the outline, text, or annotated subcommands to dump slide titles and body text. For table cells, use officecli get on the table element with --depth 3, since the text view does not extract table contents.

Does officecli work on Windows, macOS, and Linux?▼

Yes. Install on macOS or Linux with the install.sh script and on Windows with the PowerShell install.ps1 script, then verify with officecli --version. Prebuilt binaries are also available from the OfficeCLI GitHub releases page.

Why does my slide text show a literal backslash before dollar signs?▼

The shell expanded the dollar sign because the value was double-quoted, and officecli does not unescape \$. Single-quote the value, for example --prop text='$15M', so the shell passes it through unchanged.

What are the limitations of editing charts in a .pptx with officecli?▼

Chart series cannot be added after creation; you must include all series at add time or remove and re-add the chart. Chart colors and animations are runtime features, so verify them in a live presentation viewer rather than the HTML preview.