Please install this Agent Skill for me: https://github.com/lilyuan258/PDF2md-by-MinerU-api-skill/tree/99b2e5120430d435a41a7fddecd8404ef1d128bf/ — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.
Summary
Original description · MITUse this skill whenever the user asks to read, parse, or process one or more PDF files (.pdf). It converts the PDFs into Markdown using the MinerU (TextIn) API to handle long contexts, text, images, and tables perfectly, and then reads the resulting Markdown to fulfill the user's request. It also supports processing multiple PDFs simultaneously by creating separate output folders.
The SKILL.md below is reproduced from lilyuan258/PDF2md-by-MinerU-api-skill (commit 99b2e51) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2024 Your Name/Organization. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.
MinerU PDF Reader
This skill is designed to handle PDF files effectively by converting them into Markdown (with images) using the MinerU / TextIn API before answering user queries.
MIT License
Copyright (c) 2024 Your Name/Organization
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.