Skip to content

PDF toolkit (official)

Read, extract, split, merge, compose, and fill PDF files with guided scripts

Stars
13,743
Licence
MIT
Files
15 files

What it does

Once installed, the agent follows a structured playbook for any PDF task: it first checks the file (page count, encryption, form fields, whether it is a scan), then extracts text or tables, combines, splits or rotates pages, builds new PDFs such as reports or invoices, or fills in forms, and validates the result. It ships Python scripts for each step so the work is repeatable rather than improvised.

Great for

  • People who regularly handle PDFs such as invoices, forms, reports or scanned documents
  • Developers building document-processing workflows who want tested helper scripts
  • Users who need to fill non-fillable forms or extract tables from PDFs

Skip it if

  • Simple one-off reading of a PDF where the agent's built-in file reading is enough (the toolkit adds setup overhead)
  • Legal or signature-critical work: the scripts refuse signature fields and do not create certified signatures
  • Sensitive documents sent to unknown hosts, since some optional tools and OCR may run locally with the document contents but setup commands install third-party software

Try asking

  • “Extract all tables from this quarterly report PDF into CSV files”
  • “Fill in the applicant fields on this scanned form using the values in my spreadsheet”
  • “Combine these five PDFs into one and remove the metadata”
  • “Turn these notes into a formatted PDF certificate with a custom CJK-capable font”
Step-by-step guide: how to use PDF toolkit (official)Install, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 15 original files, the MIT licence and an attribution note.

    pdf-official.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip pdf-official.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip pdf-official.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask the agent to run the survey step first so it can route the task correctly
  • Keep copies of original PDFs before asking for encryption, flattening or overwrites, since these change files in place
  • Review the dry-run or preview output for form filling before writing the final file

What's inside

  • compose.md
  • extract.md
  • interactive.md
  • README.md
  • scripts/apply_values.py
  • scripts/carve.py
  • scripts/combine.py
  • scripts/overlay_text.py
  • scripts/probe_fields.py
  • scripts/recognize.py
  • scripts/render_pages.py
  • scripts/reorient.py
  • scripts/sanity_check.py
  • scripts/survey.py
  • SKILL.md

Redistributed unmodified from XiaomiMiMo/MiMo-Code under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.