ttww1111

PDF Structured Extractor — Development skill for Claude Code

Development community

结构化提取 PDF 文字/表格/图片(扫描页走视觉),跨客户端通用 skill(WorkBuddy/Claude Code/Codex).

How to install PDF Structured Extractor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ttww1111/pdf-structured-extractor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What PDF Structured Extractor does

结构化提取 PDF 文字/表格/图片(扫描页走视觉),跨客户端通用 skill(WorkBuddy/Claude Code/Codex)。

Alternatives in Development

  • Book To Skill — Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work 25.9k ★
  • Octo Docs — Document delivery with export to PPTX, DOCX, PDF formats 2.8k ★
  • AutoSwarm — AutoSwarm: All Your Agents, Working as One (Codex · Claude Code · DeepSeek Harness · Muse · Grok · WorkBuddy· 1.9k ★

README

pdf-structured-extractor

Extract text, tables and images from PDF files into structured Markdown and CSV — heading hierarchy and reading order preserved, two-column layouts handled, scanned and garbled pages rendered to PNG for visual recognition instead of OCR.

中文文档:[README.zh-CN.md](README.zh-CN.md)

Why another PDF skill

PDF extraction is a crowded space — `anthropics/skills`, `openai/skills`, `claude-office` and several community skills all do it. This one is deliberately narrower:

anthropics/skills pdf openai/skills pdf this skill
Scope Full toolbox: extract, merge, split, forms, encrypt, watermark, OCR Render to PNG for visual review, generate PDFs with reportlab Extraction only
Dependencies pypdf, pdfplumber, reportlab, qpdf, pdftotext, pdftk reportlab + rendering PyMuPDF only
Output Mixed Visual / generated PDF Clean JSON contract for agents
Scanned pages Tesseract OCR Visual review Rendered PNG, filled in by the agent's vision

Three things this skill does that the others don't:

  1. Clean JSON contract. A single JSON object goes to stdout, diagnostics go to stderr. Nothing else pollutes the stream, so an agent can parse it directly.
  2. No OCR stack. Scanned pages and garbled text layers are detected automatically and rendered to PNG for the agent's own vision capability. No Tesseract, no RapidOCR, no model downloads.
  3. No telemetry, no ads, no network calls. See Privacy & security.

Features

  • Pure Python, one dependency. PyMuPDF >=1.28.2, cross-platform.
  • Reading order and heading hierarchy preserved, including two-column layouts.
  • Tables exported as Markdown (inline) and UTF-8-SIG CSV, plus a cropped PNG of each table region for layout verification.
  • Images deduplicated by SHA-256 of content, with bounding boxes recorded. Decorative images are filtered out: full-page backgrounds (≥85% co