officecli-pptx

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

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Grong/openhub-client --skill officecli-pptx-grong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli-pptx
Source: https://github.com/Grong/openhub-client/tree/main/crates/backend/openhub-app/assets/builtin-skills/officecli-pptx
Command: npx skills add https://github.com/Grong/openhub-client --skill officecli-pptx-grong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building and editing PowerPoint decks programmatically is error-prone: text overflows shapes, fonts drift from theme defaults, charts pick the wrong type, 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, connectors, animations, speaker notes, and comments via officecli commands with explicit positioning and typography. - Reading and analysis: Inspect existing decks with outline, annotated, text, and issues views, plus XPath-style element queries for targeted extraction. - Design enforcement: Built-in rules for type hierarchy, color palettes, chart selection, layout patterns, and a visual QA floor (no overflow, no placeholder tokens, contrast checks). - Use Case: Ask for a quarterly business review deck and get a branded multi-slide .pptx with a cover, data charts, KPI callouts, flow diagrams, and speaker notes, validated before delivery. ## Quick Start Create a five-slide pitch deck named pitch.pptx with a dark cover, 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 with explicit position and font properties. Finish with officecli close and officecli validate to write and check the .pptx file.

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

Run officecli view with the outline or text subcommand to dump slide titles and body text. For tables or specific elements, use officecli get with an XPath-style path like /slide[1]/table[1] and a depth flag.

Does officecli work on Windows, macOS, and Linux?

Yes. Install on macOS or Linux with the install.sh script via curl, and on Windows with the install.ps1 script via PowerShell. 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 expands $ inside double quotes, and officecli does not unescape \$ itself. Single-quote the value, for example --prop text='$15M', so the dollar sign reaches the slide intact.

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 real presentation viewer rather than the HTML preview.