Introduction¶
When handling resumes, job descriptions (JDs), portfolios, or report materials inside an Agent, the model often only sees filenames or manually pasted fragments. If you want to summarize, rewrite, answer questions, or extract structured data, you typically need to first convert PDF, Word, PPT, and similar formats into editable Markdown. Building your own parsing pipeline requires integrating uploads, polling, and result persistence. The “Doc to Markdown” Skill packages MinerU’s parsing capabilities into a standard SKILL.md workflow, allowing the Agent to call a bundled script according to instructions, complete conversions for local files or remote URLs, and save the resulting Markdown.
What Is This¶
“Doc to Markdown” is a community Skill on SkillHub (coordinate: @user_ec02b303/xtyooo-mineru-doc-to-markdown-skill, version 1.0.0, category: office-efficiency, publisher: user_ec02b303). It uses MinerU to convert pdf, doc, docx, ppt, pptx, images, or html into Markdown, making it ideal for scenarios where you “convert to md first, then proceed with downstream workflows.”
Unlike scattering text by pasting content into conversations, this Skill emphasizes completing uploads, remote parsing, polling, and saving through scripts, making it easy to reliably hand off the same document to subsequent steps.
Core Features¶
The following capabilities are described in the official introduction and SkillHub page; unpublished script parameters are not covered here.
- Format Coverage: Supports converting pdf, doc, docx, ppt, pptx, images, and html to Markdown.
- Two API Paths: Prioritizes reading the environment variable
MINERU_API_TOKENto call the precise parsing API; when no token is configured, it automatically falls back to the token-free Agent API. - Input Methods: The bundled script supports uploading local files and parsing remote URLs, and saves the Markdown output once the task completes.
- Typical Upstream Scenarios: Official documentation lists documents like resumes, JDs, and portfolios; after conversion to md, they can be used for summarizing, rewriting, Q&A, structured extraction, or integration with other workflows.
- Tag Explanation: The Skill is tagged with
requires_api_key=true; whetherMINERU_API_TOKENis configured determines whether it uses the precise API or falls back, rather than being unusable in all cases.
Installation and Activation¶
The installation method provided on the SkillHub page is: ask the AI to install this Skill according to the SkillHub installation documentation. The coordinate is as follows:
@user_ec02b303/xtyooo-mineru-doc-to-markdown-skill
If the skillhub CLI is already installed locally, follow Section 3 of the installation documentation and use --dir to point to the current Agent’s skills directory (installing to the default ./skills/ may not be recognized). Example commands are as follows; replace <skills directory> with the path corresponding to your environment.
command -v skillhub && skillhub --version
skillhub install @user_ec02b303/xtyooo-mineru-doc-to-markdown-skill --dir <skills directory>
Common skills directories listed in the installation documentation include:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
If the CLI is not yet installed, you can use the official installation script per the documentation (full installation or --cli-only); see Section 1 of https://skillhub.cn/install/skillhub.md for specific commands.
Before enabling precise parsing, configure the following in the environment where you run the Agent or execute the script:
export MINERU_API_TOKEN="<Your MinerU API Token>"
When unset, the Skill documentation indicates it will use the token-free Agent API fallback path.
Typical Usage¶
The official site does not provide standalone shell examples on public pages; the reproducible usage method is to collaborate with the Agent, where the Skill guides the call to the bundled script. You can follow these steps:
- Complete Skill installation and set
MINERU_API_TOKENas needed. - State your requirements in the conversation, e.g., convert a PDF resume or a JD docx to Markdown, specifying the local path or document URL.
- The Agent executes per the Skill’s instructions: uploading local files or submitting remote URLs, polling the MinerU parsing task, saving the result as a Markdown file or returning the content.
- Continue asking the Agent to summarize, rewrite, answer questions, or extract fields from the resulting Markdown.
If you use Cursor, the installation directory should be ~/.cursor/skills/; if the Agent does not load the new Skill after installation or update, restart or refresh the Skill list according to your client’s conventions.
Use Cases and Notes¶
Who Is It For: Developers or efficiency-focused users who need to process multi-format office documents within an Agent and want to uniformly use the MinerU parsing pipeline; categorized as office-efficiency, consistent with document preprocessing scenarios.
Usage Notes:
- Precise parsing depends on
MINERU_API_TOKEN; without a token, the fallback API is used, and parsing quality or quotas depend on MinerU and the Skill’s actual behavior. You can confirm in conversation which path is currently being used before installation. - The Skill is community-sourced (
community); maintenance and MinerU service changes require you to monitor version updates on SkillHub (the current page indicates v1.0.0). - When handling sensitive files like resumes or JDs, uploads and URL parsing will go through MinerU-related services; please assess according to your organization’s compliance requirements.
Statistics displayed on the SkillHub page (based on the page and crawled data): rating 100000, downloads 2132, installs 21. Specific numbers depend on your access to SkillHub.
Conclusion¶
“Doc to Markdown” consolidates MinerU’s multi-format parsing and Markdown persistence into an installable Agent Skill, using environment variables to switch between the precise API and token-free fallback. It is suitable for converting documents to md first and then integrating into subsequent automation. Official entry points:
- SkillHub: https://www.skillhub.cn/skills/user_ec02b303/xtyooo-mineru-doc-to-markdown-skill
- API Coordinate Page: https://api.skillhub.cn/user_ec02b303/xtyooo-mineru-doc-to-markdown-skill