Office Toolkit
Paste the following prompt into your AI chat to install this skill:
Install @user_5d13378c/office-toolkit-ela according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When local Office files need batch processing, opening each document, copying text, editing tables, and exporting PDFs interrupts the workflow. Office Toolkit targets an offline, file-in/file-out workflow: read PDF/DOCX/PPTX/XLSX, create DOCX, XLSX, and PPTX, convert XLSX to CSV/JSON, and export Office files to PDF on Windows via COM automation. It is not for real-time collaboration or cloud document access, making it suitable for scripts, agent workflows, and local automation.
How It Works
- Reading: PDF uses
pdftotext;DOCX,XLSX, andPPTXcontent is extracted throughzipfileand XML parsing. - Creation: basic
DOCX/XLSXfiles can be generated with the Python standard library;XLSXsupports formulas and finance-oriented styling;PPTXcreation is best handled withpython-pptx. - Conversion:
XLSXtoCSV/JSONruns locally; Office to PDF requires Windows COM automation from Microsoft Office or WPS Professional. - Editing: existing
XLSXfiles can be updated for cells, formulas, row/column insertion/deletion; existingDOCXfiles can have text and paragraph changes, with automatic backups.
Boundaries
- Local offline files only; no real-time collaboration or cloud document read/write.
- Office-to-PDF conversion is Windows-only, and WPS Personal may not expose COM servers.
- Scanned PDFs require OCR; stdlib creation for
DOCX/XLSXfocuses on plain text and values. - Large files are limited by parsing memory; very large
XLSXfiles should useopenpyxlstreaming mode.
Use Cases
- Export a batch of local XLSX price sheets to CSV/JSON for downstream data import.
- Convert ten local Word reports to PDF on Windows before client delivery.
- Extract text and tables from multiple PDF reports and generate a DOCX summary for review.
- Edit formulas, insert rows, and delete columns in an existing XLSX workbook with backups.
Best For
- Delivery engineers who batch-convert local Word/PPT files to PDF for archival.
- Data analysts who export Excel workbooks to CSV/JSON before warehouse import.
- Automation developers who read, create, and convert local DOCX/XLSX/PPTX files.
- Ops engineers who edit Excel formulas and Word text with automatic backups.
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.
Turn a topic, notes, or tables into a complete PPT plan with logic, page layouts, visual and chart guidance, and natural defense scripts.