360 Secure SkillHub
360 安全技能中心

Pptx Extract

通过 mineru-open-api 命令行工具,把本地或 URL 上的 .pptx 演示文稿内容提取为 Markdown。支持免令牌的 flash-extract 快速提取(限 10MB/20 页)与需令牌的完整提取,可用语言提示与页范围参数,结果默认输出到 stdout 或保存到指定目录。需安装该 CLI,处理时需联网。

mzlzyca
mzlzyca
热度 79.65
最近更新 2026-05-11 17:39:19
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pptx-extract
Metadata
name
pptx-extract
description
Extract content from PowerPoint (.pptx) presentations to Markdown using MinerU. Pulls slide content including text, structure, and formatting into readable output. Features: content extraction from PPTX files. Quick extraction (flash-extract) for .pptx without token. Full extraction with token for complex slides. Preserves slide structure and text formatting. Page/slide selection support. Use when you need to: extract content from PowerPoint slides, read .pptx file content, convert slides to Markdown, pull content from a presentation. Use when asked: 'how do I extract content from PowerPoint', 'read this pptx file', 'I want the content from these slides', 'can my agent read PowerPoint files', 'is there a skill for pptx extraction'. Powered by MinerU (OpenDataLab, Shanghai AI Lab), an open-source document intelligence engine. Great for content review, documentation workflows, and automated processing of presentation files.
homepage
https://mineru.net
metadata
{"openclaw":{"emoji":"📄","requires":{"bins":["mineru-open-api"],"env":["MINERU_TOKEN"]},"primaryEnv":"MINERU_TOKEN","install":[{"id":"npm","kind":"node","package":"mineru-open-api","bins":["mineru-open-api"],"label":"Install via npm"},{"id":"go","kind":"go","package":"github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api","bins":["mineru-open-api"],"label":"Install via go install","os":["darwin","linux"]}]}}

Pptx Extract

Convert and extract content from .pptx using MinerU (mineru-open-api).

Install

npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest

Quick Start

# Quick extraction (no token required)
mineru-open-api flash-extract slides.pptx

# Save to directory
mineru-open-api flash-extract slides.pptx -o ./out/

# From URL
mineru-open-api flash-extract https://example.com/slides.pptx

# Specify language
mineru-open-api flash-extract slides.pptx --language en

# Precision extraction with token (tables, formulas, more formats)
mineru-open-api extract slides.pptx -o ./out/

Authentication

No token needed for flash-extract. Token required for extract and crawl:

mineru-open-api auth            # Interactive token setup
export MINERU_TOKEN="your-token" # Or via environment variable

Create token at: https://mineru.net/apiManage/token

Capabilities

  • Supports local files and URLs
  • flash-extract: quick, no token needed (max 10 MB / 20 pages, Markdown only)
  • extract: token required, full features (tables, formulas, multi-format)
  • Supported input: .pptx
  • Language hint with --language (default: ch, use en for English)
  • Page range with --pages (flash-extract and extract)

Notes

  • .pptx supports flash-extract for quick extraction without a token.
  • Output goes to stdout by default; use -o <dir> to save to file
  • Binary formats (docx) require -o flag (cannot stream to stdout)
  • All progress/status messages go to stderr
  • MinerU is an open-source project by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU