officecli-pptx

officecli-pptx is a skill for Claude Code, Codex from iOfficeAI/OfficeCLI. It costs 106 tokens per session (12,269 once invoked), scanned A, original, Apache-2.0.

A set of instructions for working with PowerPoint presentation files, which use the .pptx format. It covers creating, reading, editing, combining, and splitting presentations with OfficeCLI.

In plain words
What is it for?
Use it to build or modify presentations, extract their text, add charts and diagrams, combine or split slide files, and review the result for visual quality.
Why use it?
It provides rules for slide layout, typography, charts, shapes, connectors, and validation, while directing the agent to check the installed tool's help when command details are uncertain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; positional $N argument.

Good fit Use it to build or modify presentations, extract their text, add charts and diagrams, combine or split slide files, and review the result for visual quality.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iofficeai/officecli/officecli-pptx
About the project

OfficeCLI is a standalone command-line Office suite that lets AI agents read, edit, render, and automate Word, Excel, and PowerPoint files without requiring Microsoft Office. Developers and other users employ it to create and inspect documents through commands, with HTML or PNG rendering supporting visual review. The catalogue skills teach coding agents how to install and use OfficeCLI.

iOfficeAI/OfficeCLI · 32,089 stars · on GitHub · officecli.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iOfficeAI/OfficeCLI --skill officecli-pptx
Clone the repo
git clone --depth 1 https://github.com/iOfficeAI/OfficeCLI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for officecli-pptx

README.md
[![agentmods](https://agentmods.dev/badge/skills/iofficeai/officecli/officecli-pptx/github.svg)](https://agentmods.dev/skills/iofficeai/officecli/officecli-pptx)
Your own site
<a href="https://agentmods.dev/skills/iofficeai/officecli/officecli-pptx"><img src="https://agentmods.dev/badge/skills/iofficeai/officecli/officecli-pptx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for officecli-pptx

Your own site · 80×15
<a href="https://agentmods.dev/skills/iofficeai/officecli/officecli-pptx"><img src="https://agentmods.dev/badge/skills/iofficeai/officecli/officecli-pptx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,269 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 6 Sept 2026 📄 Read the review Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 12
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.12269
Opus 5.5 $0.00042 $0.04908
Sonnet 5.5 $0.00021 $0.02454
Haiku 4.5 $0.00011 $0.01227

Measured 1mo ago against content hash 0d53192751d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

officecli-pptx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/officecli-pptx/SKILL.md · 569 lines

How it starts

The opening of the file, as written. The whole thing — 569 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OfficeCLI PPTX Skill

Setup

If officecli is missing:

  • macOS / Linux: curl -fsSL https://d.officecli.ai/install.sh | bash
  • Windows (PowerShell): irm https://d.officecli.ai/install.ps1 | iex

Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.

⚠️ Help-First Rule

This skill teaches what good slides look like, not every command flag. When a property name, enum value, or alias is uncertain, consult help BEFORE guessing.

officecli help pptx                         # List all pptx elements
officecli help pptx <element>               # Full element schema (e.g. shape, chart, animation, connector, zoom, group)
officecli help pptx <verb> <element>        # Verb-scoped (e.g. add shape, set slide)
officecli help pptx <element> --json        # Machine-readable schema

Help reflects the installed CLI version. When skill and help disagree, help is authoritative. Triggers to run help immediately: UNSUPPORTED props: warning, unknown animation preset, connector.shape= enum drifts, prop-vs-alias (lineWidth vs line.width, color vs font.color).

Shell & Execution Discipline

Shell quoting (zsh / bash). ALWAYS quote element paths ("/slide[1]/...") — zsh globs unquoted [1] to no matches found. Escaping happens at three layers — keep them separate (the CLI handles the second for you):

  1. Shell. $ in a value still belongs to the shell — single-quote the whole value: --prop text='$15M'. Double-quoted "$15M" gets expanded to M. The CLI does NOT unescape \$ for you.
  2. CLI (text=). The two-char escapes \n and \t ARE interpreted, consistently across pptx / docx / xlsx — \n is a line / paragraph break, \t is a tab. To produce a literal backslash-n in text, double it (\\n); this is rarely what you want.
  3. JSON (batch heredoc). The recipes below pipe cat <<EOF | officecli batch unquoted so $SLIDE / $FILE expand inside the body. That same unquoted heredoc also expands a literal $ in a value: "$1.42" silently becomes .42 and "$2.4B" becomes .4B ($1 / $2 are empty shell params). Escape currency as \$ — "text":"\$1.42" — which still lets $SLIDE expand. \n / \t inside the JSON work either way. A fully-quoted <<'EOF' protects every $ but then $SLIDE won't expand, so only use it when the body has no shell variables. After writing money values, view text and confirm the $ survived.

Read the full file on GitHub · 569 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 569 lines · 106 tokens per session scan C 0d53192751d5

Subscribe to this mod's changes

officecli-pptx is a skill published in the GitHub repository iOfficeAI/OfficeCLI (32,089 stars, last pushed 4d ago), licensed Apache-2.0. It adds 106 tokens to every session and 12,269 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

consulting-pdf-from-youtube

Generate polished Chinese consulting-style PDF reports from YouTube videos. Uses a transcription priority chain -- YouTube auto-subs first, Whisper fallback second (with quality gates and proper noun verification). Includes bot-detection bypass escalation when yt-dlp is blocked. Use when a user shares a YouTube link…

davidtoby/agent-skills · 76 tokens

lark-sheets

A tool for creating and editing Feishu spreadsheets, which are online tables for storing, calculating, and presenting data. It also manages sheets, formulas, formatting, charts, pivot tables, and filters.

davidtoby/agent-skills · 259 tokens

chinese-pdf-report

Create professional Chinese PDF reports with reliable font rendering on macOS, especially when previous HTML-to-PDF output produced garbled Chinese text, missing glyphs, or ugly default typography. Use when asked to generate or re-export Chinese-heavy PDFs, fix Chinese font issues, improve typography for formal…

davidtoby/agent-skills · 80 tokens

lark-minutes

A tool for finding and working with Feishu meeting recordings and their transcripts or AI-generated notes. Feishu is a workplace collaboration platform, and a meeting transcript is a written record of what people said.

davidtoby/agent-skills · 133 tokens

lark-doc

A tool for reading and editing Feishu cloud documents, including document pages and wiki entries. Feishu is a workplace collaboration platform commonly used for shared documents and knowledge bases.

davidtoby/agent-skills · 162 tokens

youtube-bilingual-transcript-report

Download a YouTube video, build English and Chinese timestamped transcripts, create a structured summary with independent insights, and export a professional Chinese PDF report. Includes fallback when Chinese subtitle download hits HTTP 429 and when full-resolution video download is unnecessarily heavy.

davidtoby/agent-skills · 57 tokens