extract-pdf-text

hairihou 的头像作者 hairihou

使用pdfplumber从PDF文件中提取文本内容。

📖 中文导读:使用pdfplumber从PDF文件中提取文本内容。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: extract-pdf-text description: Extract text content from PDF files using pdfplumber. Use when asked to "extract text from PDF", "read PDF contents", or "get text from this PDF file".

Extract PDF text

Usage

./scripts/extract.py <path-to-pdf>
./scripts/extract.py <path-to-pdf> --page 0  # specific page (0-indexed)

Dependencies are resolved automatically via PEP 723 inline metadata.