Skip to content
TakoAPI
Back to skills

mineru-pdf-extractor

by a-i-r

Coding Agents & IDEs
635Downloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Extract PDF content to Markdown using MinerU API.

Description

What This Skill Does

MinerU PDF Extractor converts PDF documents to structured Markdown via the MinerU API. It handles formula recognition, table extraction, and OCR. Two methods are available: uploading a local file in 4 steps, or submitting a public URL in 2 steps.

Handles complex PDF content like LaTeX formulas and embedded tables that basic text extractors miss.

When to Use It

  • Converting arXiv research papers to Markdown for note-taking
  • Extracting tables from financial reports into structured text
  • Batch processing academic PDFs to build a searchable knowledge base
  • Parsing scanned documents with OCR into plain text
  • Converting technical manuals with embedded formulas to Markdown

Example Workflow

INPUT

User asks: Extract this arXiv PDF to Markdown: https://arxiv.org/pdf/2410.17247.pdf

AGENT
  1. 1

    Run online_file_step1_submit_task.sh with the PDF URL to submit a parsing task

  2. 2

    Capture the returned TASK_ID from the script output

  3. 3

    Run online_file_step2_poll_result.sh with the TASK_ID and a target output directory

  4. 4

    Wait for polling to finish and the result ZIP to be downloaded and extracted automatically

OUTPUT

extracted/full.md with the complete Markdown document, images in extracted/images/, and structured data in content_list.json

Requirements

  • MINERU_TOKEN or MINERU_API_KEY environment variable (API token from mineru.net)

Installation

clawhub install a-i-r/mineru-pdf-extractor

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links