pdf

pdf is a skill for Claude Code from andregusman-raiz/a-gusman-claude. It costs 43 tokens per session (4,420 once invoked), scanned A, original, MIT.

A tool for creating, editing, analysing, combining, splitting, and filling PDF files. PDFs are fixed-layout documents commonly used for forms, reports, and files meant to look the same on different devices.

In plain words
What is it for?
Use it to extract text and tables, merge or split documents, rotate pages, fill forms, add watermarks, protect files, and read scanned pages with OCR.
Why use it?
It handles common PDF tasks without requiring manual page-by-page editing or copying.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Good fit Use it to extract text and tables, merge or split documents, rotate pages, fill forms, add watermarks, protect files, and read scanned pages with OCR.

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

Made for: Claude Code.

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/andregusman-raiz/a-gusman-claude/pdf/github.svg)](https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/pdf)
Your own site
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/pdf"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/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/andregusman-raiz/a-gusman-claude/pdf"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,420 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00043 $0.04420
Opus 5 $0.00022 $0.02210
Sonnet 5 $0.00009 $0.00884
Haiku 4.5 $0.00004 $0.00442

Measured 8d ago against content hash 207449404f95, 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.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/professional_report.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 · 436 lines

How it starts

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

PDF Skill

Manipulacao completa de PDFs: criar, editar, merge, split, extrair texto/tabelas, OCR, watermark, protecao.

Quick Reference

Task Best Tool Install
Merge/split/rotate pypdf pip install pypdf
Extract text/tables pdfplumber pip install pdfplumber
Create PDFs reportlab pip install reportlab
CLI text extract pdftotext brew install poppler
CLI manipulate qpdf brew install qpdf
OCR scanned PDFs pytesseract pip install pytesseract + brew install tesseract
Fill forms pypdf pip install pypdf

Python Libraries

pypdf — Merge, Split, Rotate, Encrypt

from pypdf import PdfReader, PdfWriter, PdfMerger

# Read
reader = PdfReader("input.pdf")
print(f"Pages: {len(reader.pages)}")
text = reader.pages[0].extract_text()

# Merge multiple PDFs
merger = PdfMerger()
for pdf in ["a.pdf", "b.pdf", "c.pdf"]:
    merger.append(pdf)
merger.write("merged.pdf")
merger.close()

# Split — extract pages 2-5
writer = PdfWriter()
for i in range(1, 5):  # 0-indexed
    writer.add_page(reader.pages[i])
writer.write("pages_2_to_5.pdf")

# Rotate page
writer = PdfWriter()
for page in reader.pages:
    page.rotate(90)  # 90, 180, 270
    writer.add_page(page)
writer.write("rotated.pdf")

# Encrypt with password
writer = PdfWriter()
writer.append_pages_from_reader(reader)
writer.encrypt("user_password", "owner_password")
writer.write("encrypted.pdf")

# Decrypt
reader = PdfReader("encrypted.pdf")
reader.decrypt("password")

# Fill form fields
reader = PdfReader("form.pdf")
writer = PdfWriter()
writer.append_pages_from_reader(reader)
writer.update_page_form_field_values(
    writer.pages[0],
    {"field_name": "value", "another_field": "value2"}
)
writer.write("filled_form.pdf")

pdfplumber — Extract Text and Tables

import pdfplumber

with pdfplumber.open("input.pdf") as pdf:
    # Extract text from all pages
    for page in pdf.pages:
        text = page.extract_text()
        print(text)

    # Extract tables
    for page in pdf.pages:
        tables = page.extract_tables()
        for table in tables:
            for row in table:
                print(row)

    # Extract table as pandas DataFrame
    import pandas as pd
    table = pdf.pages[0].extract_tables()[0]
    df = pd.DataFrame(table[1:], columns=table[0])

Read the full file on GitHub · 436 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 436 lines · 43 tokens per session scan A 207449404f95

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (19 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 4,420 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-reading

Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and…

Ertinox7711/SGRR-AGI-V2 · 115 tokens

pdf-titre

Change le titre d'un PDF (métadonnées /Title et XMP dc:title) par update incrémental — AUCUN octet existant n'est réécrit, donc rien ne casse. Backup automatique + vérification (re-parcours xref + pdftotext). Usage : node pdf-titre.mjs "Nouveau titre".

Ertinox7711/SGRR-AGI-V2 · 82 tokens

study-guide-gen

This skill converts course materials (PDF, PPTX) into structured Markdown study guides using markitdown.

LouisLau-art/multi-agent-skills-catalog · 0 tokens

summarize

Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).

sangrokjung/claude-forge · 32 tokens

legal-discovery

Audit e-discovery and litigation document review systems -- data collection pipelines (PST, MBOX, SharePoint, Slack), document processing (OCR via Tesseract/ABBYY, metadata extraction, deduplication), Technology Assisted Review (TAR 1.0/2.0/CAL with recall/precision tracking).

tinh2/skills-hub-registry · 70 tokens

lease-abstraction

Extract a structured abstract from a commercial lease PDF — tenant/landlord identification, premises description + RSF/USF, lease term + commencement/expiration, renewal options (count, notice windows, fair-market rent reset), base rent schedule + escalations (fixed %, CPI-linked.

tinh2/skills-hub-registry · 61 tokens