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.
npx skills add CES-Ltd/TitanX --skill officecli-pptxgit clone --depth 1 https://github.com/CES-Ltd/TitanXWrote 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.
[](https://agentmods.dev/skills/ces-ltd/titanx/officecli-pptx)<a href="https://agentmods.dev/skills/ces-ltd/titanx/officecli-pptx"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.11246 |
| Opus 5.5 | $0.00041 | $0.04498 |
| Sonnet 5.5 | $0.00021 | $0.02249 |
| Haiku 4.5 | $0.00010 | $0.01125 |
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 3mo 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 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:
- One command at a time, then read the output. Check the exit code before proceeding.
- Non-zero exit = stop and fix immediately. Do not continue building on a broken state.
- Verify after structural operations. After adding a slide, chart, table, or animation, run
getorvalidatebefore building on top of it.
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.
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.
- 3mo ago First seen · 706 lines · 103 tokens per session scan C 0f89e1180afe
officecli-pptx is a skill published in the GitHub repository CES-Ltd/TitanX (51 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 11,246 once invoked, about $0.0004 per session on Opus 5.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.
officecli-pptx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| officecli-pptxCES-Ltd/TitanX | Skill | 51 | 7mo ago | Apache-2.0 | C | 103 | Claude Code, Codex |
| extractrunxhq/runx | Skill | 106 | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |
| technical-writerFerroxLabs/wayland | Skill | 619 | 20d ago | AGPL-3.0 | A | 79 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 4d ago | MIT | A | 33 | Claude Code, Codex |
| pptxHmbown/CodeWhale | Skill | 41k | 4d ago | MIT | A | 16 | Claude Code, Codex |
| xlsxHmbown/CodeWhale | Skill | 41k | 4d ago | MIT | A | 20 | Claude Code, Codex |
| office-wordOrkas-AI/Orkas | Skill | 7.7k | today | MIT | A | 2 | Claude Code, Codex |