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.5 $0.00014 $0.00331
Sonnet 5.5 $0.00007 $0.00166
Haiku 4.5 $0.00003 $0.00083

Measured 2mo ago against content hash 73e4c2b918dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.pdf → report.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. 2mo 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 8mo ago), licensed MIT. It adds 35 tokens to every session and 828 once invoked, about $0.0001 per session on Opus 5.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

mineru-convert compared with skills from other repositories

mineru-convert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mineru-convertAvatarGanymede/MinerU-MCPSkill58mo agoMITA35Claude Code
pdf-table-to-excelkujiangmudao/tablepackSkill627d agoMITA132Claude Code, Codex
kolmopdfkomoai2026/claude-pluginSkill328d agoMITA107Claude Code
n8n-binary-and-dataczlonkowski/n8n-mcpSkill23kyesterdayMITA135Claude Code, Codex
gzh-designZJU-REAL/EaselSkill4.6kyesterdayApache-2.0A156Claude Code, Codex
doc-convertZJU-REAL/EaselSkill4.6kyesterdayApache-2.0A77Claude Code, Codex
markdown-to-pdfstaskh/trading_skillsSkill4105d agoMITA45Claude Code