/autoscirub:mineru-pdf-to-markdownfrom autoscirub
Converts PDFs and paper-like documents to Markdown using MinerU before reading or analyzing them. Useful for scientific papers with equations, tables, or scanned content where direct text extraction is lossy.
Ships in autoscirub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this optional utility before detailed reading of scientific PDFs. Convert relevant PDFs to Markdown, then read the Markdown during literature grounding or document analysis.
The bundled script handles MinerU submission, file upload, polling, result download, zip extraction, caching, and a JSONL parse log.
From the plugin skill directory or with the script path resolved by the agent:
python scripts/mineru_pdf_to_markdown.py related_work/*.pdf
Convert one PDF and force the standard high-accuracy API:
MINERU_API_TOKEN="$MINERU_API_TOKEN" python scripts/mineru_pdf_to_markdown.py paper.pdf --mode standard --model-version vlm
Convert only selected pages:
python scripts/mineru_pdf_to_markdown.py paper.pdf --page-range 1-10
Run from the research project and resolve this script relative to the installed skill directory supplied by the agent (not relative to the project). Use --project when running elsewhere. --output-dir overrides the destination; otherwise outputs go to cache/mineru/ under the resolved AutoSciRub state directory. Configuration and AUTOSCIRUB_STATE_DIR follow the retrieval script’s rules. The default path requires the bundled sibling scientific-literature-grounding skill; standalone copies can use an explicit --output-dir.
MinerU uploads documents to a third-party service. For local-only or confidential work, use existing Markdown or a user-approved local PDF reader. A disabled MinerU provider in project config means the workflow should not invoke this service automatically. Explicitly running the converter is a direct request to use the service.
*.md files instead of relying on raw PDF extraction.--force to refresh.Use --mode auto by default:
MINERU_API_TOKEN is set, the script uses MinerU standard API with vlm by default.--page-range.Read references/mineru_api.md when changing API parameters, debugging MinerU failures, or deciding between standard and lightweight modes.
For each input, the script writes:
<output-dir>/<safe-input-name>.md: Markdown content for reading.<output-dir>/<safe-input-name>.meta.json: task id, mode, source, result URLs, and status.<output-dir>/_mineru_parse_log.jsonl: append-only conversion log.<output-dir>/_zip/ and <output-dir>/_extracted/ for standard API zip results.Use converted Markdown as literature or document context, not as a replacement for task-generated experimental evidence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zjunlp/autoscirub --plugin autoscirub8 skills in this plugin
/autoscirubCoordinate the full AutoSciRub workflow for autonomous scientific research tasks. Use when a user wants to turn an underspecified research instruction into an executable rubric, guide research execution, verify a report criterion by criterion, and run targeted revision rounds across Codex, Claude Code, OpenClaw, or another agent harness./criterion-level-verificationVerify a scientific report and supporting artifacts against an AutoSciRub executable rubric criterion by criterion. Use after execution has produced a report, code, results, tables, figures, or other artifacts, when Codex needs strict satisfaction labels, evidence found, evidence gaps, and required actions for targeted revision./criterion-synthesisSynthesize a task-specific executable scientific rubric from an instruction-derived skeleton, literature grounding, and task-data profile. Use in AutoSciRub when Codex needs criteria with linked goals, data sources, required analyses, metrics, comparisons, expected artifacts, provenance, and satisfaction conditions./rubric-skeleton-inductionInduce an instruction-derived scientific goal skeleton from a research task before reading literature, web sources, data details, code, or prior results. Use at the start of AutoSciRub when Codex needs atomic, traceable goals that state what the task should address without prescribing methods or metrics./scientific-literature-groundingGround an AutoSciRub rubric skeleton in scientific literature and authoritative documentation. Use after rubric_skeleton.json exists when a research agent needs goal-centered methods, protocols, metrics, baselines, controls, robustness checks, and evidence forms from task-visible papers, public literature, datasets, benchmarks, repositories, or documentation./targeted-revisionPerform one AutoSciRub targeted revision round using failed executable-rubric criteria and criterion-level verification feedback. Use when Codex needs to update a research artifact by adding missing experiments, comparisons, evidence, analysis, figures, tables, or report text while preserving supported claims and recording a structured revision plan and change summary.Other plugins' skills for the same job