Work with PDF files - read, extract text/images/tables, create PDFs, merge, split, and convert PDFs. Use when the user asks to read, create, modify, or analyze PDF documents.
Install
npx skills add thechandanbhagat/claude-skills --skill pdfgit clone --depth 1 https://github.com/thechandanbhagat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/pdf ~/.claude/skills/pdfPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# PDF Processing Skill When working with PDF files, follow these guidelines: ## 1. Reading & Extracting from PDFs For **text extraction**: ```bash # Extract all text pdftotext input.pdf output.txt # Extract specific pages pdftotext -f 1 -l 10 input.pdf output.txt # Preserve layout pdftotext -layout input.pdf output.txt ``` For **extracting images**: ```bash # Extract all images pdfimages -all input.pdf output_prefix # Extract as PNG pdfimages -png input.pdf images/page ``` For **metadata**: ```bash # Get PDF info pdfinfo document.pdf # Get detailed metadata exiftool document.pdf ``` ## 2. Creating PDFs From **text/markdown**: ```bash # From markdown using pandoc pandoc input.md -o output.pdf # From text with formatting enscript input.txt -o - | ps2pdf - output.pdf ``` From **HTML**: ```bash # Using wkhtmltopdf wkhtmltopdf input.html output.pdf # With options wkhtmltopdf --page-size A4 --margin-top 10mm input.html output.pdf ``` From **images**: ```bash # Convert images to PDF convert image1.png image2.png output.pdf # Multiple images img2pdf img1.jpg img2.jpg -o output.pdf ``` ## 3. Merging PDFs ```bash # Merge multiple PDFs (using pdftk) pdftk file1.pdf file2.pdf file3.pdf cat output merged.pdf # Using ghostscript gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf file1.pdf file2.pdf # Using pdfunite pdfunite file1.pdf file2.pdf output.pdf ``` ## 4. Splitting PDFs
Details
- Skill name
pdf- Repository
- thechandanbhagat/claude-skills
- Path
skills/pdf/SKILL.md- Repo updated
- 22 January 2026
FAQ
What does the PDF skill do?
Work with PDF files - read, extract text/images/tables, create PDFs, merge, split, and convert PDFs. Use when the user asks to read, create, modify, or analyze PDF documents.
How do I install the PDF skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add thechandanbhagat/claude-skills --skill pdf. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is PDF popular?
It lives in thechandanbhagat/claude-skills, which has 9 GitHub stars and 0 forks.
Related skills
Code Review
9thechandanbhagat/claude-skills
Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.
CSV
9thechandanbhagat/claude-skills
Parse, analyze, transform, and manipulate CSV files. Use for data processing, cleaning, and CSV operations.
Debug
9thechandanbhagat/claude-skills
Debug code, analyze errors, interpret stack traces, find root causes, and suggest fixes. Use when troubleshooting bugs, analyzing crashes, or investigating unexpected behavior.
PPTX
9thechandanbhagat/claude-skills
Work with PowerPoint presentations (PPTX/PPT) - read slides, extract content, create presentations, convert formats, and generate slide decks. Use when the user asks to work with PowerPoint files or presentations.
DOCX
9thechandanbhagat/claude-skills
Work with Word documents (DOCX/DOC) - read, extract content, create documents, convert formats, and process templates. Use when the user asks to work with Word files or .docx documents.
XLSX
9thechandanbhagat/claude-skills
Work with Excel spreadsheets (XLSX/XLS/CSV) - read data, create spreadsheets, convert formats, analyze data, and generate reports. Use when the user asks to work with Excel files or spreadsheet data.
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.