Agent skill

PDF Processing

by skrun-dev in skrun-dev/skrun

Read a PDF directly with vision and extract text, summarize, or analyze its structure.

MITAuto-check passedDocuments & Office

Install PDF Processing

skills CLI
$ npx skills add skrun-dev/skrun --skill pdf-processing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install skrun-dev/skrun pdf-processing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/skrun-dev/skrun.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/pdf-processing .claude/skills/pdf-processing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pdf-processing
GitHub stars
210
Used in
1 other repo
Token cost
~316 tokens
SKILL.md length
169 words
Files
4
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Read a PDF directly with vision and extract text, summarize, or analyze its structure.

  • Works in 3 steps: Read the input PDF carefully (you… → Look at the task field → Estimate the number of pages and return…
  • The user passes a PDF file
  • SKILL.md covers Instructions, Output and Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

PDF Processing is an agent skill from skrun-dev/skrun. Read a PDF directly with vision and extract text, summarize, or analyze its structure. Use when the user passes a PDF file.

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `README.md` and `agent.yaml`).

It sits in Documents & Office, covering PDF. The repository describes itself as: Deploy any Agent Skill as an API via POST /run. The open-source multi-model alternative to Claude Managed Agents, Microsoft Foundry & Mistral/Koyeb — works with any LLM. The licence is MIT.

When your agent uses it

  • The user passes a PDF file
  • Tasks that involve PDF

Example prompts

  • “/pdf-processing”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the input PDF carefully (you receive it as a document part in the conversation).
  2. Look at the task field
  3. Estimate the number of pages and return it as pages.

What it can do on your machine

Read from SKILL.md and the folder at commit b1d963b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PDF Processing loads about 316 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 169 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~316

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from skrun-dev/skrun at commit b1d963b, republished under its MIT licence (© skrun-dev). 169 words, ~316 tokens.

Download SKILL.mdSave it as .claude/skills/pdf-processing/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
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.

© skrun-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in agents/pdf-processing of skrun-dev/skrun.

  • SKILL.md
  • README.md
  • agent.yaml
  • fixtures/sample.pdf

Open the folder on GitHubat commit b1d963b

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in skrun-dev/skrun, which our catalogue first saw on October 7, 2026.

Compare with similar skills

PDF Processing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PDF Processing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PDF Processing this skillskrun-dev/skrun2101 repos~316Automated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
GenOffice Document CLIgenspark-ai/genoffice8.8k—~19kAutomated safety check: PassApache-2.0
Harness Book Best Practicewquguru/harness-books3.2k—~4.1kAutomated safety check: PassNone
Bookforge Korean Ebook PDF Makergongnyang/bookforge3141 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    8.8k GitHub stars~19k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Harness Book Best Practice

    wquguru/harness-books

    Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.

    3.2k GitHub stars~4.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.

    314 GitHub starsUsed in 1 repo~1.7k tokens
    Documents & OfficeAuto-check passed
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed

More from skrun-dev/skrun

All 14 skills in this repo
  • Adr Writer

    skrun-dev/skrun

    Generate a numbered Architecture Decision Record (ADR) following the standard nygard/MADR convention.

    210 GitHub stars~861 tokensUpdated 14 days ago
    Auto-check passed
  • Changelog Generator

    skrun-dev/skrun

    Generate a polished CHANGELOG.md and release-notes.md from a local git repository (or a captured .git-log.txt dump).

    210 GitHub stars~770 tokensUpdated 14 days ago
    Auto-check passed
  • Turn a CSV of operational data (sales, usage, signups, support tickets) into a multi-page styled PDF executive report with narrative + matplotlib charts.

    210 GitHub stars~1.1k tokensUpdated 14 days ago
    Auto-check passed
  • Turn a folder of Markdown notes (Obsidian vault, Notion export, plain repo docs) into a navigable static HTML knowledge base bundled as a single .zip file.

    210 GitHub stars~1.4k tokensUpdated 14 days ago
    Auto-check passed
  • Listen to a meeting recording and extract structured action items, decisions, and open questions.

    210 GitHub stars~1.3k tokensUpdated 14 days ago
    Auto-check passed
  • Semgrep Rule Creator

    skrun-dev/skrun

    Generate a complete Semgrep rule bundle (rule.yml + tests.md + README.md) from a CVE description and a bad-code example.

    210 GitHub stars~1.3k tokensUpdated 14 days ago
    Auto-check passed

Questions about PDF Processing

What does PDF Processing do?

Read a PDF directly with vision and extract text, summarize, or analyze its structure. PDF Processing is an agent skill from skrun-dev/skrun. Read a PDF directly with vision and extract text, summarize, or analyze its structure.

When should I use PDF Processing?

PDF Processing fits situations like: the user passes a PDF file; tasks that involve PDF.

How do I install PDF Processing in Claude Code?

Run `npx skills add skrun-dev/skrun --skill pdf-processing -a claude-code`. Or copy the skill folder (agents/pdf-processing in skrun-dev/skrun) into .claude/skills/pdf-processing in your project. Claude Code loads it when a task matches its description.

How do I install PDF Processing in Codex?

Run `npx skills add skrun-dev/skrun --skill pdf-processing -a codex`. Or copy the skill folder (agents/pdf-processing in skrun-dev/skrun) into .agents/skills/pdf-processing in your project. Codex loads it when a task matches its description.

Can I use PDF Processing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add skrun-dev/skrun --skill pdf-processing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-processing, .gemini/skills/pdf-processing, .github/skills/pdf-processing and .opencode/skills/pdf-processing in your project.

What does PDF Processing need to run?

SKILL.md names no scripts, command-line tools or credentials: PDF Processing is instructions for the agent only.

Does PDF Processing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is PDF Processing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PDF Processing use?

PDF Processing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PDF Processing use?

About 316 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PDF Processing?

Skills that share tags, products or a category with PDF Processing: Markitdown (ImCa0/just-laws, 781 stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), GenOffice Document CLI (genspark-ai/genoffice, 8.8k stars) and Harness Book Best Practice (wquguru/harness-books, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PDF Processing?

skrun-dev (a GitHub organization) maintains it in skrun-dev/skrun, which has 210 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 22, 2026.

Source: skrun-dev/skrun on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.