Xpersona
G

GLM-V-PDF-to-PPT

CLAWHUB · Unverified

Convert a PDF (research paper, report, or any document) into a polished multi-slide HTML presentation with a structured outline JSON and summary markdown. Tr... Skill: GLM-V-PDF-to-PPT Owner: zai-org Summary: Convert a PDF (research paper, report, or any document) into a polished multi-slide HTML presentation with a structured outline JSON and summary markdown. Tr... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-15T12:18:59.134Z | user No user-facing changes in this version. - No file changes detected from the previous version. - Functionality and description remain t

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/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 s173sh1fb6z7xwvxgf5n3z6sdd83sddy:glmv-pdf-to-ppt
  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-zai-org-glmv-pdf-to-ppt/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

31,914 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: glmv-pdf-to-ppt
description:
  Convert a PDF (research paper, report, or any document) into a polished multi-slide
  HTML presentation with a structured outline JSON and summary markdown. Trigger this
  skill when the user mentions making slides or a PPT from a PDF — in Chinese or English.
metadata:
  openclaw:
    emoji: "📑"
    homepage: https://github.com/zai-org/GLM-V/tree/main/skills/glmv-pdf-to-ppt
---

# PDF → HTML PPT Skill

Convert any PDF into a multi-slide HTML presentation. Pages are converted to images at DPI 120, read sequentially to understand the content, then a structured `outline.json` is saved, images are cropped locally (no cloud upload), slides are rendered one by one, and finally a `summary.md` is generated.

**Scripts are in:** `{SKILL_DIR}/scripts/`

## Dependencies

Python packages (install once):
```bash
pip install pymupdf pillow
```

System tools: `curl` (pre-installed on macOS/Linux).

## When to Use

Trigger when the user asks to make slides or a presentation from a PDF — phrases like:
"make a PPT from a PDF", "convert PDF to slides", "create a presentation from this paper", "根据pdf做ppt", "根据论文做幻灯片", "做PPT", "做幻灯片", "生成演示文稿", "把这个pdf转成ppt", or any similar intent in Chinese or English.

## Output Directory Convention

All output goes under `{WORKSPACE}/ppt/<pdf_stem>_<timestamp>/`:

```
ppt/
└── <pdf_stem>_<timestamp>/
    ├── outline.json        ← structured slide plan (SlidesPlan schema)
    ├── crops/              ← locally-saved cropped images
    │   ├── slide3_method_crop.png
    │   └── slide5_results_crop.png
    ├── slide_01.html
    ├── slide_02.html
    ├── ...
    └── summary.md          ← final summary document
```

- `<pdf_stem>` = PDF filename without extension
- `<timestamp>` = format `YYYYMMDD_HHMMSS` (e.g. `20240119_143022`)
- Cropped images go in `crops/` subfolder
- Each slide HTML references images via relative path `crops/<name>.png`

## Input

`$ARGUMENTS` is the path to the PDF file (local) or an HTTP/HTTPS URL.

- If user provides a **URL**: download with curl first, then convert
- If user provides a **local PDF path**: convert directly

---

## Workflow

### Phase 0 — Create Output Directory

Compute the output path:
```python
import os, datetime
pdf_stem = os.path.splitext(os.path.basename(pdf_path))[0]
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
out_dir = os.path.join(workspace, "ppt", f"{pdf_stem}_{timestamp}")
```

Create it immediately:
```bash
mkdir -p "<out_dir>/crops"
```

Record `out_dir` — use it for all subsequent phases.

---

### Phase 1 — Convert PDF Pages to Images (DPI 120)

If the input is a URL, download it first:
```bash
pdf_stem=$(basename "$ARGUMENTS" .pdf)
curl -L -o "/tmp/${pdf_stem}.pdf" "$ARGUMENTS"
```
Then convert (pass either the downloaded path or the original local path):
```bash
python {SKILL_DIR}/scripts/pdf_to_images.py "<pdf_path>" --dpi 120
```

Outputs JSON to stdout:
```json
[{"page": 1, "path": "/abs/path/page_001.png"}, ...]
`

_meta.json

{
  "ownerId": "kn77dpbnmmgb7k1emww674jjy1827an4",
  "slug": "glmv-pdf-to-ppt",
  "version": "1.0.1",
  "publishedAt": 1776255539134
}

skill-card.md

## Description:

Convert a PDF, such as a research paper, report, or other document, into a polished multi-slide HTML presentation with a structured outline JSON and summary markdown.

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

## Publisher:

[zai-org](https://clawhub.ai/user/zai-org)

### License/Terms of Use:

MIT-0

## Use Case:

External users, developers, and researchers use this skill when they need an agent to convert a local or URL-hosted PDF into a slide deck with extracted visuals, a slide outline, and a written summary.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can download user-provided PDF URLs and process full document contents.

Mitigation: Prefer local PDFs, restrict network and workspace access, and avoid using untrusted URLs unless the execution environment is isolated.

Risk: Output file handling and slide HTML generation need review before processing untrusted documents.

Mitigation: Constrain generated filenames and output paths, escape user-controlled HTML content, and review generated slides before sharing.

Risk: The skill writes presentation files and cropped images into the workspace.

Mitigation: Run it in a restricted workspace with pinned dependencies and inspect the generated files before moving them into trusted projects.

## Reference(s):

- [GLM-V PDF-to-PPT homepage](https://github.com/zai-org/GLM-V/tree/main/skills/glmv-pdf-to-ppt)
- [ClawHub skill page](https://clawhub.ai/zai-org/skills/glmv-pdf-to-ppt)

## Skill Output:

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

**Output Format:** [Markdown guidance with shell commands plus generated JSON, HTML, PNG, and Markdown files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Creates a timestamped ppt/<pdf_stem>_<timestamp>/ directory containing outline.json, cropped images, slide HTML files, index.html, and summary.md.]

## Skill Version(s):

1.0.1 (source: server 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 GLM-V-PDF-to-PPT and adjacent AI workflows.