Tooluck logoTooluck
SKILL.md

ppt-analysis

Agent skill fromOpenSenseNova/SenseNova-Skills

PPT (.pptx/.ppt) 全量解析。覆盖:所有 slide 文本/表格/图表提取、嵌入图片 caption、纯图片 slide 渲染识别、数据标签提取。

How to install ppt-analysis

install ppt-analysis
# install the SenseNova-Skills pack with the skills CLI
npx skills add OpenSenseNova/SenseNova-Skills

# or add only this skill to Claude Code: copy the folder

skills/sn-da-non-spreadsheet-analysis/capability/ppt-analysis/

# into

~/.claude/skills/ppt-analysis/ (all projects)

.claude/skills/ppt-analysis/ (one project)

skills/sn-da-non-spreadsheet-analysis/capability/ppt-analysis/SKILL.md

MITFull file
1# PPT Analysis — .pptx / .ppt
2
3## Environment
4
5```python
6from pptx import Presentation
7from pptx.util import Inches
8import os, subprocess, json
9
10# python-pptx is available
11# For .ppt (old binary format): convert via libreoffice
12def load_pptx(path):
13 if path.lower().endswith('.ppt'):
14 import subprocess
15 out_dir = os.path.dirname(path)
16 subprocess.run(
17 ['libreoffice', '--headless', '--convert-to', 'pptx', '--outdir', out_dir, path],
18 check=True, capture_output=True
19 )
20 path = path.rsplit('.', 1)[0] + '.pptx'
21 return Presentation(path), path
22```
23
24---
25
26## Core Method 1: Full Text Extraction (ALL slides)
27
28```python
29def extract_all_slides_text(pptx_path):
30 """
31 Extract text from every slide: text frames, tables, chart titles.
32 For slides with no extractable text, flag them for image captioning.
33 """
34 prs, _ = load_pptx(pptx_path)
35 slides_data = []
36
37 for slide_num, slide in enumerate(prs.slides, start=1):
38 slide_texts = []
39 has_text = False
40
41 for shape in slide.shapes:
42 # Text frame (most common)
43 if shape.has_text_frame:
44 for para in shape.text_frame.paragraphs:
45 text = para.text.strip()
46 if text:
47 slide_texts.append(text)
48 has_text = True
49
50 # Table
51 if shape.has_table:
52 tbl = shape.table
53…

Excerpt shown under the repository's MIT license.

More skills in SenseNova-Skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates