skills/read-pdf/SKILL.md
Analyze PDF files with Claude document blocks. Supports page-range selection, 20-page chunking, and merged structured output.
npx skillsauth add hasna/skills read-pdfInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze a PDF with Claude's native document support and return structured output for the requested pages.
1-5,8,10-12skills auth login.SKILL.md.# Read the whole PDF with markdown output
skills run read-pdf -- --input ./deck.pdf
# Restrict to a few pages
skills run read-pdf -- --input ./contract.pdf --pages 1-3,8 --format text
# Ask for specific structure and save it
skills run read-pdf -- \
--input ./invoice.pdf \
--prompt "Extract invoice metadata, every line item, and the payment terms." \
--format json \
--output ./invoice.json
| Option | Description | Default |
|--------|-------------|---------|
| -i, --input <path-or-url> | PDF file path or URL | required |
| --pages <ranges> | Page ranges like 1-5,8,10-12 | all pages |
| -p, --prompt <text> | What Claude should extract | text + tables + structure |
| -f, --format <value> | json, markdown, or text | markdown |
| -m, --model <name> | Anthropic model to call | ANTHROPIC_MODEL or built-in default |
| --chunk-size <n> | Pages per request (max 20) | 20 |
| --max-tokens <n> | Maximum response tokens per chunk | 1600 |
| -o, --output <path> | Save result to a file | stdout |
| --text | Emit only the merged extracted text | false |
| --help | Show usage | |
| --version | Show version | |
testing
Merge a GitHub pull request, merge when green, use a merge queue, or decide whether a pull request is mergeable. Use only for explicit merge intent, not ordinary review.
development
Generate premium performance audit reports for web apps, APIs, or SaaS surfaces with metrics, findings, budgets, remediation plans, and manifest metadata.
data-ai
Generate premium customer feedback reports from reviews, support tickets, surveys, call notes, or raw feedback with clusters, sentiment, root causes, roadmap recommendations, evidence, and manifest metadata.
development
Generate high-quality PDF documents from markdown, HTML, or templates