MinerU-MCP: Skill for Claude Code

.claude/skills/mineru-convert/SKILL.md

mineru-convert is a skill for Claude Code from AvatarGanymede/MinerU-MCP. It costs 35 tokens per session (828 once invoked), scanned A, original, MIT.

A workflow for converting document files or URLs into Markdown, a plain-text format commonly used for structured documentation.

In plain words
What is it for?
Converting supported PDFs, DOC/DOCX files, presentations, images, and HTML pages into Markdown.
Why use it?
It extracts readable text and structure from PDFs, office documents, images, and web pages for later use.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is AvatarGanymede/MinerU-MCP's own configuration. It tells Claude Code how to work on MinerU-MCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MinerU-MCP configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is curl -L -o ./temp/<filename>.zip "<download_url>" --retry 3 --connect-timeout 30 --max-time 600 -f -s -S.

Reuse

Borrowing it

Nothing to install: this file belongs to AvatarGanymede/MinerU-MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AvatarGanymede/MinerU-MCP/main/.claude/skills/mineru-convert/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AvatarGanymede/MinerU-MCP

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mineru-convert

README.md
[![agentmods](https://agentmods.dev/badge/skills/avatarganymede/mineru-mcp/mineru-convert/github.svg)](https://agentmods.dev/skills/avatarganymede/mineru-mcp/mineru-convert)
Your own site
<a href="https://agentmods.dev/skills/avatarganymede/mineru-mcp/mineru-convert"><img src="https://agentmods.dev/badge/skills/avatarganymede/mineru-mcp/mineru-convert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mineru-convert

Your own site · 80×15
<a href="https://agentmods.dev/skills/avatarganymede/mineru-mcp/mineru-convert"><img src="https://agentmods.dev/badge/skills/avatarganymede/mineru-mcp/mineru-convert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 828 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00828
Opus 5 $0.00017 $0.00414
Sonnet 5 $0.00007 $0.00166
Haiku 4.5 $0.00003 $0.00083

Measured 11d ago against content hash 73e4c2b918dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

mineru-convert scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. Download the zip file to `./temp/` using curl:
.claude/skills/mineru-convert/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smithery Document URL to Markdown Conversion

Use the Smithery-deployed MinerU MCP server (TypeScript version) to convert a document URL to Markdown. This skill is for URL-based input only — local file paths are not supported by the remote server.

Input

The user will provide:

  1. Document URL (required): an HTTP/HTTPS URL pointing to the document
  2. Instructions (optional): what to do with the converted content (analyze, summarize, etc.)

Supported formats: PDF, DOC, DOCX, PPT, PPTX, PNG, JPG, JPEG, HTML

Important Rules

  1. Always use relative paths when executing shell commands. Never use absolute paths. Never cd to an absolute path before running a command — just use relative paths directly.
  2. Auto-extract zip files. When the output is a zip file, automatically unzip it to the same directory (same name without .zip extension). Do NOT delete the zip file after extraction.
  3. This skill only works with URLs. If the user provides a local file path, tell them to use the /convert-to-markdown skill instead.

Workflow

1. Validate input

  • Confirm the input starts with http:// or https://.
  • If not, inform the user that this skill only supports URLs and suggest using /convert-to-markdown for local files.

2. Convert via MCP

Call the MCP tool convert_to_markdown with the document URL:

  • The server auto-detects file type and configures optimal settings (model, OCR, etc.)
  • The server polls until the task completes or times out
  • On success, the server returns a download URL for the result zip file

3. Download the result

After the MCP tool returns a download URL:

  1. Derive the output filename from the URL (e.g., report.pdfreport.zip).
  2. Download the zip file to ./temp/ using curl:
curl -L -o ./temp/<filename>.zip "<download_url>" --retry 3 --connect-timeout 30 --max-time 600 -f -s -S
  1. If curl fails, report the error and provide the download URL so the user can download manually.

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 80 lines · 35 tokens per session scan A 73e4c2b918dd

Subscribe to this mod's changes

mineru-convert is a skill published in the GitHub repository AvatarGanymede/MinerU-MCP (5 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 828 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pdf-table-to-excel

A workflow for turning tables in PDF files into Excel workbooks, with one sheet per table and supporting images and quality notes. It uses MinerU, a tool that extracts content from PDFs, and needs an image-reading model to check the results.

kujiangmudao/tablepack · 132 tokens

n8n-binary-and-data

Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send…

czlonkowski/n8n-mcp · 135 tokens

doc-convert

A converter that formats Markdown documents as HTML, printable PDF files, or long PNG images. Markdown is plain text with simple formatting marks for headings, lists, tables, and code.

ZJU-REAL/Easel · 77 tokens

exam-study-guide

A study-guide builder for a completed exam chapter that has not yet passed its required checks. It creates a structured teaching checklist and, in full mode, a self-contained HTML and printable PDF guide with readable formulas, visible images, explanations, examples, and answers.

ZeKaiNie/universal-examprep-skill · 113 tokens

markdown-to-pdf

Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to PDF, or when another skill needs to produce a PDF from markdown output.

staskh/trading_skills · 45 tokens

figure-remap

Extract single figures from PDF textbooks on-demand with built-in QC verification. Primary use: when writing/supplementing a note that needs an embedded figure (anatomy, classification, algorithm, imaging). Each call checks an existing fast-path crop, re-extracts from PDF if missing/wrong, retries with local-vision…

drpwchen/textbook-to-note · 126 tokens