Xpersona
P

PPT Reader

CLAWHUB · Unverified

Use when user sends a PPT/PPTX file or asks to read PowerPoint content. 适用于:读取PPT文件、解析演示文稿内容、提取幻灯片文本。 Skill: PPT Reader Owner: jingqiu2180 Summary: Use when user sends a PPT/PPTX file or asks to read PowerPoint content. 适用于:读取PPT文件、解析演示文稿内容、提取幻灯片文本。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-25T02:05:03.448Z | user Initial release - Extract text from PPTX files Archive index: Archive v1.0.0: 3 files, 2714 bytes Files: skill-card.md (1938b), SKILL.md (2567b), _meta.json (129b) File v1.0.0:SKILL.md --- name:

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1741ry0c24t0b1yqkrq4434ks83h9ej:ppt-reader
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jingqiu2180-ppt-reader/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

4,496 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: ppt-reader
description: |
  Use when user sends a PPT/PPTX file or asks to read PowerPoint content.
  适用于:读取PPT文件、解析演示文稿内容、提取幻灯片文本。
---

# PPT Reader

## Overview

读取和解析 PowerPoint 文件(.pptx),提取幻灯片文本内容。

## When to Use

- 用户发送了 .pptx 文件
- 需要提取PPT中的文字内容
- 需要了解PPT的结构和页数

## Quick Reference

| 操作 | 命令 |
|------|------|
| 查看PPT页数 | `unzip -l file.pptx \| grep "slide[0-9]*\.xml" \| wc -l` |
| 提取所有文本 | `unzip -p file.pptx "ppt/slides/slide*.xml" \| sed 's/<[^>]*>//g'` |
| 逐页提取 | 见下方脚本 |

## Implementation

### 方法1:快速提取所有文本

```bash
unzip -p "file.pptx" "ppt/slides/slide*.xml" 2>/dev/null | sed 's/<[^>]*>//g' | tr -s ' \n'
```

### 方法2:逐页提取(推荐)

```bash
cd /path/to/ppt/
for i in {1..N}; do 
  echo "=== Slide $i ===" 
  unzip -p "file.pptx" "ppt/slides/slide$i.xml" 2>/dev/null | sed 's/<[^>]*>//g' | tr -s ' \n'
  echo ""
done
```

### 方法3:获取PPT基本信息

```bash
# 页数
unzip -l "file.pptx" | grep -c "slide[0-9]*\.xml"

# 文件结构
unzip -l "file.pptx" | grep -E "slide[0-9]+\.xml"
```

## Workflow

1. **确认文件路径** - 从 `/root/.openclaw/media/inbound/` 获取文件
2. **获取页数** - 确定有多少张幻灯片
3. **逐页提取** - 循环提取每页内容
4. **整理输出** - 汇总成结构化摘要

## Common Patterns

### 处理飞书发送的PPT

飞书发送的文件通常保存在:
```
/root/.openclaw/media/inbound/
```

文件名格式:
```
原始文件名-uuid.pptx
```

### 提取特定幻灯片

```bash
# 只提取第1页
unzip -p "file.pptx" "ppt/slides/slide1.xml" | sed 's/<[^>]*>//g'

# 提取第1-5页
for i in {1..5}; do unzip -p "file.pptx" "ppt/slides/slide$i.xml" | sed 's/<[^>]*>//g'; done
```

## Limitations

- 只能提取文本内容,无法提取图片、图表
- 无法获取格式信息(字体、颜色、布局)
- 复杂表格可能提取不完整
- 仅支持 .pptx 格式(不支持旧版 .ppt)

## Real-World Example

```bash
# 完整提取流程
PPT_FILE="/root/.openclaw/media/inbound/智能体-概述-20260116-xxx.pptx"

# 1. 获取页数
PAGE_COUNT=$(unzip -l "$PPT_FILE" | grep -c "slide[0-9]*\.xml")
echo "Total slides: $PAGE_COUNT"

# 2. 逐页提取
for i in $(seq 1 $PAGE_COUNT); do
  echo "=== Slide $i ==="
  unzip -p "$PPT_FILE" "ppt/slides/slide$i.xml" 2>/dev/null | sed 's/<[^>]*>//g' | tr -s ' \n'
  echo ""
done
```

_meta.json

{
  "ownerId": "kn7fk92awd320yhjxhp08c6zex83gc9t",
  "slug": "ppt-reader",
  "version": "1.0.0",
  "publishedAt": 1774404303448
}

skill-card.md

## Description:

Reads PowerPoint PPTX files and extracts slide text content for review, summarization, and basic presentation analysis.

This skill is ready for commercial/non-commercial use.

## Publisher:

[jingqiu2180](https://clawhub.ai/user/jingqiu2180)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, analysts, and external users use this skill when an agent needs to inspect a PPTX file, count slides, extract per-slide text, and organize the result into a structured summary.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Unknown or very large PPTX files can create resource-use or excessive-output issues when processed with local unzip and text extraction commands.

Mitigation: Use trusted or reasonably sized presentations, and apply file-size, slide-count, timeout, and output limits before processing unknown PPTX files.

Risk: Extracted PPTX text may omit images, charts, formatting, layout, and some complex table content.

Mitigation: Treat extracted text as a partial content view and review the original presentation when visual or formatting details matter.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/jingqiu2180/skills/ppt-reader)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, guidance]

**Output Format:** [Markdown with inline bash code blocks and extracted text summaries]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The skill produces local extraction commands and human-readable slide text; it does not extract images, charts, styling, or legacy .ppt files.]

## Skill Version(s):

1.0.0 (source: ClawHub release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to PPT Reader and adjacent AI workflows.