Read PPTX
读取 Microsoft PowerPoint (.pptx) 演示文稿的文本内容,并按幻灯片结构返回。 当用户需要总结、分析或提取 PPT 中的文字信息时使用。
Install
npx skills add GAGAA-HUE/ASHUO-claude-skills --skill read-pptxgit clone --depth 1 https://github.com/GAGAA-HUE/ASHUO-claude-skills.git /tmp/ASHUO-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/ASHUO-claude-skills/read-pptx ~/.claude/skills/read-pptxPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# read-pptx Skill
## 触发条件
用户输入 `/read-pptx <路径>` 时,本 skill 生效。
## 执行流程
1. **检查依赖**:使用 Bash 检查 `python` 或 `python3` 是否可用,以及 `python-pptx` 库是否已安装。
- 若未安装,自动运行:
```bash
pip install python-pptx
```
2. **验证文件**:确认路径存在且以 `.pptx` 结尾。
3. **提取内容**:运行以下 Python 脚本:
```python
from pptx import Presentation
prs = Presentation("<路径>")
for i, slide in enumerate(prs.slides, 1):
print(f"--- 幻灯片 {i} ---")
for shape in slide.shapes:
if hasattr(shape, "text") and shape.text.strip():
print(shape.text.strip())
```
4. **结构化输出**:
- 按幻灯片顺序组织内容。
- 识别标题和正文层级。
- 如果幻灯片数量较多(> 20 页),先输出目录概览和前几页详情,询问是否需要继续。
5. **备注**:
- PPT 中的图片、图表、SmartArt 的纯文本可能无法完全提取。
- 若遇到复杂布局,告知用户哪些内容可能被遗漏。
## 输出要求
- 始终使用中文回复用户。
- 每页幻灯片的内容用清晰的标题分隔。
- 保留文本的层级和列表结构。
- 若提取失败,给出具体错误原因和修复建议。Details
- Skill name
read-pptx- Repository
- GAGAA-HUE/ASHUO-claude-skills
- Path
read-pptx/SKILL.md- Repo updated
- 3 November 2026
FAQ
What does the Read PPTX skill do?
读取 Microsoft PowerPoint (.pptx) 演示文稿的文本内容,并按幻灯片结构返回。 当用户需要总结、分析或提取 PPT 中的文字信息时使用。
How do I install the Read PPTX skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add GAGAA-HUE/ASHUO-claude-skills --skill read-pptx. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Read PPTX popular?
It lives in GAGAA-HUE/ASHUO-claude-skills, which has 5 GitHub stars and 2 forks.
Related skills
Domain Modeling
5GAGAA-HUE/ASHUO-claude-skills
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
Git Guardrails Claude Code
5GAGAA-HUE/ASHUO-claude-skills
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
Setup Pre Commit
5GAGAA-HUE/ASHUO-claude-skills
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
Read XLSX
5GAGAA-HUE/ASHUO-claude-skills
读取 Microsoft Excel (.xlsx / .xls) 电子表格的内容,并以结构化方式(Markdown 表格/CSV/摘要)返回。 当用户需要查看表格数据、分析特定 Sheet 或提取单元格内容时使用。
Read DOCX
5GAGAA-HUE/ASHUO-claude-skills
读取 Microsoft Word (.docx) 文档的内容,并将其转换为纯文本或 Markdown 格式返回。 当用户需要分析、搜索或总结 Word 文档时使用。
Slides
5npow/claude-skills
Turns bullet points, research, or structured content into a browser-based Reveal.js slide deck. Use when the user asks to create slides, a presentation, a deck, a slideshow, or says "present this", "turn this into slides", "make a deck", or mentions keynote, powerpoint, or reveal.
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.