学术
Skill更新于 2026-11-20· 浏览 1· 下载 0

PDF 转可编辑文档

把 PDF(含扫描件)转换为可编辑的 Word 或 Markdown,并检查公式、表格、页眉页脚和参考文献的转换错误。

办公技能PDFWordOCR格式转换

包内文件

  • SKILL.md1196 B

SKILL.md 预览

SKILL.md
---
name: pdf-to-editable
description: 把 PDF 转成可编辑的 Word 或 Markdown,并检查转换错误。用户提供 PDF 及目标格式时使用。
license: MIT
---

# PDF 转可编辑文档

把 PDF(含扫描件)转换为可编辑的 Word 或 Markdown,并检查公式、表格、页眉页脚和参考文献的转换错误。

## 工作流程

1. 判断 PDF 类型:文字型(可选中文字)还是扫描型(图片)。扫描型需要 OCR。
2. 文字型:用 Word 直接打开 PDF,或用 pdftotext / pandoc 转 Markdown;扫描型:用 ocrmypdf(中文需安装 chi_sim 语言包)先生成可搜索 PDF。
3. 检查常见错误:断行与连字符、页眉页脚混入正文、表格被拆成文本、公式丢失、上下标错误、参考文献编号错位。
4. 给出修复办法:用查找替换(通配符/正则)合并断行,表格按原样重建,公式用公式编辑器重录。
5. 输出转换后需要人工复核的位置清单。

## 输出

转换步骤 + 错误检查清单 + 需要人工复核的位置。

## 注意事项

- 转换结果必须人工核对,尤其是数字与公式。
- 注意版权:只转换你有权使用的文档。

安装到你的工具

下载 ZIP 后解压到对应目录即可;Skill 文件夹名为 pdf-to-editable。下面的路径和命令来自各工具的官方文档。

Claude Code

已核实
个人目录
~/.claude/skills/pdf-to-editable/SKILL.md
项目目录
.claude/skills/pdf-to-editable/SKILL.md

个人目录对你的所有项目生效;项目目录可以提交到仓库,团队成员共享。

资源作者备注:适用:当前版本

macOS / Linux(安装到个人目录)
mkdir -p ~/.claude/skills
curl -fL -o /tmp/pdf-to-editable.zip "https://xsjr.space/api/download/skills/pdf-to-editable/"
unzip -o /tmp/pdf-to-editable.zip -d ~/.claude/skills/
Windows PowerShell(安装到个人目录)
New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null
Invoke-WebRequest "https://xsjr.space/api/download/skills/pdf-to-editable/" -OutFile "$env:TEMP\pdf-to-editable.zip"
Expand-Archive "$env:TEMP\pdf-to-editable.zip" -DestinationPath "$HOME\.claude\skills" -Force

依据:Claude Code 文档 · Skills

Codex

已核实
个人目录
~/.agents/skills/pdf-to-editable/SKILL.md
项目目录
.agents/skills/pdf-to-editable/SKILL.md

在 Codex CLI 或 IDE 插件里输入 /skills 查看,或用 $技能名 显式调用。

资源作者备注:适用:当前版本

macOS / Linux(安装到个人目录)
mkdir -p ~/.agents/skills
curl -fL -o /tmp/pdf-to-editable.zip "https://xsjr.space/api/download/skills/pdf-to-editable/"
unzip -o /tmp/pdf-to-editable.zip -d ~/.agents/skills/
Windows PowerShell(安装到个人目录)
New-Item -ItemType Directory -Force "$HOME\.agents\skills" | Out-Null
Invoke-WebRequest "https://xsjr.space/api/download/skills/pdf-to-editable/" -OutFile "$env:TEMP\pdf-to-editable.zip"
Expand-Archive "$env:TEMP\pdf-to-editable.zip" -DestinationPath "$HOME\.agents\skills" -Force

依据:OpenAI 文档 · Build skills

Cursor

已核实
个人目录
~/.cursor/skills/pdf-to-editable/SKILL.md
项目目录
.cursor/skills/pdf-to-editable/SKILL.md

Cursor 也会读取 .agents/skills/ 和 .claude/skills/,在 Agent 对话中输入 / 可手动调用。

资源作者备注:适用:当前版本

macOS / Linux(安装到个人目录)
mkdir -p ~/.cursor/skills
curl -fL -o /tmp/pdf-to-editable.zip "https://xsjr.space/api/download/skills/pdf-to-editable/"
unzip -o /tmp/pdf-to-editable.zip -d ~/.cursor/skills/
Windows PowerShell(安装到个人目录)
New-Item -ItemType Directory -Force "$HOME\.cursor\skills" | Out-Null
Invoke-WebRequest "https://xsjr.space/api/download/skills/pdf-to-editable/" -OutFile "$env:TEMP\pdf-to-editable.zip"
Expand-Archive "$env:TEMP\pdf-to-editable.zip" -DestinationPath "$HOME\.cursor\skills" -Force

依据:Cursor 文档 · Agent Skills

通用(任意对话模型)

无需安装

把 SKILL.md 的正文复制下来,作为系统提示或第一条消息发给任意对话模型。

资源作者备注:适用:当前版本

继续浏览

下一篇PDF 文档处理用开源命令行工具完成 PDF 合并、拆分、旋转、压缩、提取文字与图片、加水印,给出可直接复制运行的命令。

相关资源