跳到正文
Skillpedia
PDF、Word 与幻灯片41k · #6544

pdf

它能做什么

这个技能涵盖大多数常见的 PDF 任务,从提取文件中的文字到制作新文件。适合处理 PDF 文档的任何人。

适用场景

  • ✓当你需要从 PDF 中提取文字或表格的时候。
  • ✓当你想合并、拆分或旋转 PDF 页面的时候。
  • ✓当你需要对扫描的 PDF 进行 OCR,使其文字可以被搜索的时候。

技能链接

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/pdf/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/pdf/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这三份 PDF 报告合并成一个文件,并告诉我总页数?”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会确定 PDF 任务,保留你的原件,使用可用的 PDF 工具,并通过页数、文字和文件大小验证输出。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

PDF

Use this skill for any task where a PDF is the primary input or output.

Workflow

  1. Identify the PDF operation: read, extract, OCR, split, merge, rotate, watermark, redact, fill forms, encrypt/decrypt, or create.
  2. Preserve originals. Write outputs with explicit names.
  3. Use the most reliable available tool:
    • pdftotext, pdfinfo, qpdf, or mutool through bash when installed (the built-in read tool does not extract text from a PDF)
    • Python libraries such as pypdf, pdfplumber, PyMuPDF, or reportlab when available
    • OCR tools only for scanned pages
  4. For extraction, report page coverage and note when layout, tables, or OCR quality may affect accuracy.
  5. For generated or modified PDFs, verify page count, text extraction where possible, and file size. For redaction, confirm removed text is not extractable from the output.

Ask before installing dependencies or running OCR over large documents. Do not represent a visually scanned PDF as fully accurate text unless OCR quality has been checked.

常见问题

它会覆盖我的原始文件吗?

不会。技能说明,会保留原件,并使用明确的名称写入输出文件。

OCR 总是准确的吗?

不一定。技能说明,在没有检查 OCR 质量之前,不应将扫描的 PDF 视为完全准确。

它会检查涂黑(遮盖)内容吗?

会。对于涂黑,技能说明,应确认被删除的文字无法从输出文件中提取。

详情

作者的原始描述

Read, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.

repo: codewhale-hq/Codewhale

热度

GitHub 星标
41k
排名
#6544
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能