← 返回 Skills 市场
223
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install pdf-to-latex
功能描述
Convert PDF documents to LaTeX source using MinerU. Extracts text, formulas, and structure from PDFs and outputs LaTeX format for academic and technical docu...
使用说明 (SKILL.md)
PDF to LaTeX
Convert PDF documents to LaTeX format using MinerU. Best suited for academic papers and documents with formulas or complex layouts.
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 LaTeX (requires token)
mineru-open-api extract paper.pdf -f latex -o ./out/
# With VLM model for better accuracy on complex layouts
mineru-open-api extract paper.pdf -f latex --model vlm -o ./out/
# From arXiv URL
mineru-open-api extract https://arxiv.org/pdf/2309.10918 -f latex -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: LaTeX (
-f latex) - LaTeX output requires
extractwith token — not available inflash-extract - Use
--model vlmfor papers with complex math, tables, or multi-column layouts - Language hint with
--language(default:ch, useenfor English)
Notes
- LaTeX output (
-f latex) is only available viaextractwith token --model vlmgives higher accuracy but may have rare hallucination risk; usepipelinefor guaranteed fidelity- 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 appears coherent, but before installing: (1) verify mineru-open-api's origin (npm package page and the GitHub repo https://github.com/opendatalab/MinerU) and pin a known-good version; (2) understand that using the CLI with your MINERU_TOKEN will likely upload PDF contents to MinerU's service—avoid sending sensitive or private documents unless you trust the service and its privacy policy; (3) prefer creating a scoped or temporary MINERU_TOKEN if possible; (4) run the CLI in a restricted environment or sandbox if you need to limit potential data leakage; and (5) review MinerU's documentation and terms on mineru.net before providing credentials.
功能分析
Type: OpenClaw Skill
Name: pdf-to-latex
Version: 0.4.0
The skill is a legitimate wrapper for the MinerU document intelligence engine by OpenDataLab. It facilitates PDF-to-LaTeX conversion via the 'mineru-open-api' CLI tool and requires a standard API token (MINERU_TOKEN). The instructions in SKILL.md are well-defined, align with the stated purpose, and do not contain any evidence of malicious intent, prompt injection, or unauthorized data exfiltration.
能力评估
Purpose & Capability
Name/description (PDF→LaTeX via MinerU) align with required binary (mineru-open-api) and required env var (MINERU_TOKEN). The declared installs (npm package and Go module for mineru-open-api) are consistent with providing that CLI.
Instruction Scope
SKILL.md only instructs the agent to run mineru-open-api commands (extract, auth) against local PDF files or URLs and to set MINERU_TOKEN. This is within scope, but those commands will likely transmit PDF content to MinerU's service/API via the CLI — users should assume document contents may leave the local machine when using the authorized CLI.
Install Mechanism
Install uses standard channels (npm package and a GitHub Go module). These are expected for a CLI. As with any third-party package, verify the package source/version and prefer official releases; npm packages and go modules carry moderate supply-chain risk if untrusted.
Credentials
Only MINERU_TOKEN is required and declared as the primary credential. That single token is proportionate to a CLI that authenticates to an external MinerU service.
Persistence & Privilege
The skill does not request always:true and is user-invocable only; it does not declare system-wide config paths or other skills' credentials. Normal autonomous invocation is allowed but not elevated.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pdf-to-latex - 安装完成后,直接呼叫该 Skill 的名称或使用
/pdf-to-latex触发 - 根据 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
Fix: declare MINERU_TOKEN credential in metadata
v1.0.0
Convert PDF documents to LaTeX format using MinerU mineru-open-api
元数据
常见问题
PDF to LaTeX 是什么?
Convert PDF documents to LaTeX source using MinerU. Extracts text, formulas, and structure from PDFs and outputs LaTeX format for academic and technical docu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 223 次。
如何安装 PDF to LaTeX?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-to-latex」即可一键安装,无需额外配置。
PDF to LaTeX 是免费的吗?
是的,PDF to LaTeX 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PDF to LaTeX 支持哪些平台?
PDF to LaTeX 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PDF to LaTeX?
由 mzlzyCA(@mzlzyca)开发并维护,当前版本 v0.4.0。
推荐 Skills