analyze-pdf
/analyze-pdf
Download and analyze PDF files from URLs or local paths — extract text, answer questions, summarize content. Use when analyzing, reading, or extracting information from a PDF.
- Author
- kovrichard ↗
- Repository
- portable-agent-layer ↗
- Licence
- MIT
- Last repository change
- 23.10.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: tools/pdf-download.ts, tools/pdf-read.ts
What it does and when to use it
Download and analyze PDF files from URLs or local paths — extract text, answer questions, summarize content. Use when analyzing, reading, or extracting information from a PDF.
Arguments
/analyze-pdf <URL or file path>
Original author description
Download and analyze PDF files from URLs or local paths — extract text, answer questions, summarize content. Use when analyzing, reading, or extracting information from a PDF.
How it works
- How to get the PDF
- How to read it
- What to do with it
- Guidelines
SKILL.md preview
---
name: analyze-pdf
license: MIT
description: "Download and analyze PDF files from URLs or local paths — extract text, answer questions, summarize content. Use when analyzing, reading, or extracting information from a PDF."
argument-hint: <URL or file path>
metadata:
source: portable-agent-layer
triggers:
- "analyze-pdf"
- "analyze pdf"
- "read this pdf"
- "analyze this pdf"
- "analyze the pdf"
- "summarize this pdf"
- "parse this pdf"
---
When the user asks to analyze, read, or extract information from a PDF:
## How to get the PDF
- **URL**: Use the `pdf-download` CLI tool to download and archive the PDF:
```bash
pal cli skill run analyze-pdf pdf-download -- <url> [--filename <name.pdf>]
```
The tool downloads the file, saves it to `memory/downloads/{YYYY}/{MM}/{DD}/{filename}.pdf`, and returns JSON with the saved `path`.
- **Local path**: Use the file directly.
## How to read it
Use your native PDF reading capability (e.g. a Read tool or equivalent). Most modern multimodal models can parse PDF content directly — no external dependencies, libraries, or conversion tools are needed.
Do NOT install PDF processing tools (poppler, pdftotext, etc.) unless the user explicitly asks. Native reading is sufficient.
### Fallback: when native Read fails
If the Read tool fails to open the PDF (e.g. error mentioning `pdftoppm`, missing renderer, or unsupported format), fall back to the text-extraction CLI:
```bash
pal cli skill run analyze-pdf pdf-read -- <path>
```
Use the stdout output as the document content and proceed with the user's request as normal.
If `pdf-read.ts` also fails, stop completely — report the exact errors from both attempts and ask the user how to proceed. Never infer PDF content from filename, metadata, or assumptions.
## What to do with it
Follow the user's request. Common tasks:
- **Answer a specific question** about the PDF content
- **Summarize** the document (defer to /summarize if installed)
- **Extract structured data** (tables, references, entities)
- **Extract wisdom** (defer to /extract-wisdom if installed)
- **Compare** with other documents or information
## Guidelines
- For large PDFs, read specific page ranges rather than the entire document
- Preserve the original structure (headings, lists, tables) when relevant
- Quote verbatim when the user asks about specific content
- If the PDF contains images or diagrams, describe them
Files in this package (3)
- SKILL.md 2 KB
- tools/pdf-download.ts 3 KB
- tools/pdf-read.ts 1 KB
Versions
The database has no other skills named analyze-pdf.
Database snapshot: 13.11.2026 · package version 7ef529389716 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90pdf-processing
Read a PDF directly with vision and extract text, summarize, or analyze its structure. Use when the user passes a PDF file. - 90pdf-processing
Process and extract information from PDF documents. Use this skill when the user asks to read, analyze, or extract data from PDF files. - 100pdf
Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files. - 100pdf-extractor
This skill should be used when the user asks to "extract text from PDF", "convert PDF to text", "parse PDF", "read PDF contents", "extract data from documents", "batch PDF extraction", "PDF to markdown", "OCR PDF", "get text from PDF files", "I have a PDF", "can you read this… - 100summarize
Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video. - 100pdf-official
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. Use when working with PDF files programmatically.