pdf

pdf is a skill for Claude Code, Codex from ginlix-ai/LangAlpha. It costs 61 tokens per session (8,380 once invoked), scanned C, a copy of pdf, Apache-2.0.

A guide for working with PDF files, which are documents designed to keep their layout when viewed or printed.

In plain words
What is it for?
It helps extract text and tables, combine or split files, rotate pages, add watermarks, create PDFs, fill forms, encrypt files, and extract images.
Why use it?
It removes the need to assemble separate tools and procedures for common PDF tasks such as reading, editing, or reorganising documents.

Skill for Claude CodeCodex

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

Good fit It helps extract text and tables, combine or split files, rotate pages, add watermarks, create PDFs, fill forms, encrypt files, and extract images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ginlix-ai/langalpha/pdf
About the project

LangAlpha is an agent workspace for researching financial markets and supporting investment decisions through persistent research, news analysis, and parallel subagents. It is for investors who want to develop and update trading theses over time, including generating long-short pair-trade ideas. The catalogue entries provide the skills, instructions, MCP servers, and plugin that make up its agent workflow.

ginlix-ai/LangAlpha · 1,826 stars · on GitHub · langalpha.ai

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 ginlix-ai/LangAlpha --skill pdf
Clone the repo
git clone --depth 1 https://github.com/ginlix-ai/LangAlpha

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/ginlix-ai/langalpha/pdf/github.svg)](https://agentmods.dev/skills/ginlix-ai/langalpha/pdf)
Your own site
<a href="https://agentmods.dev/skills/ginlix-ai/langalpha/pdf"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/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/ginlix-ai/langalpha/pdf"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,380 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00061 $0.08380
Opus 5.5 $0.00024 $0.03352
Sonnet 5.5 $0.00012 $0.01676
Haiku 4.5 $0.00006 $0.00838

Measured 28d ago against content hash a8d7f24f256d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

pdf scanned grade C with 2 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 28d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/extract.py, scripts/forms.py, scripts/info.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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$PROFILE"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS -A "LangAlpha [email protected]" -o <task>/filing.htm "$URL" # EDGAR rejects requests without a User-Agent
Origin

This is a copy

100% identical to pdf — 461 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/langalpha_deliverables/skills/pdf/SKILL.md · 296 lines

How it starts

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

PDF

A PDF is a fixed page. Everything in it, text, rules, a table's alignment, a form field's box, is placed at a coordinate and stays there. That is the whole reason to reach for the format and the whole reason it is awkward: a PDF is right when the layout is part of the message (a filled form, a signed-looking statement, a tear sheet that must print identically everywhere) and wrong when the user will want to edit the content later.

Two jobs live here and they barely overlap. Reading a PDF the user hands you: find out what it is, pull the text and tables, look at the pages that matter. Producing one: fill an existing form, assemble pages, or draw a new document. Both end the same way, by rendering to PNG and looking, because nothing else in this toolchain can see the page.

User preferences override these defaults. A template the user supplies, a house font, a filename convention, a specific page size: those outrank every rule here. The rules below are for when nothing has been specified.

Decide: Which Output?

Want Use
Read, search or summarise a PDF the user supplied this skill: info.py, then extract.py, then render.py
Fill in a fillable form the user supplied this skill: forms.py inspect, fill, then render and look
Merge, split, rotate or password-protect existing PDFs this skill: pages.py
A fixed-layout artifact built from data: a tear sheet, a filled form, a certificate, a cover page this skill: reportlab, below
A long prose document the user may edit or that must match a house Word template build the docx, then soffice --convert-to pdf (below). The docx is the deliverable; the PDF is a rendering of it
A research note with charts the user will read on screen and may print html-report, then the browser's print to PDF
A model the user will keep working in xlsx
A dataset for another program .csv, not a PDF

Two ways to end up with a bad PDF: drawing a twelve-page report coordinate by coordinate in reportlab when a docx would have taken ten lines, and shipping an html-report when the user asked for something to sign and return. Pick on whether the layout is the point.

Read the full file on GitHub · 296 lines

Files

What ships with it

5 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. 28d ago Changed a8d7f24f256d
  2. 1mo ago Changed · -19 lines · -31 tokens per session scan A → C 8b08f6b638c7
  3. 1mo ago First seen · 315 lines · 92 tokens per session scan A e898e6302565

Subscribe to this mod's changes

pdf is a skill published in the GitHub repository ginlix-ai/LangAlpha (1,826 stars, last pushed today), licensed Apache-2.0. It adds 61 tokens to every session and 8,380 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). It is 100% identical to pdf, differing in 461 lines, and is treated as a copy.

Related

Other skills, from other repositories

pdf

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Chen-zexi/open-ptc-agent · 50 tokens

report-generator

Generate professional HTML/PDF investment reports with interactive visualizations.

yennanliu/InvestSkill · 11 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

Chen-zexi/open-ptc-agent · 96 tokens

pptx

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.

Chen-zexi/open-ptc-agent · 62 tokens

docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4)…

Chen-zexi/open-ptc-agent · 77 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens