ワンクリックで
read-ppt
Read PowerPoint (.pptx) files and extract slide text, notes, tables, and outline structure using Python python-pptx.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Read PowerPoint (.pptx) files and extract slide text, notes, tables, and outline structure using Python python-pptx.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
基于 Playwright MCP 的浏览器自动化测试,支持页面交互、录制回放、接口验证、结合后端代码做端到端测试。当用户提到浏览器测试、页面测试、UI测试、录制操作、自动化测试、playwright 时激活。
Use JADX to decompile JAR/APK/DEX/AAR files. Especially good for Android apps. Supports CLI batch decompilation and GUI browsing.
通过 Apache SkyWalking MCP Server 查询和分析应用性能指标,支持服务拓扑、链路追踪(Trace)、日志查询、MQE 指标表达式、告警查询、实例/端点分析等,帮助开发者快速定位性能瓶颈、异常链路和线上问题。当用户提到 skywalking、APM、链路追踪、trace、性能分析、慢接口、拓扑图、服务指标、P99、响应时间、吞吐量、错误率、告警 时激活。
通过 Apache SkyWalking MCP Server 查询和分析应用性能指标,支持服务拓扑、链路追踪(Trace)、日志查询、MQE 指标表达式、告警查询、实例/端点分析等,帮助开发者快速定位性能瓶颈、异常链路和线上问题。当用户提到 skywalking、APM、链路追踪、trace、性能分析、慢接口、拓扑图、服务指标、P99、响应时间、吞吐量、错误率、告警 时激活。
通过 Grafana Loki MCP Server 查询线上/测试环境日志,支持按服务名和关键词搜索、日志量统计、上下文日志获取、服务列表查询等,帮助开发者快速定位线上问题。当用户提到查日志、看日志、log、error、exception、线上报错、排查问题、Loki、Grafana 或具体服务名时激活。
基于 JProfiler 的 Java 性能与内存深度分析 Skill,支持 Heap Snapshot(.jps)、CPU Snapshot、Thread Dump、Allocation Recording 等离线分析,结合 JProfiler 命令行工具链实现自动化诊断,覆盖内存泄漏、CPU 热点、线程瓶颈、数据库慢查询、锁竞争等全方位性能问题。
| name | read-ppt |
| description | Read PowerPoint (.pptx) files and extract slide text, notes, tables, and outline structure using Python python-pptx. |
读取 PowerPoint(.pptx)文件内容,提取幻灯片文本、备注、表格等信息。
使用方式:在聊天中输入 #read-ppt 并提供文件路径。
#read-ppt
帮我读取 D:/docs/方案汇报.pptx 的内容
#read-ppt
提取 D:/docs/presentation.pptx 第5-10页的内容
#read-ppt
查看 D:/docs/design.pptx 的大纲结构
如未安装:
pip install python-pptx
text - 提取文本(默认)outline - 提取大纲结构notes - 提取备注table - 提取表格all - 全部内容python -c "
from pptx import Presentation
from pptx.util import Inches, Pt
prs = Presentation(r'<PPTX路径>')
print(f'幻灯片数量: {len(prs.slides)}')
print(f'宽度: {prs.slide_width}')
print(f'高度: {prs.slide_height}')
if prs.core_properties.title:
print(f'标题: {prs.core_properties.title}')
if prs.core_properties.author:
print(f'作者: {prs.core_properties.author}')
"
python -c "
from pptx import Presentation
prs = Presentation(r'<PPTX路径>')
for i, slide in enumerate(prs.slides, 1):
texts = []
for shape in slide.shapes:
if shape.has_text_frame:
for para in shape.text_frame.paragraphs:
text = para.text.strip()
if text:
texts.append(text)
if texts:
print(f'--- 第 {i} 页 ---')
for t in texts:
print(t)
print()
"
python -c "
from pptx import Presentation
prs = Presentation(r'<PPTX路径>')
start, end = <起始页>, <结束页> # 1-indexed
for i, slide in enumerate(prs.slides, 1):
if i < start or i > end:
continue
texts = []
for shape in slide.shapes:
if shape.has_text_frame:
for para in shape.text_frame.paragraphs:
text = para.text.strip()
if text:
texts.append(text)
if texts:
print(f'--- 第 {i} 页 ---')
for t in texts:
print(t)
print()
"
python -c "
from pptx import Presentation
prs = Presentation(r'<PPTX路径>')
for i, slide in enumerate(prs.slides, 1):
title = ''
subtitle = ''
for shape in slide.shapes:
if shape.shape_type == 13 or (hasattr(shape, 'placeholder_format') and shape.placeholder_format is not None):
ph_idx = shape.placeholder_format.idx if shape.placeholder_format else -1
if ph_idx == 0:
title = shape.text.strip()
elif ph_idx == 1:
subtitle = shape.text.strip()
if title:
print(f'{i}. {title}')
if subtitle:
print(f' {subtitle}')
"
python -c "
from pptx import Presentation
prs = Presentation(r'<PPTX路径>')
for i, slide in enumerate(prs.slides, 1):
if slide.has_notes_slide:
notes = slide.notes_slide.notes_text_frame.text.strip()
if notes:
print(f'--- 第 {i} 页备注 ---')
print(notes)
print()
"
python -c "
from pptx import Presentation
prs = Presentation(r'<PPTX路径>')
for i, slide in enumerate(prs.slides, 1):
for shape in slide.shapes:
if shape.has_table:
table = shape.table
print(f'--- 第 {i} 页 表格 ({len(table.rows)}x{len(table.columns)}) ---')
for row in table.rows:
cells = [cell.text.strip() for cell in row.cells]
print(' | '.join(cells))
print()
"
python -c "
from pptx import Presentation
prs = Presentation(r'<PPTX路径>')
for i, slide in enumerate(prs.slides, 1):
print(f'=== 第 {i} 页 ===')
for shape in slide.shapes:
if shape.has_text_frame:
for para in shape.text_frame.paragraphs:
text = para.text.strip()
if text:
print(text)
if shape.has_table:
table = shape.table
print(f'[表格 {len(table.rows)}x{len(table.columns)}]')
for row in table.rows:
cells = [cell.text.strip() for cell in row.cells]
print('| ' + ' | '.join(cells) + ' |')
if slide.has_notes_slide:
notes = slide.notes_slide.notes_text_frame.text.strip()
if notes:
print(f'[备注] {notes}')
print()
"
📊 PPT 内容:filename.pptx
═══════════════════════════════════════════
幻灯片数量:X 页
═══════════════════════════════════════════
=== 第 1 页 ===
标题内容
正文内容
=== 第 2 页 ===
...
.pptx 格式(Office 2007+),不支持旧版 .ppt