Skill by agentscope-ai
Gives an AI assistant guides and commands for working with PDF files. It covers text and table extraction, merging, splitting, watermarks, new PDFs, form filling, encryption and OCR for people who handle .pdf files.
Install pdf
Built from the published package, never by AI.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.claude/skills && cp -r /tmp/QwenPaw/src/qwenpaw/agents/skills/pdf-zh ~/.claude/skills/pdfRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/QwenPaw/src/qwenpaw/agents/skills/pdf-zh ~/.gemini/antigravity-cli/skills/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 pdf skill gives an AI assistant instructions and code examples for common PDF tasks. It covers reading and extracting text and tables, merging, splitting and rotating pages, adding watermarks, creating new PDFs, encrypting and decrypting files, and extracting images. It also describes OCR for scanned PDFs so their text can be searched.
The skill is built around Python libraries such as pypdf, pdfplumber and reportlab, plus command-line tools from poppler-utils and qpdf. A quick reference table matches each task to a tool. Form filling is described in a separate FORMS.md file, and advanced usage is in REFERENCE.md. It is meant for users who ask an assistant to read, edit or create .pdf files.
Written from the project's SKILL.md and checked against it.
What it can do
- Text and table extractionReads text and tables from PDF files using pdfplumber and pdftotext.
- Merge and splitCombines several PDFs into one or splits a PDF into separate page files.
- Page rotationRotates pages in a PDF by a given angle.
- WatermarksApplies a watermark page to every page of a document.
- Create PDFsBuilds new PDF files with reportlab, either as canvas drawings or multi-page documents.
- Form fillingFills PDF forms, with steps described in the FORMS.md file.
- EncryptionAdds a password to a PDF and removes passwords with qpdf.
- Image extraction and OCRExtracts embedded images and runs OCR on scanned PDFs to make them searchable.
What you need
- Python
- pypdf, pdfplumber and reportlab Python packages
- poppler-utils (pdftotext, pdftoppm, pdfimages)
- qpdf
- pytesseract and pdf2image for OCR
Try asking
- Extract all the tables from report.pdf into an Excel file
- Merge these three PDFs into one file in order
- Add a DRAFT watermark to every page of contract.pdf
Good to know
- Unicode subscript and superscript characters render as black boxes with ReportLab's built-in fonts.
- Commands assume the skill directory is the working directory.
- The pdftk examples apply only if pdftk is installed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/qwenpaw/agents/skills/pdf-zh/SKILL.md, src/qwenpaw/agents/skills/pdf-zh/scripts/check_bounding_boxes.py, src/qwenpaw/agents/skills/pdf-zh/scripts/check_fillable_fields.py, src/qwenpaw/agents/skills/pdf-zh/scripts/convert_pdf_to_images.py, src/qwenpaw/agents/skills/pdf-zh/scripts/create_validation_image.py, src/qwenpaw/agents/skills/pdf-zh/scripts/extract_form_field_info.py, src/qwenpaw/agents/skills/pdf-zh/scripts/extract_form_structure.py, src/qwenpaw/agents/skills/pdf-zh/scripts/fill_fillable_fields.py, src/qwenpaw/agents/skills/pdf-zh/scripts/fill_pdf_form_with_annotations.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt1 KB -
SKILL.md8 KB -
forms.md11 KB -
reference.md16 KB -
scripts/check_bounding_boxes.py3 KB
Show all 12 files
-
scripts/check_fillable_fields.py268 B -
scripts/convert_pdf_to_images.py1008 B -
scripts/create_validation_image.py1 KB -
scripts/extract_form_field_info.py4 KB -
scripts/extract_form_structure.py4 KB -
scripts/fill_fillable_fields.py4 KB -
scripts/fill_pdf_form_with_annotations.py3 KB
Alternatives to 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
pdf: common questions
Can this skill extract text from scanned PDFs?
The skill describes an OCR approach that converts pages to images with pdf2image and reads them with pytesseract. The source says to install these packages with pip.
Can the assistant fill in PDF forms with this skill?
The source says form filling is covered in FORMS.md, which gives instructions that use pdf-lib or pypdf.
Which PDF operations are included?
The skill covers reading and extracting text and tables, merging, splitting, rotating, watermarking, creating, encrypting, decrypting and extracting images.
How do I install pdf?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pdf free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is pdf safe to use?
It scores 94 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 pdf?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
