pdf

pdf is a skill for Claude Code, Codex from sinaptik-ai/starpod. It costs 66 tokens per session (1,712 once invoked), scanned A, original, MIT.

A toolkit for working with PDF files, which are fixed-layout documents commonly used for forms, reports, and scanned records. It covers reading, extracting, converting, editing, and creating PDFs.

In plain words
What is it for?
Extracting text or tables, converting pages to images, merging or splitting files, rotating pages, filling forms, adding watermarks, OCR, and creating PDFs.
Why use it?
It provides established tools and scripts for handling text, tables, scans, pages, forms, and document security instead of treating every PDF task as a separate problem.

Skill for Claude CodeCodex

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

Good fit Extracting text or tables, converting pages to images, merging or splitting files, rotating pages, filling forms, adding watermarks, OCR, and creating PDFs.

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

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/sinaptik-ai/starpod/pdf/github.svg)](https://agentmods.dev/skills/sinaptik-ai/starpod/pdf)
Your own site
<a href="https://agentmods.dev/skills/sinaptik-ai/starpod/pdf"><img src="https://agentmods.dev/badge/skills/sinaptik-ai/starpod/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/sinaptik-ai/starpod/pdf"><img src="https://agentmods.dev/badge/skills/sinaptik-ai/starpod/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,712 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 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.00066 $0.01712
Opus 5.5 $0.00026 $0.00685
Sonnet 5.5 $0.00013 $0.00342
Haiku 4.5 $0.00007 $0.00171

Measured 1mo ago against content hash 8753faffa85d, 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 4 executable files (scripts/convert_to_images.py, scripts/extract_tables.py, scripts/fill_form.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.

crates/starpod/skills/pdf/SKILL.md · 222 lines

How it starts

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

PDF Processing

Quick Reference

Task Tool Script
Extract text pdfplumber page.extract_text()
Extract tables pdfplumber python scripts/extract_tables.py input.pdf
Merge PDFs pypdf python scripts/merge.py output.pdf a.pdf b.pdf
Convert to images poppler-utils python scripts/convert_to_images.py input.pdf
Fill form fields pypdf python scripts/fill_form.py form.pdf --list
Create new PDF reportlab SimpleDocTemplate or Canvas
OCR scanned PDF pytesseract + pdf2image image_to_string()
CLI text extraction poppler-utils pdftotext
CLI merge/split qpdf qpdf --empty --pages

For form filling workflow, see references/forms.md. For advanced libraries (pypdfium2, pdf-lib), see references/advanced.md.

Reading & Extracting

Text extraction

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    for page in pdf.pages:
        print(page.extract_text())

Table extraction → DataFrame

import pdfplumber, pandas as pd

with pdfplumber.open("document.pdf") as pdf:
    tables = []
    for page in pdf.pages:
        for table in page.extract_tables():
            if table:
                df = pd.DataFrame(table[1:], columns=table[0])
                tables.append(df)
    if tables:
        combined = pd.concat(tables, ignore_index=True)
        combined.to_excel("tables.xlsx", index=False)

Metadata

from pypdf import PdfReader
reader = PdfReader("document.pdf")
meta = reader.metadata
print(f"Title: {meta.title}, Author: {meta.author}, Pages: {len(reader.pages)}")

Merging & Splitting

Merge multiple PDFs

from pypdf import PdfWriter, PdfReader

writer = PdfWriter()
for path in ["a.pdf", "b.pdf", "c.pdf"]:
    for page in PdfReader(path).pages:
        writer.add_page(page)
with open("merged.pdf", "wb") as f:
    writer.write(f)

Split into individual pages

from pypdf import PdfReader, PdfWriter

for i, page in enumerate(PdfReader("input.pdf").pages):
    w = PdfWriter()
    w.add_page(page)
    with open(f"page_{i+1}.pdf", "wb") as f:
        w.write(f)

Read the full file on GitHub · 222 lines

Files

What ships with it

6 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 · 222 lines · 66 tokens per session scan A 8753faffa85d

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository sinaptik-ai/starpod (79 stars, last pushed 6mo ago), licensed MIT. It adds 66 tokens to every session and 1,712 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

papyrus-diagnose-compilation

Diagnose and fix LaTeX compilation failures. Use when the document does not compile, pdflatex/bibtex/biber/tectonic errors out, the PDF is stale, or the author reports a build/compile error in the Papyrus editor.

kirodotdev/KiroCrew · 60 tokens

pdf

Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.

MemTensor/memmy-agent · 56 tokens

pdfcraft

Headless PDF work with PdfCraft, provisioned on demand by pi-craft - combine, split, extract, rotate, delete and reorder pages, read text, render a page to png, audit faux redactions, script its 163 tools. Use for "merge these two PDFs", "extract pages 1 and 3 from this PDF", "rotate page 1 and drop page 2", "what…

BlackBeltTechnology/pi-agent-dashboard · 92 tokens

craft-data-visual

Turn data into a finished visual with ArtCraft apps - GridCraft workbook with a formula-error read-back, chart, VectorCraft/DesignCraft infographic, DeckCraft slide; verified and resumable. Use for "make a chart from this spreadsheet", "build an infographic from these numbers", "put the revenue chart on a slide".

BlackBeltTechnology/pi-agent-dashboard · 71 tokens

deck3d-from-pptx

Turn an existing .pptx into a styled deck3d 3D presentation: import, reference renders, then nine steps (fidelity … transitions), each authoring 2-4 variants, showing a contact sheet, asking the user, recording the pick, then build + compare. Use on "make a 3D deck from this pptx", "convert my PowerPoint to deck3d"…

BlackBeltTechnology/pi-agent-dashboard · 100 tokens

deckcraft

Headless presentations with DeckCraft (PPTX slides, layouts, shapes, text, tables), provisioned on demand by pi-craft - build a deck from commands, export to PDF, render slides to png. Use for "make a 3-slide presentation", "add a title slide to this pptx", "export this deck to pdf", "render slide 2 as an image".

BlackBeltTechnology/pi-agent-dashboard · 83 tokens