officecli-pptx

officecli-pptx is a skill for Claude Code, Codex from CES-Ltd/TitanX. It costs 103 tokens per session (11,246 once invoked), scanned C, original, Apache-2.0.

A set of instructions for using OfficeCLI with PowerPoint files. OfficeCLI is a command-line tool for reading and changing presentation slides, including their text and structure.

In plain words
What is it for?
It helps inspect, edit, and manage PPTX presentations from the command line. PPTX is the file format used by Microsoft PowerPoint.
Why use it?
It prevents common command-line errors on macOS and checks that the tool is installed and current before use. This makes slide operations more predictable when paths contain brackets.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ces-ltd/titanx/officecli-pptx
Any agent
npx skills add CES-Ltd/TitanX --skill officecli-pptx
Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/TitanX

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/ces-ltd/titanx/officecli-pptx.svg)](https://agentmods.dev/skills/ces-ltd/titanx/officecli-pptx)
Your own site
<a href="https://agentmods.dev/skills/ces-ltd/titanx/officecli-pptx"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/officecli-pptx.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,246 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
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 $0.00103 $0.11246
Opus 5 $0.00051 $0.05623
Sonnet 5 $0.00021 $0.02249
Haiku 4.5 $0.00010 $0.01125

Measured 4d ago against content hash 0f89e1180afe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

officecli-pptx scanned grade C with 2 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash
src/process/resources/skills/officecli-pptx/SKILL.md · 706 lines

How it starts

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

OfficeCLI PPTX Skill

BEFORE YOU START (CRITICAL)

[!CAUTION] zsh 用户(macOS 默认 shell):所有含方括号的路径参数必须加引号,否则 zsh 会 glob 展开并报错 zsh: no matches found

  • 正确:officecli set deck.pptx '/slide[1]'"/slide[1]"
  • 错误:officecli set deck.pptx /slide[1](zsh 会展开 [1]

这是首次使用时几乎必然触发的错误。 验证引号是否生效:

officecli get deck.pptx '/slide[1]' --depth 1   # 正确(有引号)

如果看到 no matches found,说明引号缺失。

Every time before using officecli, run this check:

if ! command -v officecli &> /dev/null; then
    echo "Installing officecli..."
    curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash
    # Windows: irm https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.ps1 | iex
else
    CURRENT=$(officecli --version 2>&1 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
    LATEST=$(curl -fsSL https://api.github.com/repos/iOfficeAI/OfficeCLI/releases/latest | grep '"tag_name"' | sed -E 's/.*"v?([0-9.]+)".*/\1/')
    if [ "$CURRENT" != "$LATEST" ]; then
        echo "Upgrading officecli $CURRENT → $LATEST..."
        curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCli/main/install.sh | bash
    else
        echo "officecli $CURRENT is up to date"
    fi
fi
officecli --version

Quick Reference

Task Action
Read / analyze content Use view and get commands below
Edit existing presentation Read editing.md
Create from scratch Read creating.md

Execution Model

Run commands one at a time. Do not write all commands into a shell script and execute it as a single block.

OfficeCLI is incremental: every add, set, and remove immediately modifies the file and returns output. Use this to catch errors early:

  1. One command at a time, then read the output. Check the exit code before proceeding.
  2. Non-zero exit = stop and fix immediately. Do not continue building on a broken state.
  3. Verify after structural operations. After adding a slide, chart, table, or animation, run get or validate before building on top of it.

Read the full file on GitHub · 706 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 706 lines · 103 tokens per session scan C 0f89e1180afe

Subscribe to this mod's changes

officecli-pptx is a skill published in the GitHub repository CES-Ltd/TitanX (48 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 11,246 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). 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

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…

JStaRFilms/deprecated-Takomi_Code · 168 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

JStaRFilms/deprecated-Takomi_Code · 201 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

JStaRFilms/deprecated-Takomi_Code · 92 tokens

pptx

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying…

JStaRFilms/deprecated-Takomi_Code · 152 tokens

sourcey

Generate documentation for a project using Sourcey.

runxhq/runx · 12 tokens

extract

Extract schema-validated JSON from messy HTML or text fixtures with digest-bound provenance.

runxhq/runx · 18 tokens