diillson/chatcli/pdf-tools

Claude Code and agent skill by diillson/chatcli

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Manipulate PDFs locally — merge, split, extract pages, rotate, compress, extract text, convert images↔PDF. Uses keyless local CLIs (pdftk/qpdf/pdftotext/poppler/img2pdf/Ghostscript). Use when asked to "merge PDFs", "split this PDF", "extract text from PDF", "compress PDF", "PDF to images".

Install

npx vskill@latest install diillson/chatcli/pdf-tools

SKILL.md

PDF Tools

Local, keyless PDF manipulation. Detect what's installed and use it; nothing leaves the machine.

Step 0 — Detect tools

  • macOS / Linux: command -v qpdf pdftk pdftotext pdfinfo pdftoppm img2pdf gs 2>/dev/null
  • Windows: Get-Command qpdf, pdftk, pdftotext -ErrorAction SilentlyContinue

Install hints: brew install qpdf poppler img2pdf ghostscript / apt install qpdf poppler-utils img2pdf ghostscript / choco install qpdf.

Common operations

Merge (qpdf preferred, pdftk fallback):

qpdf --empty --pages a.pdf b.pdf -- merged.pdf
pdftk a.pdf b.pdf cat output merged.pdf

Split / extract pages:

qpdf in.pdf --pages in.pdf 2-5 -- pages_2_5.pdf
pdftk in.pdf cat 1 3 5 output odd.pdf

Rotate:

qpdf in.pdf out.pdf --rotate=+90:1-z

Compress (Ghostscript):

gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -o small.pdf in.pdf

Extract text (then summarize/answer with @read):

pdftotext -layout in.pdf out.txt

PDF → images / images → PDF:

pdftoppm -png -r 150 in.pdf page
img2pdf img1.png img2.jpg -o out.pdf

Inspect: pdfinfo in.pdf (page count, size, encryption).

Rules

  • Work on copies; never overwrite the user's source PDF unless told to.
  • For scanned/image PDFs with no text layer, hand off to the ocr skill.
  • Report output path + page count after each operation.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diillson/chatcli/pdf-tools/badge)](https://verified-skill.com/skills/diillson/chatcli/pdf-tools)

Something wrong with this skill or its page? Tell us.