Agent Skills
› skrun-dev/skrun
› pdf-processing
pdf-processing
GitHub提供PDF文档处理功能,支持直接读取PDF并执行提取文本、生成摘要或结构分析任务。用户传入文件及具体指令后,助手解析内容并返回JSON格式结果,包含处理后的文本内容及页数估计,确保内容真实不虚构。
Trigger Scenarios
用户需要提取PDF中的文字内容
用户需要对PDF文档进行快速总结
用户希望分析PDF的结构和关键章节
Install
npx skills add skrun-dev/skrun --skill pdf-processing -g -y
SKILL.md
Frontmatter
{
"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
- 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.
Version History
- 614fe6f Current 2026-07-24 11:32


