pdf

pdf is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 34 tokens per session (1,152 once invoked), scanned A, original, MIT.

A toolkit for reading, editing, and producing PDF files, including scanned documents and tables that are only drawn on the page. It supports text and table extraction, page changes, forms, watermarks, and OCR, which turns scanned images of text into searchable text.

In plain words
What is it for?
Use it to extract content, process scanned PDFs, fill forms, reorder pages, add watermarks, or generate reports and invoices.
Why use it?
It helps when ordinary text extraction fails because a PDF is scanned or its tables have no usable structure. It also avoids rebuilding documents manually after merging, splitting, or filling them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to extract content, process scanned PDFs, fill forms, reorder pages, add watermarks, or generate reports and invoices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/pdf
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 nimadorostkar/Claude-Skills-collection --skill pdf
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

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/nimadorostkar/claude-skills-collection/pdf/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/pdf)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/pdf"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/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/nimadorostkar/claude-skills-collection/pdf"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,152 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00034 $0.01152
Opus 5 $0.00017 $0.00576
Sonnet 5 $0.00007 $0.00230
Haiku 4.5 $0.00003 $0.00115

Measured 8d ago against content hash 4eadd1356791, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d ago.

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/documents/pdf/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PDF

Purpose

Read, manipulate, and produce PDFs — including the scanned ones that contain no text at all and the ones whose tables are drawn rather than structured.

When to Use

  • Extracting text or tables from a PDF.
  • Merging, splitting, or rotating pages.
  • Filling a PDF form.
  • OCR on a scanned document.
  • Generating a PDF report or invoice.

Capabilities

  • Text extraction, with layout preservation where it matters.
  • Table extraction.
  • Page operations: merge, split, rotate, reorder, watermark.
  • Form field reading and filling.
  • OCR for scanned or image-only PDFs.
  • Generation with proper typography and pagination.

Inputs

  • The source PDF, and whether it contains real text or images of text.
  • The target: extracted data, a modified PDF, or a new one.

Outputs

  • Extracted text or structured tables.
  • A valid modified or generated PDF.

Workflow

  1. Determine whether it has text at all — Extract from the first page. If nothing comes out, it is a scan, and every text-based approach will silently return nothing. That is the single most important check.
  2. Choose the extractor by the task — Simple text extraction for prose; a layout-aware extractor for anything where column position carries meaning; a dedicated table extractor for tables.
  3. OCR only when necessary — It is slow and imperfect. If the PDF has a text layer, use it.
  4. Preserve what matters when editing — Merging PDFs drops bookmarks, form fields, and annotations unless you carry them across deliberately.
  5. Verify the output — Open it. A PDF that a library writes without error can still be structurally broken.

Best Practices

  • A PDF that returns an empty string from text extraction is not empty; it is a scan. Check for this before concluding the file is corrupt.
  • Tables in PDFs are usually drawn lines and positioned text, not structured tables. A general text extractor will interleave the columns into nonsense. Use a table-specific tool.
  • Text extraction order follows the PDF's internal content stream, not the visual reading order. A two-column layout will frequently extract as interleaved lines.
  • OCR quality depends overwhelmingly on the input image. Deskew and increase the contrast before OCR; it is worth more than any tuning of the OCR engine.
  • Do not use pypdf for text extraction quality — it is fine for page operations and poor at text. Use pdfplumber or PyMuPDF.
  • A generated PDF needs embedded fonts, or it will render differently on every machine that lacks them.

Read the full file on GitHub · 121 lines

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. 8d ago First seen · 121 lines · 34 tokens per session scan A 4eadd1356791

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (26 stars, last pushed 24d ago), licensed MIT. It adds 34 tokens to every session and 1,152 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

pdf

Summarize document text and identify its main claims, evidence, and unanswered questions.

Kyure-A/agent-skills-nix · 19 tokens

LaTeX工具

A tool for creating, compiling, and checking mathematical modelling papers written in LaTeX, a document system often used for technical writing.

XiaoMaColtAI/math-modeling-skill · 46 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

XiaoMaColtAI/math-modeling-skill · 92 tokens

tutor-setup

Transforms knowledge sources into an Obsidian StudyVault. Two modes: (1) Document Mode — PDF/text/web sources → study notes with practice questions. (2) Codebase Mode — source code project → onboarding vault for new developers. Mode is auto-detected based on project markers in CWD.

bevibing/tutor-skills · 66 tokens

commodities-outlook

Produce institutional-grade commodity outlook reports with supply-demand analysis, price forecasts, and trade recommendations, formatted as PDF, DOCX, or PPTX documents. Triggered when users request commodity market reports, ask for trade ideas on energy, metals, or agricultural commodities, or mention keywords like…

serejaris/kimi-skills · 71 tokens

equity-research-report-cn

A tool for creating institutional-style investment research reports about stocks, bonds, sectors, funds, derivatives, or quantitative strategies. It supports PDF, DOCX, and PPTX output.

serejaris/kimi-skills · 110 tokens