0pen-sourcer/hearth/pdf-tools
Claude Code and agent skill by 0pen-sourcer/hearth
- community
Checking that the SKILL.md file is still in the repository.
Operate on an EXISTING PDF — split, merge, extract/delete pages, rotate, search for text across pages, or pull images. Use when the user wants to "split this PDF", "merge these PDFs", "grab pages 3-7", "find where it mentions X", "rotate", or OCR a scanned PDF. NOT for creating a styled PDF (that's make-pdf) or just reading one (that's read_file/summarize_file).
Install
npx vskill@latest install 0pen-sourcer/hearth/pdf-toolsSKILL.md
The same SKILL.md was published earlier as 0pen-sourcer/hearth/pdf-tools.
PDF tools — split / merge / search / rotate (on existing PDFs)
Use pymupdf (imported as fitz) — pure-Python wheel, fast, no native binaries, already a likely dep. Write a tiny script per task. Output to <workspace>/PDFs/ so deliverables stay together. (read_file already extracts text for reading/summarizing — this skill is for MANIPULATING.)
Split — pull a page range into a new PDF
Merge — combine several PDFs in order
Delete / reorder pages
Rotate
Search across pages — "where does it mention X?"
Extract images
Scanned PDF (no text layer) → OCR
If pg.get_text() is empty, the page is a scan. Render it to an image and run the user's OCR path (tesseract via pytesseract if installed, or view_image so a vision model reads it). Don't claim text you didn't extract.
Hard rules
- pymupdf is
import fitz. In the packaged app, don'tpip install— it's
bundled; if truly missing, say so rather than failing silently.
- Page numbers are 0-indexed in code; the USER means 1-indexed — translate.
- Save outputs to
<workspace>/PDFs/, never overwrite the source in place. - For a scanned PDF, OCR or view_image it — never fabricate the text.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghearth/skills/pdf-tools/SKILL.md
Popularity
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/0pen-sourcer/hearth/pdf-tools)