Token导航 LogoToken导航

Agent Skill · 研究检索

pptx-generator(PPTX 生成器)

pptx-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pptx-generator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 12,922。

总安装 9,847周安装 423GitHub Stars 69下载 3,452核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pptx-generator(PPTX 生成器)
来源仓库:https://github.com/jwynia/agent-skills
仓库路径:skills/pptx-generator
安装命令:
npx skills add https://github.com/jwynia/agent-skills --skill pptx-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jwynia/agent-skills --skill pptx-generator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

pptx-generator 用于查找、检索和筛选相关信息,快速定位候选结果。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或场景进行信息整理时使用。通过 GitHub 安装,结合原始 README 可进一步核验具体用法。使用前建议确认权限范围、维护状态及是否会触发联网或文件操作。

适用于需要高效信息聚合的任务,需结合实际需求验证搜索准确性。

来源仓库内路径:skills/pptx-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/jwynia/agent-skills --skill pptx-generator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pptx-generator 怎么安装?

在终端执行 npx skills add https://github.com/jwynia/agent-skills --skill pptx-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pptx-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pptx-generator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

pptx-generator 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

pptx-generator 用的人多吗?

公开数据是累计安装 9,847 次,近一周安装 423 次,下载 3,452 次,GitHub 69 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pptx-generator 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pptx-generator

PPTX 生成器 · 本页

9,84769需要联网MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

PPTX Generator

When to Use This Skill

Use this skill when:

  • Creating presentations programmatically from data or specifications
  • Populating branded templates with dynamic content while preserving corporate styling
  • Extracting text and structure from existing PPTX files for analysis
  • Combining slides from a library of approved templates
  • Automating presentation generation workflows

Do NOT use this skill when:

  • User wants to open/view presentations (use native PowerPoint or viewer)
  • Complex animations or transitions are required (limited support)
  • Working with older.ppt format (PPTX only)

Prerequisites

  • Deno installed (https://deno.land/)
  • Input PPTX files for template-based operations
  • JSON specification for scratch generation

Quick Start

Two Modes of Operation

  1. Template Mode: Modify existing branded templates

- Analyze & Replace: Find {{PLACEHOLDERS}} and replace with content - Slide Library: Select and combine slides from a template library

  1. Scratch Mode: Create presentations from nothing using JSON specifications

Instructions

Mode 1: Template-Based Generation

Step 1a: Analyze the Template

Extract text inventory to understand what can be replaced:

deno run --allow-read scripts/analyze-template.ts corporate-template.pptx > inventory.json

Output (inventory.json):

{
  "filename": "corporate-template.pptx",
  "slideCount": 10,
  "textElements": [
    {
      "slideNumber": 1,
      "shapeId": "shape-2",
      "shapeName": "Title 1",
      "placeholderType": "ctrTitle",
      "position": { "x": 1.5, "y": 2.0, "w": 7.0, "h": 1.2 },
      "paragraphs": [
        { "text": "{{TITLE}}", "fontSize": 44, "bold": true }
      ]
    }
  ]
}
Step 1b: Create Replacement Specification

Create replacements.json:

{
  "textReplacements": [
    { "tag": "{{TITLE}}", "value": "Q4 2024 Results" },
    { "tag": "{{SUBTITLE}}", "value": "Financial Overview" },
    { "tag": "{{DATE}}", "value": "December 2024" },
    { "tag": "{{AUTHOR}}", "value": "Finance Team", "slideNumbers": [1] }
  ]
}
Step 1c: Generate Output
deno run --allow-read --allow-write scripts/generate-from-template.ts \
  corporate-template.pptx replacements.json output.pptx

Mode 1 (Alternative): Slide Library

Step 2a: Preview Template Slides

Get information about available slides:

deno run --allow-read scripts/generate-thumbnails.ts slide-library.pptx

For visual preview, extract the thumbnail:

deno run --allow-read --allow-write scripts/generate-thumbnails.ts \
  slide-library.pptx --extract-thumb --output-dir ./previews
Step 2b: Select and Combine Slides

Create selections.json:

{
  "slideSelections": [
    { "slideNumber": 1 },
    { "slideNumber": 5 },
    { "slideNumber": 12 },
    { "slideNumber": 3 }
  ],
  "textReplacements": [
    { "tag": "{{TITLE}}", "value": "Custom Presentation" }
  ]
}
Step 2c: Generate Combined Presentation
deno run --allow-read --allow-write scripts/generate-from-template.ts \
  slide-library.pptx selections.json custom-deck.pptx

Mode 2: From-Scratch Generation

Step 3a: Create Specification

Create spec.json:

{
  "title": "Product Launch 2025",
  "author": "Marketing Team",
  "slides": [
    {
      "background": { "color": "003366" },
      "elements": [
        {
          "type": "text",
          "x": 1, "y": 2.5, "w": 8, "h": 1.5,
          "options": {
            "text": "Product Launch 2025",
            "fontSize": 44,
            "bold": true,
            "color": "FFFFFF",
            "align": "center"
          }
        },
        {
          "type": "text",
          "x": 1, "y": 4, "w": 8, "h": 0.5,
          "options": {
            "text": "Revolutionizing the Industry",
            "fontSize": 24,
            "color": "CCCCCC",
            "align": "center"
          }
        }
      ]
    },
    {
      "elements": [
        {
          "type": "text",
          "x": 0.5, "y": 0.5, "w": 9, "h": 0.7,
          "options": {
            "text": "Key Features",
            "fontSize": 32,
            "bold": true,
            "color": "003366"
          }
        },
        {
          "type": "table",
          "x": 0.5, "y": 1.5, "w": 9, "h": 3,
          "options": {
            "rows": [
              ["Feature", "Description", "Benefit"],
              ["Speed", "2x faster processing", "Save time"],
              ["Quality", "HD output", "Better results"],
              ["Integration", "Works with existing tools", "Easy adoption"]
            ],
            "border": { "pt": 1, "color": "CCCCCC" }
          }
        }
      ]
    }
  ]
}
Step 3b: Generate Presentation
deno run --allow-read --allow-write scripts/generate-scratch.ts spec.json output.pptx

Examples

Example 1: Corporate Quarterly Report

Scenario: Generate quarterly report from branded template.

Steps:

# 1. Analyze template for replaceable content
deno run --allow-read scripts/analyze-template.ts quarterly-template.pptx --pretty

# 2. Create replacements.json with Q4 data
# 3. Generate report
deno run --allow-read --allow-write scripts/generate-from-template.ts \
  quarterly-template.pptx replacements.json Q4-2024-Report.pptx

Example 2: Custom Pitch Deck from Slide Library

Scenario: Combine approved slides for a specific client pitch.

Steps:

# 1. View available slides
deno run --allow-read scripts/generate-thumbnails.ts pitch-library.pptx

# 2. Create selections.json picking slides 1, 3, 7, 12, 15
# 3. Generate custom deck
deno run --allow-read --allow-write scripts/generate-from-template.ts \
  pitch-library.pptx selections.json acme-pitch.pptx

Example 3: Data-Driven Presentation

Scenario: Generate presentation from JSON data (e.g., API response).

Steps:

# 1. Transform your data into spec.json format
# 2. Generate presentation
deno run --allow-read --allow-write scripts/generate-scratch.ts data-spec.json report.pptx

Script Reference

ScriptPurposePermissions
analyze-template.tsExtract text inventory from PPTX--allow-read
generate-thumbnails.tsGet slide info and extract previews--allow-read --allow-write
generate-from-template.tsModify templates (replace/combine)--allow-read --allow-write
generate-scratch.tsCreate PPTX from JSON specification--allow-read --allow-write

Element Types (Scratch Mode)

TypeDescriptionKey Options
textText boxtext, fontSize, bold, color, align
imageImage from file or base64path, data, sizing
tableData tablerows, colW, border, fill
shapeGeometric shapestype, fill, line, text
chartCharts and graphstype, data, title, showLegend

Common Issues and Solutions

Issue: Text not being replaced

Symptoms: Output PPTX still contains {{PLACEHOLDER}} tags.

Solution:

  1. Run analyze-template.ts to verify exact tag text
  2. Tags may be split across XML runs - ensure your template has tags in single text runs
  3. Check slideNumbers filter in replacements

Issue: Slide order incorrect

Symptoms: Slides appear in wrong order after combining.

Solution:

  • Slides are added in the order specified in slideSelections
  • Verify slide numbers match original template (1-indexed)

Issue: Images not appearing

Symptoms: Image elements are blank in output.

Solution:

  1. Use absolute paths or paths relative to spec.json location
  2. Verify image file exists and is readable
  3. Check supported formats: PNG, JPEG, GIF

OOXML Placeholder Inheritance (Advanced)

Understanding how PowerPoint's OOXML format handles placeholders is crucial for template development.

The Inheritance Chain

PowerPoint uses a hierarchical inheritance model:

Theme → Slide Master → Slide Layout → Slide
  • Theme: Defines colors, fonts, effects
  • Slide Master: Defines default placeholder positions and formatting (including bullets)
  • Slide Layout: Overrides master settings for specific layout types (e.g., Title Slide, Content)
  • Slide: Contains actual content, inherits formatting from layout

Key Principles

  1. Text Content Does NOT Inherit: Slides must contain their own text content. The {{placeholder}} text in a layout does NOT automatically appear on slides using that layout.
  2. Text Formatting CAN Inherit: When a slide shape has an empty <a:lstStyle/>, it inherits formatting (color, size, bullets) from the layout's <a:lstStyle>.
  3. Placeholder Linking: Slides link to layouts via <p:ph type="..." idx="..."/>. The type (e.g., "title", "body", "ctrTitle") and idx must match.
  4. Bullet Suppression: To prevent bullets on a placeholder that would normally inherit them from the master's bodyStyle, add <a:buNone/> in the layout's lstStyle.

Defining Inheritable Formatting

In layout placeholders, define colors in <a:lstStyle> (inheritable), not in <a:rPr> (run-specific):

<!-- Layout: Color in lstStyle (GOOD - inheritable) -->
<p:txBody>
  <a:lstStyle>
    <a:lvl1pPr algn="ctr">
      <a:buNone/>  <!-- Suppress bullets -->
      <a:defRPr sz="4400" b="1">
        <a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill>
      </a:defRPr>
    </a:lvl1pPr>
  </a:lstStyle>
  <a:p>
    <a:r><a:rPr lang="en-US"/><a:t>{{placeholder}}</a:t></a:r>
  </a:p>
</p:txBody>

Slide Shape Structure

For slides to properly inherit from layouts:

<!-- Slide: Empty lstStyle to inherit from layout -->
<p:sp>
  <p:nvSpPr>
    <p:cNvPr id="2" name="title 2"/>
    <p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr>
    <p:nvPr>
      <p:ph type="ctrTitle"/>  <!-- Links to layout placeholder -->
    </p:nvPr>
  </p:nvSpPr>
  <p:spPr/>  <!-- Empty = inherit position from layout -->
  <p:txBody>
    <a:bodyPr/>
    <a:lstStyle/>  <!-- Empty = inherit formatting from layout -->
    <a:p>
      <a:r>
        <a:rPr lang="en-US"/>  <!-- Empty = inherit character formatting -->
        <a:t>{{placeholder}}</a:t>  <!-- Content must be here -->
      </a:r>
    </a:p>
  </p:txBody>
</p:sp>

Common Issues

IssueCauseSolution
Text shows as black instead of whiteColor defined in <a:rPr> not <a:lstStyle>Move color to layout's <a:defRPr> in <a:lstStyle>
Unwanted bullets appearingMaster's bodyStyle has bullets, layout doesn't overrideAdd <a:buNone/> to layout's <a:lvl1pPr>
Placeholder text not appearingText only in layout, not in slideInclude text content in slide's <p:txBody>
Formatting not applyingSlide has explicit formattingUse empty <a:lstStyle/> and <a:rPr lang="en-US"/>

Reference: Placeholder Types

TypeUsage
ctrTitleCentered title (title slides)
titleStandard title
subTitleSubtitle
bodyContent area (use idx for multiple)
picPicture placeholder
dtDate/time
ftrFooter
sldNumSlide number

Limitations

  • No slide rendering: Cannot render slides to images directly (use LibreOffice for this)
  • Limited animation support: Basic animations only in scratch mode
  • No master slide editing: Template mode preserves but doesn't modify masters
  • PPTX only: Does not support legacy.ppt format
  • Text run splitting: Complex formatting in templates may split tags across XML elements

Related Skills

  • pdf-generator: For creating PDF documents instead of presentations
  • docx-generator: For creating Word documents
  • xlsx-generator: For creating Excel spreadsheets

平台分布

Claude Code

27.23%
按下载量换算940

OpenCode

23.38%
按下载量换算807

Gemini CLI

19%
按下载量换算656

Antigravity

13.55%
按下载量换算468

Codex

8.37%
按下载量换算289

Cursor

3.41%
按下载量换算118

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills