pptx

pptx is a skill for Claude Code from nexus-research-lab/nexus. It costs 95 tokens per session (1,012 once invoked), scanned A, original, Apache-2.0.

Instructions for reading, creating, and editing PowerPoint presentation files and templates, including .pptx, .potx, and older .ppt files. They cover text, tables, images, charts, layouts, and speaker notes.

In plain words
What is it for?
Use them when a presentation or template is an input or output, such as extracting content, creating slides, applying a template, editing slides, or converting an old .ppt file.
Why use it?
They define how to preserve an existing presentation's structure and formatting while checking that the finished file still contains the intended content.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

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

Made for: Claude Code.

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/nexus-research-lab/nexus/pptx.svg)](https://agentmods.dev/skills/nexus-research-lab/nexus/pptx)
Your own site
<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/pptx"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/pptx.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.1 $0.00095 $0.01012
Opus 5 $0.00048 $0.00506
Sonnet 5 $0.00019 $0.00202
Haiku 4.5 $0.00010 $0.00101

Measured 6d ago against content hash 87ac12390972, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/read_presentation.py, tests/test_read_presentation.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.

skills/pptx/SKILL.md · 73 lines

What it actually says

PowerPoint 演示文稿

任务 路径
读取、总结、问答 运行自带读取脚本;视觉信息再看逐页预览
新建演示文稿 python-pptx 生成可编辑 PPTX
编辑现有演示文稿或套模板 先检查全部页面和模板结构,再局部修改
复杂母版、动画、SmartArt、媒体 优先保留现有 OOXML;只做已验证的定点修改
旧版 .ppt 用 LibreOffice 转为 .pptx,保留原件

工作契约

  • 只读问题不重新保存或导出演示文稿。
  • 写操作默认另存新文件,不覆盖源稿或模板。
  • 用户提供的模板是视觉和结构权威;不要擅自换母版、主题、字体或配色。
  • 先直接使用当前环境。import pptx 失败且任务需要写文件时,取得用户同意后在隔离环境安装 ${CLAUDE_SKILL_DIR}/requirements.txt,不要静默修改系统 Python。

读取

python3 "${CLAUDE_SKILL_DIR}/scripts/read_presentation.py" "<input.pptx>"
python3 "${CLAUDE_SKILL_DIR}/scripts/read_presentation.py" "<input.pptx>" --output "<new-output.md>"

脚本按演示顺序提取正文、表格和演讲者备注。图表、图片、SmartArt、构图和只含图片的页面仍要 查看渲染结果;未提取到文字不等于页面为空。

创建与编辑

在 workspace 或临时目录写一个可重复运行的短 Python 脚本,再用 python-pptx 输出文件。

  • 新建前确定受众、场景和主结论;信息足够时自行选择页数和叙事,不为装饰性偏好阻塞任务。
  • 有模板时复用其母版、版式和占位符;编辑局部元素,不在每页重造共同结构。
  • 每页表达一个清晰结论。内容过多时先精简或换布局,不靠缩小字号硬塞。
  • 编辑现有文本时修改目标 run;给 text_frame.text 整体赋值会清除段落和字符格式。
  • 图表尽量保持 PowerPoint 原生可编辑;图片保持纵横比并检查裁切,详细说明放演讲者备注。
  • python-pptx 不能安全保留的动画、SmartArt、媒体或特殊母版结构,不得静默重建或丢弃。

完成条件

  1. 用读取脚本回读最终文件,确认页序、正文、表格和备注完整,并搜索残留占位文字。
  2. 用 LibreOffice 转成 PDF,再用 pdftoppm 渲染全部页面:
soffice --headless --convert-to pdf --outdir "<empty-qa-dir>" "<output.pptx>"
pdftoppm -png -r 144 "<empty-qa-dir>/<output.pdf>" "<empty-qa-dir>/slide"
  1. 逐页检查标题换行、文字溢出、裁切、重叠、对齐、对比度、图表标签、页脚和图片清晰度。
  2. 缺少 LibreOffice 或 Poppler 时可以继续内容读取;写任务要说明未完成视觉检查。
  3. 最终只交付 PPTX,不附带构建脚本、提取文本和预览图片。
Files

What ships with it

3 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. 6d ago First seen · 73 lines · 95 tokens per session scan A 87ac12390972

Subscribe to this mod's changes

pptx is a skill published in the GitHub repository nexus-research-lab/nexus (143 stars, last pushed today), licensed Apache-2.0. It adds 95 tokens to every session and 1,012 once invoked, about $0.0005 per session on Opus 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

ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/deer-flow · 44 tokens

data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to…

bytedance/deer-flow · 69 tokens

nano-pdf

Edits PDF files using natural-language instructions via the nano-pdf CLI. Supports modifying text, changing titles, fixing typos, and updating content on specific pages. Use when the user wants to edit a PDF, modify PDF content, update PDF text, fix a typo in a PDF, change a PDF title, or rewrite part of a PDF page.

elizaOS/eliza · 75 tokens

enrich-excel

Enrich a live Excel spreadsheet by researching missing data with TinyFish and writing results directly into the running Excel app via AppleScript. Use when a user says "fill in my spreadsheet", "enrich this Excel file", "research and fill missing data", "update my Excel sheet", "look up data for each row", or any…

tinyfish-io/tinyfish-cookbook · 92 tokens

openmaic-classroom

将 RAG 检索结果、文档块或知识图谱概念转换为 OpenMAIC 互动课程。当用户要求将知识库内容、检索到的文档片段、上传的文档、或知识图谱中的概念批量转换为教学课件/互动课堂时使用此技能。支持纯需求生成、基于 PDF 内容的课程生成、和基于概念图遍历的批量课堂生成。.

Tencent/WeKnora · 102 tokens

文档分析器

深度分析文档结构和内容。当用户需要分析文档结构、提取关键信息、识别文档类型、进行内容质量评估、或理解文档组织方式时使用此技能。.

Tencent/WeKnora · 51 tokens