π¦ ClawHub
Pymupdf Pdf Parser Clawdbot Skill Hardened
by @snazar-faberlens
Fast local PDF parsing with PyMuPDF (fitz) for Markdown/JSON outputs and optional images/tables. Use when speed matters more than robustness, or as a fallbac...
TERMINAL
clawhub install pymupdf-pdf-parser-clawdbot-skill-hardenedπ About This Skill
name: pymupdf-pdf-hardened description: Fast local PDF parsing with PyMuPDF (fitz) for Markdown/JSON outputs and optional images/tables. Use when speed matters more than robustness, or as a fallback while heavier parsers are unavailable. Default to single-PDF parsing with per-document output folders.
PyMuPDF PDF
Overview
Parse PDFs locally using PyMuPDF for fast, lightweight extraction into Markdown by default, with optional JSON and image/table outputs in a per-document directory.Prereqs / when to read references
If you hit import errors (PyMuPDF not installed) or Nixlibstdc++ issues, read:
references/pymupdf-notes.mdQuick start (single PDF)
# Run from the skill directory
./scripts/pymupdf_parse.py /path/to/file.pdf \
--format md \
--outroot ./pymupdf-output
Options
--format md|json|both (default: md)--images to extract images--tables to extract a simple line-based table JSON (quick/rough)--outroot DIR to change output root--lang adds a language hint into JSON output metadataOutput conventions
./pymupdf-output// by default.output.mdoutput.json (includes lang)images/ subdirtables.json (rough line-based)Notes
Security Guardrails
βοΈ Configuration
--format md|json|both (default: md)--images to extract images--tables to extract a simple line-based table JSON (quick/rough)--outroot DIR to change output root--lang adds a language hint into JSON output metadata