360 Secure SkillHub
360 安全技能中心

MinerU PDF Parser Clawdbot Skill

该 Skill 提供 shell 脚本,用 MinerU 在本地 CPU 上将单个 PDF 解析为 Markdown 和 JSON,默认输出到 ./mineru-output/ 下的每文档子文件夹;可通过参数启用表格和图片提取。默认仅处理单 PDF,批量文件夹解析需显式请求。

kesslerio
kesslerio
热度 93.71
最近更新 2026-05-10 11:03:44
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换 / 数据处理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add mineru-pdf-parser-clawdbot-skill
Metadata
name
mineru-pdf
description
Parse PDFs locally (CPU) into Markdown/JSON using MinerU. Assumes MinerU creates per‑doc output folders; supports table/image extraction.

MinerU PDF

Overview

Parse a PDF locally with MinerU (CPU). Default output is Markdown + JSON. Use tables/images only when requested.

Quick start (single PDF)

# Run from the skill directory
./scripts/mineru_parse.sh /path/to/file.pdf

Optional examples:

./scripts/mineru_parse.sh /path/to/file.pdf --format json
./scripts/mineru_parse.sh /path/to/file.pdf --tables --images

When to read references

If flags differ from your wrapper or you need advanced defaults (backend/method/device/threads/format mapping), read:

  • references/mineru-cli.md

Output conventions

  • Output root defaults to ./mineru-output/.
  • MinerU creates the per-document subfolder under the output root (e.g., ./mineru-output/<basename>/...).

Batching

Default is single-PDF parsing. Only implement batch folder parsing if explicitly requested.