Hi! Thanks for the split-pdf skill — really useful for reading papers without blowing up the context window.
One small heads-up: the skill uses PyPDF2 (from PyPDF2 import PdfReader, PdfWriter, and pip install PyPDF2). PyPDF2 was deprecated back in Dec 2022 — all active development moved to its renamed successor, pypdf. The API is identical (same PdfReader/PdfWriter), so the migration is essentially:
-from PyPDF2 import PdfReader, PdfWriter
+from pypdf import PdfReader, PdfWriter
plus pip install pypdf instead of pip install PyPDF2 in the SKILL.md instructions.
It's a minor change and PyPDF2 still installs/works today, so totally your call — just flagging it for long-term maintenance. Happy to send a PR if you'd like one.
Hi! Thanks for the
split-pdfskill — really useful for reading papers without blowing up the context window.One small heads-up: the skill uses PyPDF2 (
from PyPDF2 import PdfReader, PdfWriter, andpip install PyPDF2). PyPDF2 was deprecated back in Dec 2022 — all active development moved to its renamed successor,pypdf. The API is identical (samePdfReader/PdfWriter), so the migration is essentially:plus
pip install pypdfinstead ofpip install PyPDF2in the SKILL.md instructions.It's a minor change and PyPDF2 still installs/works today, so totally your call — just flagging it for long-term maintenance. Happy to send a PR if you'd like one.