hive.pdf
Skill by aden-hive
Teaches an AI assistant to read, write, merge, split, rotate, watermark, encrypt and OCR PDF files. It is for users who need PDF work done with Python libraries and command-line tools.
Install hive.pdf
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aden-hive/hive /tmp/hive && mkdir -p ~/.claude/skills && cp -r /tmp/hive/core/framework/skills/_default_skills/pdf ~/.claude/skills/hive-pdfRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aden-hive/hive /tmp/hive && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hive/core/framework/skills/_default_skills/pdf ~/.gemini/antigravity-cli/skills/hive-pdfAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The hive.pdf skill is a guide that helps an AI assistant read, write, merge, split, rotate, watermark, encrypt and OCR PDF files. It gives Python examples using pypdf, pdfplumber, reportlab and pypdfium2, plus command-line examples using poppler-utils and qpdf. It covers common tasks such as extracting text and tables, merging and splitting files, adding watermarks, password protection and extracting images.
The skill is aimed at users who want an assistant to handle PDF tasks. The guide points to REFERENCE.md for pypdfium2 details, JavaScript libraries such as pdf-lib and pdfjs-dist, performance tips and troubleshooting. The publisher lists it as a default skill, and it is published under the aden-hive account.
Written from the project's SKILL.md and checked against it.
What it can do
- Merge and split PDFsCombines several PDF files into one or splits a PDF into single pages or page ranges.
- Extract text and tablesPulls text and tables from PDF pages using pdfplumber and pypdf, with pdftotext as a command-line option.
- Create PDFsBuilds new PDFs with reportlab using canvas drawing or multi-page documents.
- Rotate pagesRotates PDF pages using pypdf or qpdf.
- Add watermarksApplies a watermark page to every page of a PDF.
- Password protectionEncrypts a PDF with a user and owner password, and removes a password with qpdf.
- OCR scanned PDFsConverts scanned PDF pages to images and reads them with pytesseract.
- Extract imagesExports embedded images from a PDF using pdfimages from poppler-utils.
What you need
- Python
- poppler-utils
- qpdf
- pytesseract and pdf2image (pip install)
Try asking
- Merge these three PDF files into one document.
- Extract all tables from this PDF into an Excel file.
- OCR this scanned PDF and give me the text.
Good to know
- Unicode subscript and superscript characters render as solid black boxes in ReportLab built-in fonts.
- Canvas-drawn text needs manual font size and position changes for subscripts and superscripts.
- The pdftk examples apply only if pdftk is available.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: core/framework/skills/_default_skills/pdf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
REFERENCE.md16 KB -
SKILL.md8 KB
Alternatives to hive.pdf
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
hive.pdf: common questions
Which library should I use to extract tables from a PDF?
The guide uses pdfplumber with page.extract_tables(). It can also combine the extracted tables into one pandas DataFrame and export it to Excel.
How does the skill OCR a scanned PDF?
It converts each page to an image with pdf2image, then runs pytesseract.image_to_string() on each image. The guide notes that pytesseract and pdf2image must be installed with pip.
Where can I find pypdfium2 details and troubleshooting tips?
The guide says these are in REFERENCE.md. That file also covers JavaScript libraries such as pdf-lib and pdfjs-dist, and performance tips.
How do I install hive.pdf?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hive.pdf free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is hive.pdf safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to hive.pdf?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
