Powerpoint Automation 标志

Powerpoint Automation

社区
aktsmm
powerpoint-automation

Convert web articles or blog posts into slides through a content.json pipeline, translate or rebuild existing PPTX files onto a template, and edit an already-open PowerPoint deck with COM Automation (RefURL, overflow review). Use for article-to-slides conversion, deck translation, template-based rebuilds, or live COM editing of an open deck. Not for simply reading, inspecting, or lightly editing a .pptx file. Triggers on 記事をスライド化, スライド翻訳, 開いているパワポを編集, COM自動化, RefURL, content.json.

概览

发布者aktsmm
代码仓库Agent-Skills
技能名称powerpoint-automation
星标数
27
复刻数
5
附带文件
59
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 59 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 aktsmm 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Powerpoint Automation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/aktsmm/Agent-Skills/tree/master/powerpoint-automation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/powerpoint-automation .claude/skills/powerpoint-automation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Powerpoint Automation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Powerpoint Automation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Powerpoint Automation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

PowerPoint Automation

AI-powered PPTX generation using Orchestrator-Workers pattern.

When to Use

  • Web 記事やブログをスライド化したいとき
  • 既存 PPTX を翻訳・再構成したいとき
  • 開いている PPTX を COM Automation で直接編集したいとき
  • テンプレートベースで PPTX を生成したいとき
  • content.json を SSOT にして、抽出・翻訳・生成・レビューを分離したいとき

Quick Start

From Web Article

text
Create a 15-slide presentation from: https://zenn.dev/example/article

From Existing PPTX

text
Translate this presentation to Japanese: input/presentation.pptx

Edit Open PPTX with COM

text
Edit the currently open PowerPoint deck with COM Automation and verify RefURL, notes, overflow, and hyperlinks.

Workflow

text
TRIAGE → PLAN → PREPARE_TEMPLATE → EXTRACT → TRANSLATE → BUILD → REVIEW → DONE
PhaseMain ActorPurpose
EXTRACTreconstruct_analyzer.pySource -> content.json (+ extract_images.py for images)
BUILDcreate_from_template.pycontent.json -> PPTX
REVIEWPPTX ReviewerOverflow / consistency / quality

Core Assets

Scripts

Script selection, arguments, and validation entry points are defined in references/SCRIPTS.md.

content.json

content.json はこの skill の SSOT。抽出、翻訳、生成、レビューの間は常にこれを基準にする。

json
{
  "slides": [
    { "type": "title", "title": "Title", "subtitle": "Sub" },
    { "type": "content", "title": "Topic", "items": ["Point 1"] }
  ]
}

スキーマ詳細は references/schemas/content.schema.json を参照。

Template

標準テンプレートは assets/template.pptx。レイアウトや用途の詳細は template 側で管理し、main SKILL には最小限だけ残す。

bash
python scripts/create_from_template.py assets/template.pptx content.json output.pptx --config assets/template_layouts.json

Agents

Role definitions and handoffs are in references/AGENTS.md and references/agents/.

Operating Rules

  • SSOT: Derive content.json from the approved manuscript and retain stable topic/question-to-slide mappings. Reuse approval for unchanged content; changed claims or explicit scope constraints need confirmation. Compress related Q&A for the presentation format, not by dropping qualifying conditions.
  • One phase, one purpose: 抽出・翻訳・生成・レビューを混ぜない
  • Fail fast: 問題が出たら次フェーズへ無理に進めない
  • Human in loop: PLAN でユーザー確認を入れる
  • Technical content is verified content: Azure / Microsoft の内容は MCP で一次情報確認してから入れる
  • PowerPoint lock first: 開いている PPTX に対して python-pptx で上書きしない。読み取りも PermissionError になるので、Copy-Item で %TEMP% へ複製してから読む。markitdown の出力を PowerShell でパイプすると文字化けするため -o でファイルへ書かせる
  • COM for open decks: 開いている PPTX や既存 deck の直接編集は references/instructions/com-automation.instructions.md を参照する
  • Source slides: Match by stable ID and reuse supplied slides unchanged; defer missing slides rather than invent a mismatched fallback unless the user approves.
  • Approved replacement: OLE/MIP wrapping alone does not show an approved same-path copy will fail. Never strip source protection; after approval, follow the per-file backup plan, copy the verified PPTX/PDF, then verify content/page mapping. PDF backup is optional; never bypass a DLP refusal.
  • Leave it open or close it fully: COM 作業の最後は「ユーザーに見せるので開いたまま」か「完全に終了」かを必ず決める。中身のない PowerPoint ウィンドウを残さない。内部処理だけなら Presentation.Close() の後に Presentations.Count が 0 であることを確認して Application.Quit() し、それでも残る POWERPNT は MainWindowTitle が空またはファイル名なしのプロセスだけ 停止する(ファイル名入りはユーザー作業中)
  • Know how the deck was opened: Invoke-Item / エクスプローラー経由で開いた OneDrive・SharePoint 上の PPTX は Presentation.FullName が https:// になり、SaveCopyAs が %TEMP% へも書かずに例外なしで失敗する。PDF 書き出し前に FullName を確認し、URL なら一度 Close してローカル絶対パスで Presentations.Open() し直してから SaveAs($tmp, 32) する
  • Notes are distributable content: Put presenter guidance in notes, but exclude material the recipient may not receive from the entire deliverable, including hidden slides, notes and embedded sources. Use a separate restricted file; NDA labels and hidden flags do not grant sharing permission.
  • Audience context first: Introduce each topic's purpose or trigger, current situation and unresolved concern before answers and next actions. Keep this context on main slides, not only in notes; reserve notes for permitted presenter guidance and implementation detail.
  • Template means template: ユーザー指定テンプレートがある場合、特に表紙はテンプレートの既存プレースホルダー/レイアウトを使い、上から別図形を重ねて隠さない
  • Reusable template means slide master: 「テンプレートを作る」と言われたら、表紙・本文・Ending の再利用デザインはスライド直置きではなく SlideMaster.CustomLayouts に置き、編集する文字は placeholder / text shape として残す
  • PPTX asset metadata gate: テンプレートや配布用 PPTX を skill asset / public artifact に含める前に scripts/clean_template.py で docProps/custom.xml(MIP ラベル、tenant、SharePoint フィールド、同僚メール)と docProps/core.xml(cp:lastModifiedBy / cp:revision)を sanitize する。PowerPoint は OneDrive / SharePoint から開くたびに MIP を再付与するので、check-in 直前に毎回実行する。詳細は references/instructions/template.instructions.md。スライド本文検索だけで安全判定しない
  • JP template font default: 日本語の再利用テンプレートでは master/layout の既定和文フォントを BIZ UDPゴシック に揃え、生成スライド側の後処理で毎回フォントを直す設計にしない
  • Rendered QA before handoff: Export every slide after building or COM touch-up; check overlaps, font consistency and table readability. If an image-capable, read-only reviewer is available, delegate previews, approved content.json and template constraints; request reviewed slide IDs, issues and fixes only. Otherwise inspect locally. Re-render and recheck affected slides after fixes.
  • Review like a critic, not a generator: ユーザーに見せる前に、レンダー画像で「スカスカ・文字が小さい・アイコンが雑・テンプレ踏襲不足・旧文言残り」を自分で探して直す。詳しくは references/instructions/deck-iteration-review.instructions.md
  • Media restore gate: slide insertion/deletion/recovery after a user review must re-check expected slide count and embedded video/media positions before continuing
  • Template base-slide gate: テンプレートを複製して生成する場合は、保持する sample slide を先に明示し、不要な contact / next-event 等を構造編集で削除する。完了前に content manifest から導いた期待枚数、残存 placeholder、slide order を検証する
  • Editable diagrams: Generated images are optional design references, not editable output. Rebuild text, shapes and connectors from approved content.json with suitable licensed icon assets; preserve diagram relationships. Keep photos/screenshots as images; no ASCII art or full-slide rasterization as a substitute for editable slides.
  • Grid-first placement: Initialize positions on a consistent layout grid, refine against actual slide renders, and remove temporary grid overlays from final exports.
  • Appendix URLs use Title - URL: 参考 URL の表示形式は統一する
  • Review content and visuals separately: 生成後は見た目レビューだけでなく、公式情報との正確性レビュー、URL hyperlink 数、notes 数、placeholder/internal wording を確認する

Reference Map

Frequently Needed

Use Implementation Patterns for shape diagrams, template XML, SlideMaster edits, visual QA, hyperlinks, RefURL, locks, centering, corruption recovery, and media embedding.

Done Criteria

  • source と goal が固定されている
  • content.json を正として各フェーズが分離されている
  • template / layout の前提が確認できている
  • technical content は一次情報確認が済んでいる
  • operational text がスライド面に出ていない
  • template 利用時は単調な同一レイアウト反復と余剰 placeholder を確認している
  • テンプレートの保持/削除対象を含む期待スライド数と実際の slide set が一致している
  • visual QA はレンダー画像で行い、修正後に該当スライドを再確認している
  • 表は本文 16pt 以上を原則とし、header は中央揃え・中段揃えで視認性を確認している
  • build 後に overflow / consistency / hyperlink をレビューできている
  • 画像の QR は全て書き出してデコードし、期待 URL と照合している(回ごとに宛先が変わる QR は旧版のまま残りやすい。リンク文字列だけの確認では画像側の取り違えを検出できない)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Powerpoint Automation AI 技能有什么作用?

Convert web articles or blog posts into slides through a content.json pipeline, translate or rebuild existing PPTX files onto a template, and edit an already-open PowerPoint deck with COM Automation (RefURL, overflow review). Use for article-to-slides conversion, deck translation, template-based rebuilds, or live COM editing of an open deck. Not for simply reading, inspecting, or lightly editing a .pptx file. Triggers on 記事をスライド化, スライド翻訳, 開いているパワポを編集, COM自動化, RefURL, content.json.

为什么在 TypingMind 中使用 Powerpoint Automation?

因为您只需安装一次,就能搭配任何模型使用。Powerpoint Automation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Powerpoint Automation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aktsmm/Agent-Skills/tree/master/powerpoint-automation。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Powerpoint Automation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Powerpoint Automation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Powerpoint Automation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Powerpoint Automation AI 技能免费吗?

aktsmm 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇