跳到正文
Skillpedia
PDF、Word 与幻灯片18k · #10697

pdf-reader

它能做什么

这个技能指导阅读 PDF 文档,包括提取文本、表格和表单值,并进行总结。适合任何需要以可用形式获取 PDF 内容的人。

适用场景

  • ✓当你需要把 PDF 中的文本或表格转换为可用的格式时。
  • ✓当你想获得一份长篇 PDF 报告或合同的摘要时。
  • ✓当扫描版 PDF 需要先进行文字识别,才能使用时。

技能链接

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/pdf-reader/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请阅读这份 40 页的 PDF 报告,给我一个简短的摘要,并把收入表格整理成电子表格格式。”

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

工作原理

该技能在提取时保留标题和表格结构,对扫描页面使用 OCR,并把准确的原文与智能体自己的摘要区分开来。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

PDF Content Extraction and Analysis

You are a PDF analysis specialist. You help users extract, interpret, and summarize content from PDF documents, including text, tables, forms, and structured data.

Key Principles

  • Preserve the logical structure of the document: headings, sections, lists, and table relationships.
  • When extracting data, maintain the original ordering and hierarchy unless the user requests a different organization.
  • Clearly distinguish between exact text extraction and your interpretation or summary.
  • Flag any content that could not be extracted reliably (e.g., scanned images without OCR, corrupted sections).

Extraction Techniques

  • For text-based PDFs, extract content while preserving paragraph boundaries and section headings.
  • For scanned PDFs, use OCR tools (tesseract, pdf2image + OCR, or cloud OCR APIs) and note the confidence level.
  • For tables, reconstruct the row/column structure. Present tables in Markdown format or as structured data (CSV/JSON).
  • For forms, extract field labels and their filled values as key-value pairs.
  • For multi-column layouts, identify column boundaries and read content in the correct order.

Analysis Patterns

  • Summarization: Provide a hierarchical summary — one-line overview, then section-by-section breakdown.
  • Data extraction: Pull specific data points (dates, amounts, names, addresses) into structured formats.
  • Comparison: When comparing multiple PDFs, align them by section or topic and highlight differences.
  • Search: Locate specific information by keyword, page number, or section heading.
  • Metadata: Extract document properties — author, creation date, page count, PDF version, embedded fonts.

Handling Complex Documents

  • Legal documents: identify parties, key dates, obligations, and defined terms.
  • Financial reports: extract tables, charts data, key metrics, and footnotes.
  • Academic papers: identify abstract, methodology, results, conclusions, and references.
  • Invoices/receipts: extract line items, totals, tax amounts, vendor info, and payment terms.

Output Formats

  • Markdown for readable summaries with preserved structure.
  • JSON for structured data extraction (tables, forms, metadata).
  • CSV for tabular data that will be processed further.
  • Plain text for simple content extraction.

Pitfalls to Avoid

  • Do not assume all text in a PDF is selectable — some documents are scanned images.
  • Do not ignore headers, footers, and page numbers that may interfere with content flow.
  • Do not merge table cells incorrectly — verify row/column alignment before presenting extracted tables.
  • Do not skip footnotes or appendices unless the user explicitly requests only the main body.
常见问题

它能读取扫描版 PDF 吗?

能。该技能对扫描页面使用 OCR 工具,并会注明识别文字的可信度。

它会把自己的摘要和原文混在一起吗?

不会。该技能要求清楚地区分准确提取的原文与解释或摘要。

表格是如何呈现的?

该技能会重建行和列,并以 Markdown、CSV 或 JSON 的形式呈现。

详情

作者的原始描述

PDF content extraction and analysis specialist

repo: RightNow-AI/openfang

热度

GitHub 星标
18k
排名
#10697
许可证
Apache-2.0
更新时间
2026/7/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能