pptx-generator

pptx-generator is a skill for Claude Code, Codex from xyva-yuangui/XyvaClaw. It costs 57 tokens per session (552 once invoked), scanned A, original, MIT.

A tool for creating PowerPoint presentation files from structured JSON or Markdown. It supports title, content, image, table, two-column, and blank slide layouts.

In plain words
What is it for?
Use it to create presentations with text, images, tables, and data, generate slides from Markdown, or add a single slide to an existing PowerPoint file.
Why use it?
It removes repetitive slide-building work and lets you generate or update presentations from reusable content. In Markdown input, each level-two heading becomes a slide.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create presentations with text, images, tables, and data, generate slides from Markdown, or add a single slide to an existing PowerPoint file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyva-yuangui/xyvaclaw/pptx-generator
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 xyva-yuangui/XyvaClaw --skill pptx-generator
Clone the repo
git clone --depth 1 https://github.com/xyva-yuangui/XyvaClaw

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-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/pptx-generator/github.svg)](https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/pptx-generator)
Your own site
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/pptx-generator"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/pptx-generator/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 pptx-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/pptx-generator"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/pptx-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 552 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.
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.00057 $0.00552
Opus 5 $0.00028 $0.00276
Sonnet 5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

Measured 12d ago against content hash 8de59de3be72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pptx-generator 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 12d ago.

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

config-base/workspace/skills/pptx-generator/SKILL.md · 76 lines

What it actually says

PPTX Generator

生成专业的 PowerPoint 演示文稿。

功能

  • 标题页:大标题 + 副标题
  • 内容页:标题 + 多级要点列表
  • 图片页:标题 + 图片(本地路径或 URL)
  • 表格页:标题 + 数据表格
  • 双栏页:左右分栏布局
  • 空白页:自由定位元素

使用方式

# 健康检查
python3 scripts/check.py

# 从 JSON 描述生成 PPT
python3 scripts/pptx_tool.py generate --input slides.json --output presentation.pptx

# 从 Markdown 生成 PPT(每个 ## 标题成为一页)
python3 scripts/pptx_tool.py from-markdown --input content.md --output presentation.pptx

# 添加单页到已有 PPT
python3 scripts/pptx_tool.py add-slide --file existing.pptx --title "新页面" --content "内容"

JSON 格式

{
  "title": "演示文稿标题",
  "author": "作者",
  "slides": [
    {
      "layout": "title",
      "title": "欢迎",
      "subtitle": "副标题"
    },
    {
      "layout": "content",
      "title": "要点",
      "bullets": ["第一点", "第二点", "第三点"]
    },
    {
      "layout": "table",
      "title": "数据对比",
      "headers": ["指标", "A方案", "B方案"],
      "rows": [["性能", "95%", "88%"], ["成本", "低", "高"]]
    }
  ]
}

输出目录

$OPENCLAW_HOME/workspace/output/pptx/

依赖

  • python-pptx (pip3 install python-pptx)
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. 12d ago First seen · 76 lines · 57 tokens per session scan A 8de59de3be72

Subscribe to this mod's changes

pptx-generator is a skill published in the GitHub repository xyva-yuangui/XyvaClaw (21 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 552 once invoked, about $0.0003 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

youdaonote

A command-line skill for managing Youdao Cloud Notes, a Chinese note-taking service. It supports notes, to-do items, saved web pages, searches, and folders.

netease-youdao/LobsterAI · 70 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

netease-youdao/LobsterAI · 96 tokens

pdf

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

netease-youdao/LobsterAI · 50 tokens

pptx

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.

netease-youdao/LobsterAI · 62 tokens

docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4)…

netease-youdao/LobsterAI · 77 tokens

notion

Manage Notion workspace: create pages, query databases, add content blocks. Requires NOTIONAPIKEY.

emanueleielo/ciana-parrot · 24 tokens