Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

pptx-notes-editorPPTX notes editor 搜索

Agent Skill

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

总安装

3,672

周安装

150

GitHub Stars

公开资料未说明

下载量

1,176
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:pptx-notes-editor(PPTX notes editor 搜索)
来源仓库:https://github.com/cm8421/pptx-notes-editor
安装命令:
openclaw skills install pptx-notes-editor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pptx-notes-editor

简介

专为 AI 代理设计的 PowerPoint 演讲者笔记编辑器。

  • 适用于修改 PPT 演讲者笔记、导出为 Markdown 或重写内容的需求。
  • 支持笔记结构化处理,便于后续审阅与协作流程整合。pptx-notes-editor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装前请确认对目标文件的编辑权限及存储路径可访问性。
  • 建议结合具体用例测试输出稳定性,避免误改关键文档。

SKILL.md

name
pptx-notes-editor
description
|

PPTX Notes Editor

Workflow Decision Tree

User Request
├── Modify Notes → 1,2,3,4,5,6
├── Export to MD Only → 1,2 → 7
├── Pack Existing Content Only → 5 (optional verify → 6)
└── Unpack and View Only → 1

1. Unpack PPTX

# Unpack to specified directory
mkdir -p pptx-unpacked && unzip your-presentation.pptx -d pptx-unpacked

File Structure:

pptx-unpacked/
├── ppt/
│   ├── slides/              # Slides
│   │   ├── slide1.xml
│   │   ├── slide2.xml
│   │   └── _rels/          # Slide relationships
│   │       ├── slide1.xml.rels
│   │       └── slide2.xml.rels
│   ├── notesSlides/        # Notes files
│   │   ├── notesSlide1.xml
│   │   └── notesSlide2.xml
│   └── _rels/
│       └── presentation.xml.rels
└── [Content_Types].xml

2. Confirm Slide-to-Notes Mapping

Important: The numbering of notesSlideN.xml does NOT necessarily correspond to PPT page numbers! You MUST confirm via the relationship files.

Method 1: Check Precise Mapping (Recommended)

# Check which notes file corresponds to slide N
cat pptx-unpacked/ppt/slides/_rels/slideN.xml.rels | grep -i "notesSlide"

# Example output:
# <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" Target="../notesSlides/notesSlide2.xml"/>
# This means slideN.xml corresponds to notesSlide2.xml

Method 2: Quick View All Mappings

# List all slide-to-notes correspondences
for f in pptx-unpacked/ppt/slides/_rels/slide*.xml.rels; do
  slide=$(basename "$f" .xml.rels)
  notes=$(grep -o 'notesSlide[0-9]*\.xml' "$f" | head -1)
  if [ -n "$notes" ]; then
    echo "$slide -> $notes"
  fi
done

Edge Cases

  • Slide has no notes: grep returns no output, this slide has no notes
  • Notes file exists but no corresponding slide: may be orphaned notes, can be ignored

3. Read Notes Content

XML Namespace Reference

PPTX XML uses these namespace prefixes:

  • a: - DrawingML namespace (text, shapes)
  • p: - PresentationML namespace (slide structure)
  • r: - Relationships namespace

Notes text is inside <a:t> tags.

Method 1: Read Page by Page

# List all notes files
ls pptx-unpacked/ppt/notesSlides/

# Use file reading tool to read individual notes file
# Notes text is in <a:t> tags

Method 2: Batch Extract All Notes Text

# Extract text from all notes files (macOS compatible)
grep -oh '<a:t>[^<]*</a:t>' pptx-unpacked/ppt/notesSlides/*.xml | sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g' | head -50

Method 3: Extract Single Page Notes by File

# Extract all text from notesSlide2.xml (macOS compatible)
grep -oh '<a:t>[^<]*</a:t>' pptx-unpacked/ppt/notesSlides/notesSlide2.xml | sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g'

Handling XML Escaped Characters

Notes text may contain these escape sequences:

  • &lt;<
  • &gt;>
  • &amp;&
  • &quot;"

Decode with sed:

sed 's/&lt;/</g; s/&gt;/>/g; s/&amp;/\&/g; s/&quot;/"/g'

4. Rewrite in Narrative Style

Narrative Style Guidelines

  • Tell a story with beginning, development, turning point, and conclusion
  • Conversational and natural transitions
  • Specific examples and scenarios as support
  • Create empathy and engagement with the audience

Important Notes

  • MUST confirm before modifying: After generating notes draft, show it to the user and get explicit confirmation before executing any XML modification. Do NOT modify any notes without user confirmation
  • If the original PPT notes are dry bullet-point lists, you need to completely rewrite them in narrative style
  • If the original notes are already in narrative style, you can refine and improve them
  • Do NOT assume "keep the original style" - determine the style based on the target presentation context

Modification Process

Step 0: Ask user to select page range and notes style

Present the user with the following choices before starting:

Page Range Selection:

  • All pages
  • Only pages without notes
  • Only pages with existing notes
  • Custom range (user inputs e.g. "1-5,8,10-12")

Notes Style Selection:

  • Narrative style (storytelling, conversational, with beginning/development/climax/conclusion)
  • Concise bullet points (distill key information, brief and powerful)
  • Verbatim script (complete spoken script that can be read aloud directly)
  • Custom style (user describes desired style)

Language Selection (optional):

  • Keep original language
  • Chinese
  • English

Step 1: Read through entire PPT content (build global context)

Before modifying page by page, you MUST read through all slides to build global context:

# Batch extract text summary from all slides (macOS compatible)
for f in pptx-unpacked/ppt/slides/slide*.xml; do
  slide=$(basename "$f" .xml)
  echo "=== $slide ==="
  grep -oh '<a:t>[^<]*</a:t>' "$f" | sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g'
  echo ""
done

After reading, present a global overview to the user:

[PPT Global Overview]
Total: X pages, Theme: xxx
Page 1: Opening - xxx
Page 2: Background - xxx
Page 3: Core argument - xxx
...
Page X: Summary - xxx

Narrative arc: xxx → xxx → xxx

Purpose of reading through:

  • Understand the overall narrative arc and logical structure
  • Know each page's role (setup, core argument, case study, turning point, summary)
  • Avoid content duplication or logical gaps between notes
  • Provide contextual support for subsequent page-by-page design

Step 2+: Page-by-page modification

  1. Based on selected page range, read slide content summary page by page (extract key text from slideN.xml)
  2. Read current notes (from corresponding notesSlide), leverage Step 1's global context to understand this page's role
  3. Show both to user in this format:
--- Page N ---
[Slide Content]
Title: xxx
Points: aaa, bbb, ccc
Charts: [brief description if any]

[Current Notes]
(show full existing notes, or "None" if empty)
  1. Generate notes draft according to user's selected style, present to user
  2. MUST wait for user's explicit confirmation before modifying <a:t> text in XML. Do NOT execute any modification without user confirmation
  3. Get user confirmation before moving to next page

XML Modification Notes

  • Require exact string matching when modifying XML
  • Newlines in XML may display as literal `\

`

  • Recommend searching file content first to confirm exact string
<!-- Replace entire <a:t> tag content -->
<!-- Wrong: replacing text directly will break XML structure -->
<!-- Correct: replace the entire <a:t> tag content -->
<a:t>Old text</a:t>  →  <a:t>New text</a:t>

Example:

<!-- Before -->
<a:t>This is old notes content</a:t>

<!-- After -->
<a:t>This is new notes content</a:t>

Handling Multiple Paragraphs

If notes contain multiple paragraphs, there will be multiple <a:t> tags:

<a:p>
  <a:r><a:t>First paragraph</a:t></a:r>
</a:p>
<a:p>
  <a:r><a:t>Second paragraph</a:t></a:r>
</a:p>

Modify each <a:t> tag separately.

Batch Operations Guide

If you need to uniformly modify similar content in multiple places:

  1. Search file content to confirm all locations that need modification
  2. Modify each one individually
  3. Verify after each modification

5. Pack PPTX

cd pptx-unpacked && zip -r ../pptx-packed.pptx . -x "*.py" -x "*.txt" -x "*.json" -x ".DS_Store"

6. Verify Modifications

# Unpack newly packed file and verify XML structure is correct
mkdir -p /tmp/verify && unzip -o pptx-packed.pptx -d /tmp/verify

# Check if modified content exists
grep "new text" /tmp/verify/ppt/notesSlides/*.xml

# Verify XML format is correct (no parse errors)
# If xmllint is installed:
# xmllint --noout /tmp/verify/ppt/notesSlides/*.xml 2>&1 && echo "XML format correct"

7. Export to MD

Extract Slide Titles

# Extract title text from slides (macOS compatible)
# Titles are usually in the first <a:t> tag
grep -oh '<a:t>[^<]*</a:t>' pptx-unpacked/ppt/slides/slideN.xml | sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g' | head -1

Export Format

Organize all page notes into a single MD file:

# Presentation Name - Speaker Notes

## Page 1: Title
Notes content...

## Page 2: Title
Notes content...

Correct Export Script (Based on Actual Mapping)

#!/bin/bash
# Export notes in slide order using actual mapping (macOS compatible)

output="notes-export.md"
echo "# PPT Speaker Notes Export" > "$output"
echo "" >> "$output"

slide_num=0
for slide_rels in pptx-unpacked/ppt/slides/_rels/slide*.xml.rels; do
  slide_num=$((slide_num + 1))

  # Get the notes file for this slide (macOS compatible)
  notes_file=$(grep -o 'notesSlide[^"]*\.xml' "$slide_rels" | head -1)

  if [ -n "$notes_file" ] && [ -f "pptx-unpacked/ppt/notesSlides/$notes_file" ]; then
    # Get slide title (first <a:t>)
    slide_file="pptx-unpacked/ppt/slides/slide${slide_num}.xml"
    title=""
    if [ -f "$slide_file" ]; then
      title=$(grep -oh '<a:t>[^<]*</a:t>' "$slide_file" | sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g' | head -1)
    fi

    echo "## Page ${slide_num}${title:+: $title}" >> "$output"
    echo "" >> "$output"

    # Extract notes text
    grep -oh '<a:t>[^<]*</a:t>' "pptx-unpacked/ppt/notesSlides/$notes_file" | \
      sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g' | \
      sed 's/&lt;/</g; s/&gt;/>/g; s/&amp;/\&/g; s/&quot;/"/g' >> "$output"

    echo "" >> "$output"
    echo "---" >> "$output"
    echo "" >> "$output"
  fi
done

echo "Export complete: $output"

Appendix: Troubleshooting

Issue: PPT Won't Open After Modification

  • Cause: XML structure was corrupted (e.g., unclosed tags, special characters not escaped)
  • Solution: When modifying XML, ensure complete <a:t>...</a:t> structure is preserved

Issue: Modified Text Has No Effect

  • Cause: Modified the wrong notesSlide file
  • Solution: Re-confirm the mapping between slideN.xml and notesSlide

Issue: Text Contains Special Characters

  • Cause: Characters like & < > " need escaping
  • Solution: When modifying, ensure these characters are properly escaped as &amp; &lt; &gt; &quot;

Complete Example

# 1. Unpack
mkdir -p pptx-unpacked && unzip demo.pptx -d pptx-unpacked

# 2. Confirm mapping (find which notes correspond to page 5)
cat pptx-unpacked/ppt/slides/_rels/slide5.xml.rels | grep -i "notesSlide"
# Output: Target="../notesSlides/notesSlide3.xml"

# 3. Read page 5 notes (corresponds to notesSlide3.xml, macOS compatible)
grep -oh '<a:t>[^<]*</a:t>' pptx-unpacked/ppt/notesSlides/notesSlide3.xml | sed 's/<a:t>\([^<]*\)<\/a:t>/\1/g'

# 4. Modify notes (edit XML file)
# Replace <a:t>Old content</a:t> with <a:t>New content</a:t> in notesSlide3.xml

# 5. Pack
cd pptx-unpacked && zip -r ../demo-new.pptx . -x "*.py" -x ".DS_Store"
cd ..

# 6. Verify
mkdir -p /tmp/verify && unzip -o demo-new.pptx -d /tmp/verify
grep "new text" /tmp/verify/ppt/notesSlides/notesSlide3.xml

# 7. Export MD (using script above)

Reuse Checklist

  • [ ] Unpack PPTX to pptx-unpacked
  • [ ] Confirm slide-to-notes mapping
  • [ ] Determine modification scope (all/some pages)
  • [ ] Confirm narrative style requirements
  • [ ] Modify page by page with user confirmation
  • [ ] Pack PPTX after modification
  • [ ] Verify modifications took effect
  • [ ] Export to MD if needed

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.27%
按下载量换算1,109

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills