pdf-table-to-excel

pdf-table-to-excel is a skill for Claude Code, Codex from kujiangmudao/tablepack. It costs 132 tokens per session (1,512 once invoked), scanned A, original, MIT.

A workflow for turning tables in PDF files into Excel workbooks, with one sheet per table and supporting images and quality notes. It uses MinerU, a tool that extracts content from PDFs, and needs an image-reading model to check the results.

In plain words
What is it for?
Use it to convert PDF tables into Excel packages, inspect the extracted sheets against the original tables, and record quality-control findings.
Why use it?
It reduces the risk of manually retyping tables or silently changing their data during conversion. Original table images and review notes make errors easier to find.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to convert PDF tables into Excel packages, inspect the extracted sheets against the original tables, and record quality-control findings.

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

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-to-excel

README.md
[![agentmods](https://agentmods.dev/badge/skills/kujiangmudao/tablepack/pdf-table-to-excel/github.svg)](https://agentmods.dev/skills/kujiangmudao/tablepack/pdf-table-to-excel)
Your own site
<a href="https://agentmods.dev/skills/kujiangmudao/tablepack/pdf-table-to-excel"><img src="https://agentmods.dev/badge/skills/kujiangmudao/tablepack/pdf-table-to-excel/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-table-to-excel

Your own site · 80×15
<a href="https://agentmods.dev/skills/kujiangmudao/tablepack/pdf-table-to-excel"><img src="https://agentmods.dev/badge/skills/kujiangmudao/tablepack/pdf-table-to-excel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 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.00132 $0.01512
Opus 5.5 $0.00053 $0.00605
Sonnet 5.5 $0.00026 $0.00302
Haiku 4.5 $0.00013 $0.00151

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

Security

Grade A, and why

pdf-table-to-excel 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 27d 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-table-to-excel/SKILL.md · 162 lines

How it starts

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

TablePack — PDF tables → Excel packages

Read root AGENTS.md first. This skill is the executable checklist.
Product name TablePack; CLI module remains python -m pdf_excel.

Who is the user?

Path Action before convert
A — already has MinerU Confirm mineru on PATH or config.yaml → mineru_bin. Do not require the user to learn MinerU CLI — only run TablePack.
B — no MinerU Windows: scripts/install_mineru.ps1 · Unix: scripts/install_mineru.sh. Activate .venv-mineru. See docs/INSTALL.md. Still no MinerU tutorial — only python -m pdf_excel.

Product promise: install MinerU (or Path B), put PDFs in pdf/, one command packages Excel + 原始表格/ + notes.

Model requirement (critical)

Stage Needs vision? Why
Run python -m pdf_excel No CLI + MinerU HTML path
QC / fix sheets Yes — multimodal Open 原始表格/*.jpg and compare to Excel

If the model cannot see images:

  1. Still run packaging.
  2. Do not claim “已严格质检”.
  3. Ask for a vision-capable model or human review for QC.

Environment (portable)

Prefer config.yaml / env / CLI — do not hardcode another machine’s paths.

Item Default
Entry python -m pdf_excel or python convert_pipeline.py
PDFs pdf/
Output output/
MinerU cache work/mineru_raw/
MinerU config.yaml / MINERU_BIN / PATH / .venv-mineru
Output names output_language in config: zh (default) → 原始表格/, 图片/, 转换说明.md; en → table_crops/, images/, conversion_notes.md

Recommended MinerU flags (also set in config):

mineru -p <pdf> -o work/mineru_raw -b pipeline -m auto -l ch -t true -f false

CPU-only → pipeline. Higher-accuracy VLM/hybrid only if installed and requested; QC still mandatory.

Required package layout

output/<PDF_STEM>/
  ├── <PDF_STEM>.xlsx
  ├── 原始表格/          # required screenshots
  ├── 图片/
  └── 转换说明.md | 问题说明.md

Read the full file on GitHub · 162 lines

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. 27d ago Changed · +3 lines 5781826d67ef
  2. 1mo ago First seen · 159 lines · 132 tokens per session scan A 4df29b28004a

Subscribe to this mod's changes

pdf-table-to-excel is a skill published in the GitHub repository kujiangmudao/tablepack (6 stars, last pushed 5d ago), licensed MIT. It adds 132 tokens to every session and 1,512 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

document-processing

Use when the deliverable is a document's bytes or its literal content — text/tables out of PDFs, AcroForm fill and flatten, page merge/split, PDF/DOCX from templates, OCR of image-only scans. NOT schema-typed fields pulled from text (that is structured-extraction), NOT signature routing (e-signature) or spreadsheet…

ericrisco/rsc-harness · 84 tokens

document-processing-expert

Read, generate and modify office documents and PDFs from code: PDF extraction and forms, Word documents, Excel workbooks and PowerPoint decks. Use when the user mentions PDF, DOCX, XLSX, PPTX, Word, Excel, PowerPoint or spreadsheets, wants data extracted from documents, needs a report or invoice generated as a file…

personamanagmentlayer/pcl · 102 tokens

deepread-pii

Redact PII from documents before sharing or sending to LLMs. 14 PII types (names, SSN, credit cards, medical records, etc.) detected with context-aware AI — not regex. Knows patient vs. doctor, personal vs. institutional. Black bar redaction on PDFs, scanned images, and text files. Free tier: 2,000 pages/month.

deepread-tech/skills · 0 tokens

deepread-form-fill

AI-powered PDF form filling via DeepRead. Upload any PDF form + your data as JSON — AI detects fields, maps data semantically, fills the form with quality checks, returns a completed PDF. Works with scanned, non-editable forms — no AcroForm required.

deepread-tech/skills · 60 tokens

deepread-setup

Get started with DeepRead. Automatically obtains an API key via OAuth device authorization flow, then walks through OCR, structured extraction, form filling, PII redaction, and blueprint optimization.

deepread-tech/skills · 42 tokens

deepread-bank-statements

Extract structured data from bank statements — account holder, period, opening/closing balances, and every transaction as typed JSON. Works on PDF and scanned statements from any bank. Per-field confidence flags. PII redaction for compliant sharing. Free 2,000 pages/month.

deepread-tech/skills · 61 tokens