rename-pdfs
Rename already-searchable PDFs in a specified folder to descriptive, date-prefixed names, proposing each name from the PDF's own content and prompting for per-file confirmation or edit before applying. Use after running ocr-pdfs to clean up scanner-output filenames like "Scan from 2024-03-15.pdf", "QuickScan_001.pdf", or "Document(47).pdf" — or for any folder of PDFs that already have text layers but unhelpful filenames. Triggers: "rename my pdfs", "clean up pdf filenames", "rename searchable pdfs", "give my pdfs descriptive names", "rename scanned pdfs", "tidy pdf names".
- Compatibility
- Requires Python 3 with pypdf (scripts/extract_pdf_context.py); PDFs must already have a text layer
Pinned to revision 400fbf01d7bb, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Bash
- Read
Files
- skills/rename-pdfs/SKILL.md
- skills/rename-pdfs/scripts/extract_pdf_context.py
- skills/rename-pdfs/scripts/test_extract_pdf_context.py
Every link opens the file at its source, pinned to the revision this page describes.