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.
mdr add renky1025/agent-skills/pdf2md@v1.0.0Pins 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
mdr add renky1025/agent-skills/pdf2md@sha256:7c7c65205b9d2252The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-09-25 | 32ce6c0 | 7,191 B | A | view · diff |
| v1.0.0 | 2026-08-25 | fd539ff | 6,749 B | A | view · diff |
| v1.0.0 | 2026-07-25 | e280791 | 16,994 B | A | view · diff |
| v1.0.0 | 2026-07-25 | 7518f2d | 17,079 B | A | view · diff |
| v1.0.0 | 2026-03-30 | 1547a5d | 16,913 B | A | view |
Audit of the latest version
- 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
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
Every file in renky1025/agent-skills