AGENT SKILL

pdf-extract

Extract text and tables from PDF files into clean Markdown. Use when the user shares a PDF or asks to read, summarize, or convert one.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 29
Forks
2

01 前言 Front Matter

name
pdf-extract
license
MIT
metadata
{ "author": "yzfly", "version": "1.2.0" }
description
Extract text and tables from PDF files into clean Markdown. Use when the user shares a PDF or asks to read, summarize, or convert one.
allowed-tools
Read, Bash

02 资源文件 1

03 SKILL.md 正文

PDF Extract

Steps

  1. Run scripts/extract.py <file.pdf> to get raw text and tables as Markdown.
  2. Review headings; PDFs often lose structure — restore ## sections from font-size hints in the output.
  3. Return the Markdown to the user. For very long documents, summarize per section first and ask before dumping everything.

Notes

  • Scanned PDFs have no text layer; tell the user OCR is required rather than returning empty output.
  • Never send the document contents to any external service.

04 同仓库更多 Skills