From doc-skills
Intelligently rename research paper PDFs from generic filenames (DOIs, serial numbers) to descriptive names based on extracted titles and metadata. This skill should be used when the user has downloaded research articles with non-descriptive filenames and wants to organize them with meaningful names based on the document content.
npx claudepluginhub aeghnnsw/cc-toolkit --plugin doc-skillsThis skill uses the workspace's default tool permissions.
Rename research paper PDFs from generic filenames to descriptive, meaningful names by extracting title and metadata from the document content. This skill uses `pdftotext` for efficient text extraction (first 50 lines only) without loading entire PDFs into context.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Analyzes competition with Porter's Five Forces, Blue Ocean Strategy, and positioning maps to identify differentiation opportunities and market positioning for startups and pitches.
Rename research paper PDFs from generic filenames to descriptive, meaningful names by extracting title and metadata from the document content. This skill uses pdftotext for efficient text extraction (first 50 lines only) without loading entire PDFs into context.
Use this skill when the user needs to:
Determine which PDF files need renaming:
ls or find to list PDFs)For each PDF, extract the first 50 lines using pdftotext:
pdftotext -f 1 -l 1 "input.pdf" - | head -50
Command breakdown:
-f 1 -l 1: Extract only first page-: Output to stdout (not a file)| head -50: Limit to first 50 linesFrom the extracted text, identify:
Title (primary focus)
Authors (if requested by user)
Keywords/Topic (if requested by user)
Create a descriptive filename following these principles:
Default format (title only):
Clean_Title_Here.pdf
Name with prefix
Prefix_Clean_Title_Here.pdf
Filename cleaning rules:
/ \ : * ? " < > |Examples:
Original: s41586-023-06824-w.pdf
New: Quantum_Error_Correction_Using_Surface_Codes.pdf
Original: 10.1038_nature12345.pdf
New: 001_Neural_Networks_for_Protein_Folding.pdf
Original: download_8472839.pdf
New: Machine_Learning_in_Climate_Modeling.pdf
Execute the rename using mv command:
mv "original_filename.pdf" "New_Descriptive_Filename.pdf"
Safety checks before renaming:
ls or test [ -f "filename" ])_2.pdf, _3.pdf, etc.For multiple PDFs in a directory:
find . -name "*.pdf" -type fUser: "Rename this PDF to something meaningful"
Action: Extract title, clean filename, rename
User: "Organize my downloaded papers in the Downloads folder"
Action: List PDFs, extract titles for each, rename all with progress updates
User: "Rename this to include the first author and year"
Action: Extract title, author, year; construct filename with requested format
User: "Rename these PDFs but keep the filenames short, just the main topic"
Action: Extract title, identify core topic/subject, create concise filename
Handle these common issues gracefully:
pdftotext not installed
which pdftotextbrew install poppler (macOS) or apt-get install poppler-utils (Linux)Title not clearly identifiable