PDF to Markdown: SkillHub Skill for Converting PDFs and Scanned Documents

Introduction

Technical documentation, academic papers, and contracts are often distributed as PDFs, many of which are scanned documents or contain embedded images that make text copying impossible. Manual OCR followed by reformatting into Markdown is costly, and generic “PDF reading” capabilities often fall short when handling tables, formulas, and multilingual content. Below, we introduce the community skill PDF to Markdown (coordinates @user_3afb9517/pdf-scan-to-md) available on SkillHub, which addresses the specific need of “converting PDFs (including scanned documents and image pages) into editable Markdown.”

What Is This

PDF to Markdown is an Agent Skill based on the universal SKILL.md format, published on SkillHub under the office-efficiency category. It is a community-sourced skill (published by user_3afb9517), currently at version 1.0.1.

The official description positions it as a tool that converts PDF files (including scanned documents and images) into Markdown; it integrates MinerU and PaddleOCR dual engines, supports OCR for scanned documents, formula and table parsing, multilingual recognition, and is compatible with local OCR. The Skill tags indicate requires_api_key=true, meaning that before use, you need to prepare the corresponding API or local OCR environment according to the skill instructions (the specific key field names are not detailed on the page; refer to the installed SKILL.md for details).

Core Features

The following capabilities are sourced from the SkillHub page and captured metadata; features not listed separately are not extended:

  1. PDF → Markdown: Outputs Markdown for subsequent retrieval, version management, and editing in editors.
  2. Scanned Documents and Image Pages: Processes PDFs with non-selectable text through the OCR pathway.
  3. Dual Engines: The division of labor between MinerU and PaddleOCR is implemented internally by the skill; users primarily select files and trigger the conversion workflow.
  4. Formulas and Tables: Supports parsing of formulas and tables (specific effectiveness depends on PDF quality and engine capabilities).
  5. Multilingual: Supports multilingual recognition scenarios.
  6. Local OCR: The description states compatibility with local OCR, suitable for scenarios where cloud services are inconvenient or offline processing is required.

Installation and Activation

The installation guide provided on the SkillHub page is: Install the coordinate @user_3afb9517/pdf-scan-to-md according to the SkillHub Installation Documentation.

1. Install SkillHub CLI (if not already installed)

First, check whether the CLI is already available:

command -v skillhub && skillhub --version

If not installed, you can run the full installation (as recommended by the documentation):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If you only need the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install This Skill to the Current Agent’s Skills Directory

When installing the skill, you must use --dir to point to the skills directory that the current Agent actually reads; installing to the default ./skills/ may not be recognized. Common paths documented are as follows:

Agent / Client skills directory (example)
Claude Code ~/.claude/skills/
Cursor ~/.cursor/skills/
Codex ~/.codex/skills/ or .agents/skills/ in the project
Windsurf ~/.codeium/windsurf/skills/ or .windsurf/skills/

In Cursor, you can first search and then install to the corresponding directory (replace <skills directory> with the path from the table above):

skillhub search pdf-scan-to-md
skillhub install user_3afb9517/pdf-scan-to-md --dir ~/.cursor/skills/

The coordinate format follows the SkillHub page: @user_3afb9517/pdf-scan-to-md; when using the CLI for installation, the format user_3afb9517/pdf-scan-to-md is typically used (consistent with the skillhub install example).

3. Activation and API

  • The tag requires_api_key=true indicates that some capabilities may depend on external or local service keys. After installation, read the SKILL.md within the skill package to complete configuration.
  • After installing or updating skills, restart or reload the session according to the requirements of your Agent to ensure the skill is discovered.

The official page also provides text for “sending the prompt to your AI to install this skill,” with content consistent with the installation documentation link above, suitable for directly instructing the Agent to execute installation steps.

Typical Usage

The public page does not provide detailed shell examples. The standard usage is: In an Agent where the skill has been installed, specify the PDF path or file to be converted and request output as Markdown according to the skill workflow. For example, inform Cursor of the local PDF path and indicate whether it is a scanned document, allowing the Agent to call the MinerU / PaddleOCR or local OCR workflow defined within the skill.

Recommended reproduction path:

  1. Complete skillhub install and skills directory configuration as described in the previous section.
  2. Reference @user_3afb9517/pdf-scan-to-md or rely on the auto-discovered skill name PDF to Markdown in the conversation.
  3. Provide the PDF file; if the skill documentation requires an API Key or local OCR dependencies, configure them according to SKILL.md before conversion.

Specific parameters, output paths, and engine switching methods are subject to the SKILL.md in the installation package; this article does not fabricate configuration item names that do not appear in the official summary.

Use Cases and Considerations

Who It’s For

  • Developers or documentation maintainers who need to convert papers, manuals, scanned contracts, and other PDFs into Markdown.
  • Those whose documents contain tables, formulas, or multilingual content and who want to use MinerU / PaddleOCR for structured extraction rather than pure text extraction.
  • Teams with local OCR or compliance requirements who want to use the “local OCR compatible” pathway.

Limitations and Considerations

  • Community-sourced (community); quality and maintenance cadence depend on the publisher; upgrades can be performed using skillhub under the same --dir.
  • OCR and layout analysis are sensitive to scan clarity, skew, and watermarks; complex layouts require manual proofreading.
  • requires_api_key=true: Without configured keys, some cloud capabilities may be unavailable; prioritize checking SKILL.md.
  • SkillHub metadata (as of capture): Rating 100000, Downloads 976; page statistics will change; refer to the SkillHub Skill Page for the latest information.

Conclusion

PDF to Markdown consolidates “PDF / Scanned Document → Markdown” into an installable Agent Skill. Dual-engine OCR, formula and table support, multilingual recognition, and local OCR capabilities are all covered in the official description. If your workflow frequently encounters non-copyable PDFs, you can install @user_3afb9517/pdf-scan-to-md according to the SkillHub documentation and initiate conversions directly within your Agent.

  • SkillHub Page: https://www.skillhub.cn/skills/user_3afb9517/pdf-scan-to-md
  • API / Metadata Entry: https://api.skillhub.cn/user_3afb9517/pdf-scan-to-md
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye