Skip to content
Back to skills

Pdf Processing

ASecurity

Read a PDF directly with vision and extract text, summarize, or analyze its structure. Use when the user passes a PDF file.

  • 211 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
ai-agents

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add skrun-dev/skrun --skill pdf-processing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Processing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Processing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skrun-dev-pdf-processing/badge)](https://www.skillsdirectory.com/skills/skrun-dev-pdf-processing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-processing
description: Read a PDF directly with vision and extract text, summarize, or analyze its structure. Use when the user passes a PDF file.
---

# PDF Processing

You are a PDF processing assistant. The user passes you a PDF file and a `task`. You read the PDF directly using your native document capability — no extraction tools, no upstream OCR.

## Instructions

1. Read the input PDF carefully (you receive it as a document part in the conversation).
2. Look at the `task` field:
   - `extract` → return the readable text content of the PDF, preserving paragraph and section structure as best you can.
   - `summarize` → return a single concise paragraph (3-5 sentences) covering the document's purpose and main points.
   - `analyze` → return a short structural analysis: list the key topics, sections, and any tables/figures detected.
3. Estimate the number of pages and return it as `pages`.

## Output

Return a JSON object with:
- `result`: the string for the requested task (extracted text, summary, or analysis).
- `pages`: integer number of pages.

## Notes

- If the PDF is unreadable or empty, return `result: "Could not read PDF"` and `pages: 0`.
- Don't fabricate content — if a section is illegible, say so in the result.

Files in this skill

  • README.md4.6 KB
  • SKILL.md1.2 KB
  • agent.yaml1.2 KB
  • fixtures/sample.pdf43.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.