# PDF Reader

> Extract text from PDF files. Use when reading, parsing, or analyzing PDFs.

- Skill: `alibaba/pdf-reader` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add alibaba/pdf-reader`
- Raw SKILL.md: https://api.skillmd.com/api/skills/alibaba/pdf-reader/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: alibaba (https://skillmd.com/u/alibaba)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/alibaba/pdf-reader

---


# PDF Reader

Run `scripts/read_pdf.py` relative to this skill's directory.

```bash
python3 SKILL_DIR/scripts/read_pdf.py -f <pdf_path> [options]
```

Options: `-p "1-5,7"` page range, `--format json` structured output, `--metadata` include doc info, `-m 8000` max chars.

Setup: `pip install PyMuPDF`

