pptx

pptx is a skill for Claude Code, Codex from TencentCloud/Octop. It costs 165 tokens per session (2,923 once invoked), scanned A, a copy of pptx, MIT.

A presentation-file skill for creating, reading, editing, combining, and converting PowerPoint files in .pptx format. It can also inspect slide layouts, speaker notes, comments, and visual thumbnails.

In plain words
What is it for?
Use it for slide decks, presentations, and pitch materials, including extracting text, updating existing slides, working from templates, merging or splitting files, and reviewing slide layouts.
Why use it?
It avoids manually unpacking presentation files or checking every slide by hand. It provides workflows for extracting text, editing templates, creating slides, and converting presentations to PDF.

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/tencentcloud/octop/pptx
Any agent
npx skills add TencentCloud/Octop --skill pptx
Clone the repo
git clone --depth 1 https://github.com/TencentCloud/Octop

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 pptx

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloud/octop/pptx.svg)](https://agentmods.dev/skills/tencentcloud/octop/pptx)
Your own site
<a href="https://agentmods.dev/skills/tencentcloud/octop/pptx"><img src="https://agentmods.dev/badge/skills/tencentcloud/octop/pptx.svg" alt="Measured on agentmods" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,923 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00165 $0.02923
Opus 5 $0.00082 $0.01461
Sonnet 5 $0.00033 $0.00585
Haiku 4.5 $0.00016 $0.00292

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

Security

Grade A, and why

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 4d ago.

The scan reads SKILL.md. This mod also ships 16 executable files (scripts/__init__.py, scripts/add_slide.py, scripts/clean.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to pptx — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/octop/infra/agents/experts/library/office-automation/skills/pptx/SKILL.md · 239 lines

How it starts

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

重要: 所有 scripts/ 路径都相对于此技能目录。 运行方式:cd {this_skill_dir} && python scripts/... 或使用 execute_shell_commandcwd 参数。

PPTX 技能

前置依赖

  • markitdown[pptx]:从演示文稿中提取文本
  • Pillow:生成缩略图网格
  • pptxgenjsnpm install -g pptxgenjs):从零开始创建演示文稿
  • LibreOfficesoffice):演示文稿转 PDF
  • pdftoppm(poppler-utils):PDF 转图片,用于缩略图/视觉工作流
  • 如果 pdftoppm 不可用,可使用 Python 备选方案 pdf2image
  • 在 Windows 上,依赖项必须已安装并在 PATH 中可用;如果缺失,报告依赖问题并停止(不要反复重试)。

快速参考

任务 指南
读取/分析内容 python -m markitdown presentation.pptx
编辑或基于模板创建 阅读 editing.md
从零开始创建 阅读 pptxgenjs.md

读取内容

# 文本提取
python -m markitdown presentation.pptx

# 视觉概览
python scripts/thumbnail.py presentation.pptx

# 原始 XML
python scripts/office/unpack.py presentation.pptx unpacked/

编辑工作流

阅读 editing.md 了解完整细节。

  1. 使用 thumbnail.py 分析模板
  2. 解包 → 操作幻灯片 → 编辑内容 → 清理 → 打包

从零开始创建

阅读 pptxgenjs.md 了解完整细节。

当没有模板或参考演示文稿可用时使用。


设计思路

不要创建无聊的幻灯片。 白底加纯文本要点无法打动任何人。为每张幻灯片考虑以下设计思路。

开始之前

  • 选择大胆的、与内容相关的配色方案:配色应该让人觉得是专门为这个主题设计的。如果把你的颜色换到一个完全不同的演示文稿中依然"适用",说明你的选择还不够有针对性。
  • 主次分明:一种颜色应占主导(60-70% 视觉权重),搭配 1-2 种辅助色调和一种鲜明的点缀色。切勿让所有颜色等量分配。
  • 明暗对比:标题页和结尾页用深色背景,内容页用浅色("三明治"结构)。或者全程使用深色背景营造高端感。
  • 坚持一个视觉主题:选择一个独特元素并反复使用——圆角图片框、彩色圆圈中的图标、粗单边边框。将其贯穿每张幻灯片。

配色方案

选择与主题匹配的颜色——不要默认使用通用蓝色。以下配色方案供参考:

主题 主色 辅助色 点缀色
Midnight Executive 1E2761 (navy) CADCFC (ice blue) FFFFFF (white)
Forest & Moss 2C5F2D (forest) 97BC62 (moss) F5F5F5 (cream)
Coral Energy F96167 (coral) F9E795 (gold) 2F3C7E (navy)
Warm Terracotta B85042 (terracotta) E7E8D1 (sand) A7BEAE (sage)
Ocean Gradient 065A82 (deep blue) 1C7293 (teal) 21295C (midnight)
Charcoal Minimal 36454F (charcoal) F2F2F2 (off-white) 212121 (black)
Teal Trust 028090 (teal) 00A896 (seafoam) 02C39A (mint)
Berry & Cream 6D2E46 (berry) A26769 (dusty rose) ECE2D0 (cream)
Sage Calm 84B59F (sage) 69A297 (eucalyptus) 50808E (slate)
Cherry Bold 990011 (cherry) FCF6F5 (off-white) 2F3C7E (navy)

Read the full file on GitHub · 239 lines

Files

What ships with it

58 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 · 239 lines · 165 tokens per session scan A 2176f8c4fde0

Subscribe to this mod's changes

pptx is a skill published in the GitHub repository TencentCloud/Octop (1,413 stars, last pushed today), licensed MIT. It adds 165 tokens to every session and 2,923 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pptx, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

google-docs

Google Docs via gws: read, append text, structured batch edits.

Open-Curiosity/gini-agent · 19 tokens

google-sheets

Google Sheets via gws: read/write cells, append rows, structured batch edits.

Open-Curiosity/gini-agent · 21 tokens

pdf

当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.

agentscope-ai/QwenPaw · 95 tokens

adk-unit-design

Writes an as-built architecture document for one ADK code unit — purpose, execution flow, data flow, cross-class dependencies, extension points, and the parts that must not change — to docs/design/{topic}/{unit}/index.md. It describes the code as implemented, not a proposed design, and its reader is a developer about…

google/adk-python · 181 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens