pdf2md SKILL.md skillA

pdf2md from renky1025/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add renky1025/agent-skills/pdf2md@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
renky1025/agent-skills
Path
pdf2md/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Sep 25, 2026
First version recorded
Mar 30, 2026
Size
7,191 bytes
Repository stars
11
License
MIT

将任意 PDF 高质量转换为 Markdown(保留表格、LaTeX 公式、图片、多栏布局与标题层级),基于 OpenDataLoader PDF(Benchmark #1 准确率);支持单文件与批量文件夹、fast/hybrid 双模式、扫描件 OCR,自动处理大文件分页。触发场景:PDF 转 Markdown、PDF 转 md、提取 PDF 正文/表格/公式/图片、扫描版 PDF 识别 OCR、批量转换 PDF、为 RAG / AI 工作流解析 PDF;convert PDF to markdown, extract PDF tables or formulas, OCR a scanned PDF。用法:/pdf2md <pdf路径> [--output=<输出目录>] [--mode=fast|hybrid] [--ocr] [--ocr-lang=<语言>] [--formula] [--charts] [--no-images].

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# pdf2md: PDF 转 Markdown 铸造器

## Purpose

把一个 PDF 文件或一整个 PDF 文件夹转成可直接用于 AI / RAG 工作流的 Markdown:正文、表格、
LaTeX 公式、图片与标题层级一站式还原,并额外产出带边界框坐标的结构化 JSON 与处理摘要。
底层由 `scripts/pdf2md.py` 驱动 OpenDataLoader PDF。

## When to Use

- 用户要把 PDF 转成 Markdown / 纯文本 / 结构化 JSON。
- 用户要从 PDF 里提取表格、公式或图片,或需要溯源坐标。
- 用户要批量转换一个目录下的多个 PDF。
- 用户要处理扫描版 PDF(需要 OCR)。
- 触发词:PDF 转 Markdown、pdf 转 md、PDF 提取文字/表格/公式、扫描件 OCR、批量转换 PDF、
  pdf2md、convert PDF to markdown、extract PDF tables/formulas。

## When NOT to Use

- 简单数字版 PDF、只需快速读一遍内容 -> 当前模型可直接读取该 PDF 并输出 Markdown,
  不必安装 OpenDataLoader 工具链(见 `references/upstream.md` 的「备选方案」)。
- 要处理的是 Word / PPT / HTML 等非 PDF 格式 -> 用各自的转换路径,不是本技能。
- 目标是把 PDF 内容纳入本地互链知识库 -> 优先用 `obsidian-kb-builder`。
- 用户只想看 PDF 的某几页摘要、不要结构化产物 -> 直接读取并回答。

## Workflow

1. **前置检查**:`java -version`(需 11+)、`python3 --version`(需 3.10+)、
   `pip show opendataloader-pdf`。也可直接跑 `python3 <skill>/scripts/pdf2md.py --check`。
   缺依赖时脚本会自动安装;也可显式 `--install`。
2. **选模式**:按 `## Decision Rules` 决定 `fast` 还是 `hybrid`,以及是否需要
   `--ocr` / `--formula` / `--charts`。
3. **执行转换**:

```bash
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add renky1025/agent-skills/pdf2md@sha256:7c7c65205b9d2252

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6zaxvds6r7sxg5cu.svg)](https://markdownregistry.com/a/art_6zaxvds6r7sxg5cu)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 30, 2026 and Sep 25, 2026, about one every 45 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-25 32ce6c0 7,191 BA view · diff
v1.0.02026-08-25 fd539ff 6,749 BA view · diff
v1.0.02026-07-25 e280791 16,994 BA view · diff
v1.0.02026-07-25 7518f2d 17,079 BA view · diff
v1.0.02026-03-30 1547a5d 16,913 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7191 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

renky1025/agent-skills · 11 stars · license MIT · pushed 2026-10-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6zaxvds6r7sxg5cu
GET https://markdownregistry.com/api/v1/resolve?ref=renky1025/agent-skills/pdf2md
GET https://markdownregistry.com/api/v1/blob/7c7c65205b9d2252fd4eef58a3a480fc1bd4267c9588b84a06b64103ea9a7dc4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from renky1025/agent-skills

AGENTS.md AGENTS.md file
renky1025/agent-skills · AGENTS.md
git:20260925.32ce6c0 · audit A · 11 stars
agent-coding-style SKILL.md skill
renky1025/agent-skills · agent-coding-style/SKILL.md · Coding agent 必须遵守的确定性回答与操作规则,完全取自 Codex gpt-5.2 模型指令模板 (gpt-5.2-codex_instructions_template.md)。覆盖:回复格式、工作呈现、搜索、编辑与…
git:20260925.32ce6c0 · audit A · 11 stars
article-deconstructor SKILL.md skill
renky1025/agent-skills · article-deconstructor/SKILL.md · 拆解高流量文章:输入一篇文章,产出结构化拆解报告——核心观点与副观点、说服策略矩阵、情绪触发地图、金句库、情感曲线、情感层次、论证多样性、视角转化、语言风格,以及可复用的句式模板与写作模板。触发场景:用户要分析文章结构、提取写作技巧、学习高…
git:20260925.32ce6c0 · audit A · 11 stars
black-humor-writing SKILL.md skill
renky1025/agent-skills · black-humor-writing/SKILL.md · 生成有传播力的黑色幽默/讽刺/搞笑内容(推文、段子、评论文案、文章段落)。基于单立人单口喜剧教材,用五步 SOP 把生活观察变成预期违背式的笑点:定主题+态度+前提 -> 构建预期违背 -> 夸张荒谬点 -> 制造情绪冲突 ->…
v1.0.0 · audit A · 11 stars
chatgpt-bridge SKILL.md skill
renky1025/agent-skills · chatgpt-bridge/SKILL.md · 用用户本机已登录的 chatgpt.com 会话做两件事:(1) 新建对话,把你不确定/不清楚的技术问题发过去,等回答生成结束,把完整答案取回来;(2) 按关键字找回历史对话,在里面继续追问,拿到确切答案。复用 Chrome…
git:20260925.32ce6c0 · audit B · 11 stars
claude-remember SKILL.md skill
renky1025/agent-skills · claude-remember/SKILL.md · Review auto-memory entries and produce a report of proposed promotions across the memory hierarchy (project-level…
git:20260925.32ce6c0 · audit A · 11 stars
claude-simplify SKILL.md skill
renky1025/agent-skills · claude-simplify/SKILL.md · Review changed code for reuse, quality, and efficiency, then fix the issues found by launching three parallel review…
git:20260925.32ce6c0 · audit A · 11 stars
clean-code SKILL.md skill
renky1025/agent-skills · clean-code/SKILL.md · Knowledge base distilled from "Clean Code: A Handbook of Agile Software Craftsmanship" by Robert C. Martin (Uncle Bob)…
git:20260925.32ce6c0 · audit A · 11 stars
curriculum-design SKILL.md skill
renky1025/agent-skills · curriculum-design/SKILL.md · 专业输出课程级(教学大纲)与课堂级(教案)双层课程设计方案,遵循 OBE 反向设计与"两性一度"一流课程标准。适用于高校教师教学发展、职业院校课程建设、企业培训课程开发、在线课程设计。触发词:课程设计、教学设计、教学大纲、教案、课程目标、教…
git:20260925.32ce6c0 · audit A · 11 stars
de-ai-writing SKILL.md skill
renky1025/agent-skills · de-ai-writing/SKILL.md · 文本去AI味:用确定性检测与「删除 -> 声纹校准 -> 改写 -> 防过平反查」去除文字的机器腔,把文字放回具体的人身上。产出:静默改写终版或AI味检测报告+七维评分。触发场景:用户说「去AI味」「太像AI写的」「帮我润色得更像人写的」「…
git:20261010.f412a01 · audit A · 11 stars
design-md-extractor SKILL.md skill
renky1025/agent-skills · design-md-extractor/SKILL.md · Extract a visual design system from any website URL and generate a DESIGN.md that strictly follows the…
git:20260925.32ce6c0 · audit A · 11 stars
edulab SKILL.md skill
renky1025/agent-skills · edulab/SKILL.md · 面向中高考数学的可视化解题工具:空间几何题生成可交互 3D 解题演示(建系向量法 + sympy 校验 + Three.js),函数表达式生成参数可控的 2D 图形(滑块实时联动)。产物为单文件自包含交互式…
git:20260925.32ce6c0 · audit A · 11 stars

Every file in renky1025/agent-skills

Other files named pdf2md

pdf2md SKILL.md skill
dimonier/skills · skills/pdf2md/SKILL.md · Convert PDF files to Markdown — extracts text with pdfplumber and describes images/diagrams via a local vision-language…
git:20260714.5777904 · audit A · 10 stars

Browse by kind, by grade A, or by owner.