pdf

pdf is a skill for Claude Code, Codex from GTMify/aigtm. It costs 69 tokens per session (1,261 once invoked), scanned A, original, MIT.

A toolset for reading, changing, and creating PDF files, including scanned documents and forms.

In plain words
What is it for?
Extracting text or tables, merging or splitting files, adding watermarks, filling forms, protecting PDFs, reading scanned pages with OCR, and creating new PDFs.
Why use it?
It handles common PDF work without requiring the developer to find separate tools for text, tables, page changes, security, and scanning.

Skill for Claude CodeCodex

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

Good fit Extracting text or tables, merging or splitting files, adding watermarks, filling forms, protecting PDFs, reading scanned pages with OCR, and creating new PDFs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gtmify/aigtm/pdf
View source ↗ GTMify/aigtm
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 GTMify/aigtm --skill pdf
Clone the repo
git clone --depth 1 https://github.com/GTMify/aigtm

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/gtmify/aigtm/pdf/github.svg)](https://agentmods.dev/skills/gtmify/aigtm/pdf)
Your own site
<a href="https://agentmods.dev/skills/gtmify/aigtm/pdf"><img src="https://agentmods.dev/badge/skills/gtmify/aigtm/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/gtmify/aigtm/pdf"><img src="https://agentmods.dev/badge/skills/gtmify/aigtm/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,261 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.00069 $0.01261
Opus 5.5 $0.00028 $0.00504
Sonnet 5.5 $0.00014 $0.00252
Haiku 4.5 $0.00007 $0.00126

Measured 1mo ago against content hash 2c111bbd6483, 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.

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 · 128 lines

How it starts

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

PDF Skill

Your Role

You are a PDF operator. You read, extract from, merge, split, watermark, encrypt, and create PDF files using Python libraries. You pick the right tool for the job: pypdf for structural operations (merge, split, encrypt), pdfplumber for text and table extraction, reportlab or weasyprint for creating new PDFs from scratch, and ocrmypdf for OCR on scanned documents.

When to use this skill

Trigger when:

  • The user references a .pdf file by path or name
  • The user wants to extract text or tables from a PDF
  • The user wants to combine, merge, or split PDFs
  • The user wants to rotate pages, add watermarks, or extract images
  • The user wants to create a new PDF (from Markdown, HTML, or programmatically)
  • The user wants to fill a PDF form
  • The user wants to encrypt, decrypt, or password-protect a PDF
  • The user wants to OCR a scanned PDF

Library map

Task Library
Merge / split / rotate / encrypt pypdf
Extract text pdfplumber or pypdf
Extract tables pdfplumber (better)
Create PDF from Markdown / HTML weasyprint or markdown-pdf
Create PDF programmatically reportlab
OCR scanned PDFs ocrmypdf (system binary, install via brew install ocrmypdf)
Fill PDF forms pypdf (basic forms) or pdfrw

Install: pip install pypdf pdfplumber reportlab weasyprint. OCR: brew install ocrmypdf.

Process

Step 1: Inspect First

Before processing a PDF, confirm:

  • Is it text-based or scanned? Open and check whether pdfplumber returns text. Empty text = scanned = needs OCR first.
  • How many pages? Multi-hundred-page PDFs need streaming, not full-load.
  • Is it encrypted? Attempt to open; if it asks for a password, get it from the user.

Step 2: Common Patterns

Extract all text:

import pdfplumber
with pdfplumber.open("input.pdf") as pdf:
    text = "\n\n".join(page.extract_text() or "" for page in pdf.pages)

Extract tables:

import pdfplumber
with pdfplumber.open("input.pdf") as pdf:
    for i, page in enumerate(pdf.pages):
        for j, table in enumerate(page.extract_tables()):
            print(f"Page {i+1} Table {j+1}: {table}")

Read the full file on GitHub · 128 lines

Files

What ships with it

2 files 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. 1mo ago First seen · 128 lines · 69 tokens per session scan A 2c111bbd6483

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository GTMify/aigtm (25 stars, last pushed 23d ago), licensed MIT. It adds 69 tokens to every session and 1,261 once invoked, about $0.0003 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

pdf

PDF files: create, read, merge, fill, OCR, edit text.

NousResearch/hermes-agent · 18 tokens

wowerpoint

Turn one document into a kawaii NotebookLM slide deck. Use for "wowerpoint this", "make a deck about ", "turn this report into slides", or any request to render a single document as shareable narrative slides.

thedotmack/claude-mem · 53 tokens

save-as-pdf

Reformat the current HTML design into a paginated, paper-ready PDF. The "Instant" export already gives the user a PDF at the design's native pixel size — this path is for when they want real pages.

asgeirtj/system_prompts_leaks · 9 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…

asgeirtj/system_prompts_leaks · 92 tokens

docs-artifact

Use when creating, editing, or reviewing a document for the user (Word, Google Docs, or a document delivered as PDF), or when the task calls for a standalone written deliverable such as a memo, report, proposal, or brief. Also use to answer questions that require inspecting an existing document; not for a short chat…

asgeirtj/system_prompts_leaks · 84 tokens

form-filling

Fill out online forms (Google Forms, Typeform and similar) or PDF, Word and DocuSign forms; prepare a reviewable draft and get approval before submitting or sending.

asgeirtj/system_prompts_leaks · 40 tokens