Skip to content
Skillpedia
PDF, Word & slides12k · #11573

pdf

What it does

This skill lets the agent do many common jobs with PDF files. It is for anyone who needs PDFs read, made or changed.

When to use it

  • ✓When you want text or tables pulled out of a PDF file.
  • ✓When you want several PDFs combined into one, or a file split into parts.
  • ✓When you need a fillable PDF form completed or a watermark added to the pages.

Skill link

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/pdf/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/pdf/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Merge these three PDF reports into one file in the order I list them.”

5 new skills a week. 1 minute to read.

How it works

The agent inspects the PDF first, then makes a new output file with the change. It keeps your original file unchanged unless you ask otherwise.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

PDF documents

Use this Skill for PDF extraction, generation, page operations, forms, metadata, attachments, encryption, and visual review.

Start here

Call skill_view for this Skill first and use the returned baseDirectory for all bundled helpers under <baseDirectory>/scripts.

Default to a new output file. Do not overwrite or remove source PDFs unless the user explicitly asks. Inspect an input before transforming it, and preserve page order, orientation, dimensions, annotations, and form intent unless the request says otherwise.

Common dependencies:

python3 -m pip install pypdf reportlab pdfplumber

Page rendering uses pypdfium2 when available and can fall back to Poppler's pdftoppm. Check dependencies first; do not install them silently.

Helpers

  • pdf_read.py: extract text and document information.
  • pdf_page_image.py: render selected pages to images.
  • pdf_create.py: create a PDF from structured input.
  • pdf_merge.py and pdf_split.py: page composition.
  • pdf_fill_form.py, pdf_form_layout.py, and pdf_make_form.py: AcroForm inspection, filling, and creation.
  • pdf_watermark.py and pdf_stamp.py: page overlays.
  • pdf_meta.py: metadata and attachment operations.
  • pdf_secure.py: encrypt or decrypt using password files.

Run helpers with terminal_exec, using python3 as the command and an argument array. Use --help to inspect exact arguments.

python3 <baseDirectory>/scripts/pdf_read.py input.pdf --json
python3 <baseDirectory>/scripts/pdf_page_image.py input.pdf -o rendered --pages 1-3
python3 <baseDirectory>/scripts/pdf_merge.py first.pdf second.pdf -o merged.pdf
python3 <baseDirectory>/scripts/pdf_split.py input.pdf -o pages

For form work, read references/forms.md through skill_view before editing.

Workflow

  1. Inspect text, metadata, page count, page sizes, encryption state, and form fields as relevant.
  2. Perform the smallest requested transformation into a new output.
  3. Re-read the output to verify page count, text, metadata, attachments, or field values.
  4. Render every changed page, or a representative sample for a large generated document, and inspect it with view_image. Check crop boxes, rotation, clipping, font rendering, overlays, and form appearance.
  5. Return the absolute output path and list any validation limitations.

Use OCR only when normal text extraction is empty or clearly incomplete. Route scanned documents through the ocr-and-documents Skill.

Passwords and sensitive PDFs

  • Do not put PDF passwords in chat, logs, or command arguments.
  • Store a supplied password in a temporary file with restrictive permissions and pass --password-file, --user-password-file, or --owner-password-file. Remove that temporary file after the operation.
  • PDF permission flags are advisory; do not describe them as strong access control.
  • Do not send sensitive PDF contents to external services without the user's authorization.
FAQ

Will it overwrite my original PDF?

No. It writes a new file by default and does not remove the source unless you ask.

Can it handle password-protected PDFs?

Yes. The skill includes encrypting and decrypting PDFs using password files.

Can it fill in forms?

Yes. It can inspect, fill and create fillable form fields, which are the standard form fields in PDFs.

Details

Original description by the author

Read, create, merge, split, fill, watermark, stamp, secure, inspect, render, and visually verify PDF files, including AcroForm workflows.

repo: EKKOLearnAI/ekko-studio

Popularity

GitHub stars
12k
Ranking position
#11573
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills