pdf

pdf is a skill for Claude Code, Codex from polyuiislab/infiAgent. It costs 92 tokens per session (2,082 once invoked), scanned A, original, GPL-3.0.

A guide for working with PDF files, a document format that preserves page layout across devices. It covers reading, changing, creating, and reorganising PDF documents.

In plain words
What is it for?
Use it to read or extract content, merge or split files, rotate pages, add watermarks, fill forms, encrypt files, or extract images.
Why use it?
It removes the need to handle common PDF tasks manually, such as extracting tables, joining files, or filling forms.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to read or extract content, merge or split files, rotate pages, add watermarks, fill forms, encrypt files, or extract images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/polyuiislab/infiagent/pdf
About the project

infiAgent is an agent framework for building long-running AI agents from configuration files. It supports hierarchical or flat agent setups, persistent workspace memory, resumable execution, and on-demand use of Agent Skills. The catalogue entries provide skills for agents built with this framework.

polyuiislab/infiAgent · 1,188 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add polyuiislab/infiAgent --skill pdf
Clone the repo
git clone --depth 1 https://github.com/polyuiislab/infiAgent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/polyuiislab/infiagent/pdf/github.svg)](https://agentmods.dev/skills/polyuiislab/infiagent/pdf)
Your own site
<a href="https://agentmods.dev/skills/polyuiislab/infiagent/pdf"><img src="https://agentmods.dev/badge/skills/polyuiislab/infiagent/pdf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/polyuiislab/infiagent/pdf"><img src="https://agentmods.dev/badge/skills/polyuiislab/infiagent/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.02082
Opus 5.5 $0.00037 $0.00833
Sonnet 5.5 $0.00018 $0.00416
Haiku 4.5 $0.00009 $0.00208

Measured 1mo ago against content hash 9f78b8359fbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/check_bounding_boxes.py, scripts/check_fillable_fields.py, scripts/convert_pdf_to_images.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pdf/SKILL.md · 315 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 315 lines · 92 tokens per session scan A 9f78b8359fbd

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository polyuiislab/infiAgent (1,188 stars, last pushed 3mo ago), licensed GPL-3.0. It adds 92 tokens to every session and 2,082 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nano-pdf

Edit PDFs with natural-language instructions using the nano-pdf CLI. Modify text, fix typos, update titles, and make content changes to specific pages without manual editing.

graniet/kheish · 34 tokens

ocr-and-documents

Extract text from PDFs and scanned documents. Use webextract for remote URLs, pymupdf for local text-based PDFs, marker-pdf for OCR/scanned docs. For DOCX use python-docx, for PPTX see the powerpoint skill.

graniet/kheish · 49 tokens

pdf

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

pdf

Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.

shareAI-lab/learn-claude-code · 32 tokens

surfsense-documents

Make or change a Word document (.docx), a PDF, a PowerPoint deck (.pptx) or an Excel workbook (.xlsx) by writing a Python script that surfsenserenderdocument runs, optionally starting from a source's own Word or PowerPoint file. Load it whenever the user asks for one of these, or for a change to one you made.

MODSetter/SurfSense · 80 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens