pdf-table-extractor

pdf-table-extractor is a skill for Claude Code, Codex from ghostship25/Skilllint. It costs 0 tokens per session (339 once invoked), scanned A, original, MIT.

A guide for extracting tables from PDF files into CSV or Markdown. PDF is a document format whose tables may span pages or contain merged cells, and scanned PDFs may require OCR.

In plain words
What is it for?
Use it when pulling tabular data from a PDF, including multi-page tables, and choose CSV or Markdown for the resulting table.
Why use it?
It provides a defined approach for preserving headers, joining continued tables, and identifying when image-based documents need OCR first.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ghostship25/skilllint/pdf-table-extractor
Any agent
npx skills add ghostship25/Skilllint --skill pdf-table-extractor
Clone the repo
git clone --depth 1 https://github.com/ghostship25/Skilllint

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-table-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghostship25/skilllint/pdf-table-extractor.svg)](https://agentmods.dev/skills/ghostship25/skilllint/pdf-table-extractor)
Your own site
<a href="https://agentmods.dev/skills/ghostship25/skilllint/pdf-table-extractor"><img src="https://agentmods.dev/badge/skills/ghostship25/skilllint/pdf-table-extractor.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 339 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00339
Opus 5 $0.00000 $0.00169
Sonnet 5 $0.00000 $0.00068
Haiku 4.5 $0.00000 $0.00034

Measured 3d ago against content hash 047d99e14c7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pdf-table-extractor 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 3d 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.

examples/good/pdf-table-extractor/SKILL.md · 37 lines

What it actually says

+++ name = "pdf-table-extractor" description = "Extracts tabular data from PDF files and converts it into clean CSV or Markdown tables, handling multi-page tables and merged cells." use-when = "Use this when the user uploads or references a .pdf file and asks to extract, convert, or analyze tables, or asks a question like 'pull the numbers out of this PDF' or 'turn this PDF table into a spreadsheet'." tags = ["pdf", "data-extraction", "tables", "csv"] +++

What this skill does

Parses PDF documents to locate tabular structures and outputs them as CSV or Markdown tables, preserving column headers and handling tables that span multiple pages.

Usage

  1. Identify whether the PDF is text-based or scanned (image-only).
  2. For text-based PDFs, extract table regions using column-alignment heuristics.
  3. For scanned PDFs, note that OCR is required first and flag this to the user.
  4. Merge tables that continue across page breaks when headers match.
  5. Output as CSV by default, or Markdown table syntax if the user is working in a document.

Example output

Quarter,Revenue,Expenses,Net Income
Q1 2026,1200000,900000,300000
Q2 2026,1350000,950000,400000

Limitations

  • Complex nested tables with merged header cells may need manual review.
  • Scanned/image-only PDFs require OCR before extraction is possible.
  • Very large PDFs (500+ pages) should be processed in batches to avoid excessive memory use.
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. 3d ago First seen · 37 lines · 0 tokens per session scan A 047d99e14c7f

Subscribe to this mod's changes

pdf-table-extractor is a skill published in the GitHub repository ghostship25/Skilllint (2 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 339 tokens. 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-31.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column layout and correct reading order. Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版, 扫描件结构化, 发票, 财报, 复杂 PDF, PDF转Markdown, 图表…

PaddlePaddle/PaddleOCR · 140 tokens

paper-reader

Use when user asks to "read paper", "analyze paper", "summarize paper", "读论文", "分析文献", "帮我看一下这篇paper", "论文笔记", or provides a PDF file that appears to be an academic paper. Specialized for CV/DL papers. Also supports Zotero integration: "读一下这篇论文 ...", "快速看一下这篇论文 ...", "批判性分析这篇论文 ...", "读一下 Zotero 里的 XXX", "批量读一下 Zotero…

huangkiki/dailypaper-skills · 157 tokens

citra

Skill "citra" from SylphxAI/pdf-reader-mcp, covering citra — pdf evidence for agents, install, or, tools and sdk.

SylphxAI/pdf-reader-mcp · 0 tokens

graphic-ebook

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a…

Varnan-Tech/opendirectory · 97 tokens

pdf-fill

Fill PDF form fields from a data dict.

hardness1020/awesome-agent-architecture · 12 tokens