← 返回 Skills 市场
focusshang

MinerU OCR Local & API

作者 ABear · GitHub ↗ · v1.1.4 · MIT-0
cross-platform ✓ 安全检测通过
225
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install mineru-ocr-local-api
功能描述
Parse complex PDFs and document images with MinerU through either the hosted MinerU API or the local open-source MinerU runtime. Use when Codex, OpenClaw, Cl...
安全使用建议
This skill appears to do what it says: it either uploads documents to the MinerU hosted API (requires MINERU_API_TOKEN) or runs a local MinerU CLI if you have it installed. Before installing, consider: (1) If you use API mode your document bytes (or URL content) will be sent to mineru.net — do not use API mode for highly sensitive documents unless you trust that service and token handling. (2) Local mode executes a mineru binary or python -m mineru.cli.client via subprocess; ensure you install and trust the upstream MinerU runtime if you want processing to stay local. (3) The tool saves JSON envelopes and extracted artifacts under the system temp directory by default — verify and remove those files if needed. (4) You will need Python and the httpx dependency available in the environment to run the wrapper. Otherwise the skill's requests and behavior are proportional to its stated purpose.
功能分析
Type: OpenClaw Skill Name: mineru-ocr-local-api Version: 1.1.4 The skill bundle provides a legitimate interface for the MinerU OCR service, supporting both local CLI execution and the hosted API. The code in `scripts/lib.py` and `scripts/mineru_caller.py` uses standard libraries like `subprocess` and `httpx` to handle document parsing and file transfers, which are consistent with the stated purpose. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the use of environment variables for API tokens and local paths is standard for this type of integration.
能力评估
Purpose & Capability
Name/description match the code and instructions: the package is a wrapper that either calls the MinerU hosted API (needs MINERU_API_TOKEN) or invokes the local MinerU CLI. Required binaries (python) and the listed environment variables relate to MinerU operation. No unrelated credentials or unrelated system-wide accesses are requested.
Instruction Scope
Runtime instructions direct the agent to run python scripts/mineru_caller.py which (depending on mode) will upload local files to the MinerU hosted API, poll tasks, download result archives, or invoke a local mineru CLI via subprocess. The instructions and code reference only MinerU endpoints, temp directories, and local mineru configuration; they do not attempt to read unrelated system files. Note: in API mode user documents (local-file bytes or remote URLs) will be transmitted to the MinerU service, and downloaded artifacts are written under the temp root.
Install Mechanism
This is instruction-only (no automated installer). A requirements.txt and a pip dependency (httpx) are declared but no install script is present; requiring python and httpx is proportional for a Python CLI wrapper. No downloads from untrusted URLs or archive extraction are performed by the skill itself.
Credentials
The primary credential is MINERU_API_TOKEN which is appropriate and required only for the hosted API mode. Optional environment variables configure API base URL, timeouts, or local mineru invocation. No unrelated secrets or multiple unrelated service credentials are requested.
Persistence & Privilege
always is false; the skill does not request permanent/resident privileges or attempt to modify other skills or global agent configuration. Autonomous invocation is allowed but that is the default platform behavior and not by itself a concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mineru-ocr-local-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mineru-ocr-local-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.4
Improve missing-token guidance with explicit setup location and copy-paste PowerShell commands for API mode.
v1.1.3
Declare runtime metadata in SKILL.md frontmatter, remove user-specific validation path, and improve ClawHub security review accuracy.
v1.1.2
Remove auxiliary test scripts and tighten the published package to reduce false-positive security flags; no runtime behavior changes.
v1.1.1
Broaden skill description to support Codex, OpenClaw, Claude Code, and similar coding agents; no functional changes.
v1.1.0
Add local open-source MinerU mode alongside hosted API mode.
元数据
Slug mineru-ocr-local-api
版本 1.1.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

MinerU OCR Local & API 是什么?

Parse complex PDFs and document images with MinerU through either the hosted MinerU API or the local open-source MinerU runtime. Use when Codex, OpenClaw, Cl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 225 次。

如何安装 MinerU OCR Local & API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mineru-ocr-local-api」即可一键安装,无需额外配置。

MinerU OCR Local & API 是免费的吗?

是的,MinerU OCR Local & API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

MinerU OCR Local & API 支持哪些平台?

MinerU OCR Local & API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 MinerU OCR Local & API?

由 ABear(@focusshang)开发并维护,当前版本 v1.1.4。

💬 留言讨论