AGENT SKILL
pdf-processing
Read a PDF directly with vision and extract text, summarize, or analyze its structure. Use when the user passes a PDF file.
- License 许可
- MIT
- 所属仓库
- skrun-dev/skrun
- 最近更新
- 2026-09-23
- Stars
- ★ 211
- Forks
- 17
01 前言 Front Matter
- 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.
02 资源文件 3
- 参考文档agent.yaml1.2 KB
- 资产文件fixtures/sample.pdf43.9 KB
- 参考文档README.md4.6 KB
03 SKILL.md 正文
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
- Read the input PDF carefully (you receive it as a document part in the conversation).
- Look at the
taskfield: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.
- 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"andpages: 0. - Don't fabricate content — if a section is illegible, say so in the result.
04 同仓库更多 Skills
audit-fixture-tool-error
E2E test fixture — calls a tool that always fails, used to verify tool_call_error events.
★ 211
script-deps-python-fixture
Python deps integration fixture for
★ 211
script-deps-none-fixture
No-manifest fixture for
★ 211
script-deps-node-fixture
Node deps integration fixture for
★ 211
pdf-processing
Extract PDF text, fill forms, merge files. Use when handling PDFs.
★ 211
persistent-skill
A skill that uses persistent context mode.
★ 211