← 返回 Skills 市场
182
总下载
0
收藏
1
当前安装
6
版本数
在 OpenClaw 中安装
/install pdf-to-html
功能描述
Convert PDF documents to HTML using MinerU. Transforms PDF files into web-ready HTML with structure and formatting preserved. Features: PDF to HTML conversio...
使用说明 (SKILL.md)
PDF to HTML
Convert PDF files to HTML using MinerU.
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
# Convert PDF to HTML (requires token)
mineru-open-api extract report.pdf -f html -o ./out/
# From URL
mineru-open-api extract https://example.com/report.pdf -f html -o ./out/
# With language hint
mineru-open-api extract report.pdf -f html --language en -o ./out/
Authentication
Token required:
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
- Supported input: .pdf (local file or URL)
- Output format: HTML (
-f html) - HTML output requires
extractwith token — not available inflash-extract - Language hint with
--language(default:ch, useenfor English) - Page range with
--pages(e.g.1-10)
Notes
- HTML output (
-f html) is only available viaextractwith token - Output goes to stdout by default; use
-o \x3Cdir>to save to a file - All progress/status messages go to stderr; document content goes to stdout
- MinerU is open-source by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU
安全使用建议
This skill is essentially documentation for using the MinerU CLI and appears coherent. Before installing: 1) Verify mineru-open-api is the official MinerU package (check the npm page and the GitHub repo linked in SKILL.md). 2) Create a dedicated MinerU token with minimal scope and do not reuse other service credentials. 3) If you install via npm, review the package's install scripts and source code if you require tightened supply-chain control. 4) Prefer running the CLI in a sandbox or CI runner if you are processing untrusted PDFs. 5) Avoid embedding the MINERU_TOKEN in shared logs or public code; set it as a restricted environment variable.
功能分析
Type: OpenClaw Skill
Name: pdf-to-html
Version: 0.4.0
The skill is a legitimate wrapper for the MinerU document intelligence engine, facilitating PDF-to-HTML conversion via the 'mineru-open-api' CLI. It requires a standard API token (MINERU_TOKEN) and uses official installation paths from npm and GitHub (opendatalab/MinerU-Ecosystem), with no evidence of malicious intent or data exfiltration.
能力评估
Purpose & Capability
The skill is an instruction-only wrapper for the MinerU CLI. Declared requirements (mineru-open-api binary and MINERU_TOKEN) directly match the described functionality (calling mineru-open-api extract to produce HTML). There are no unrelated binaries or extra credential claims.
Instruction Scope
SKILL.md instructs the agent to run the mineru-open-api CLI (extract, auth) against local files or URLs and to use MINERU_TOKEN. It does not instruct reading other environment variables, unrelated system files, or exfiltrating data to unexpected endpoints.
Install Mechanism
Install options are npm (mineru-open-api) or go install from a GitHub repo (github.com/opendatalab/...). Both are standard, traceable mechanisms. No downloads from untrusted shorteners or personal IPs are used. (As usual with npm, postinstall scripts are possible; review package sources if you require stricter controls.)
Credentials
Only a single token (MINERU_TOKEN) is required and is justified by the CLI's auth flow. No other credentials or config paths are requested. Users should confirm the token's scope and avoid reusing high-privilege tokens.
Persistence & Privilege
The skill is not always-enabled and does not request persistent modification of other skills or system-wide settings. Autonomous invocation is allowed but this is the platform default and not a reason to flag the skill by itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pdf-to-html - 安装完成后,直接呼叫该 Skill 的名称或使用
/pdf-to-html触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.4.0
SEO: expand description for better ClawHub vector search discovery
v0.3.0
Rollback to original version
v0.2.1
SEO optimization v0.2.1
v0.2.0
SEO optimization v0.2.0
v1.0.1
Minor update
v1.0.0
Initial release
元数据
常见问题
PDF to HTML 是什么?
Convert PDF documents to HTML using MinerU. Transforms PDF files into web-ready HTML with structure and formatting preserved. Features: PDF to HTML conversio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 182 次。
如何安装 PDF to HTML?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-to-html」即可一键安装,无需额外配置。
PDF to HTML 是免费的吗?
是的,PDF to HTML 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PDF to HTML 支持哪些平台?
PDF to HTML 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PDF to HTML?
由 mzlzyCA(@mzlzyca)开发并维护,当前版本 v0.4.0。
推荐 Skills