All-In-One PDF Editor
Paste the following prompt into your AI chat to install this skill:
Please install @user_09701b7c/mainpdf according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
PDF work is often split across multiple utilities: text extraction, scanned-image OCR, table repair, image insertion, Word conversion, and page merging usually depend on different libraries. PDF EDITOR consolidates that workflow into one local script entry point, suitable for terminal or agent-driven document processing.
Capabilities and flow
- Extraction: prefer
PyMuPDForpdfplumberfor text, tables, and images. - OCR fallback: use
pytesseractoreasyocrwhen the PDF lacks a text layer. - Editing: modify content with
insert_textbox,insert_image, page deletion, rotation, merging, and splitting. - Conversion: convert PDF to Word, images, HTML, plain text, or combine images into a PDF.
- Analysis: summarize key points or inspect metadata such as page count and dimensions.
Boundaries and notes
- Scanned PDFs converted to Word use an image-embedding mode, so output may be page-like rather than fully text-editable.
- Complex borderless tables may need
pdfplumberdetection tuning. EasyOCRis better for Chinese and handwriting, but Windows may hitNo module named 'pwd'.- Default output goes to
output/, and the final absolute path is printed after execution.
Use Cases
- OCR a scanned contract, extract the text, and replace a QR code with a new link.
- Split several PDFs by pages, delete blank pages, and merge them into one review file.
- Extract a PDF table into editable data, then convert the document to Word for business edits.
- Summarize a long report, then export selected pages as images for an email note.
Best For
- Document engineers who clean scanned contracts and approval pages by OCR, replacing QR codes, and merging pages.
- Operations staff who convert PDF reports to Word or images so non-technical teammates can edit them.
- Data or QA operators who extract PDF tables and images for archiving and verification.
- Independent developers who process sensitive PDFs locally without uploading files to third-party clouds.
Related Skills
Generate and edit .pptx decks with python-pptx, applying structured layouts, design rules, native charts, and visual QA to reduce template-like output.
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
Generate structured Chinese patent disclosure drafts in Word from existing documents or brief technical inputs, following Part A/B/C templates.