Office Suite (Word/Excel/PDF): Processing Word, Excel, and PDF Locally in Agents

Introduction

In everyday office work, editing Word documents, summarizing Excel data, and merging or splitting PDFs often require switching back and forth between multiple desktop applications. If you rely on cloud scripts or online converters, you may encounter issues such as format loss, accidental file overwrites due to wrong paths, and data leakage. Here we introduce a SkillHub community Skill called “Office Document Suite (Word/Excel/PDF)”—it consolidates common document operations into a unified local workflow callable from an Agent. Its tag indicates requires_api_key=false, meaning it does not depend on third-party document APIs.

Unlike merely giving “verbal instructions on clicking menus” in a chat, this type of Skill executes local scripts and dependency libraries according to the SKILL.md contract to complete tasks. On the SkillHub side, it provides a unified installation coordinate: @user_69794d19/office-doc-suite (current version v1.7.13).

What is this

Office Document Suite (Word/Excel/PDF) is a community-sourced Skill for office efficiency (category office-efficiency), published by user_69794d19 and displayed on SkillHub with the author name “寂寞不打烊”.

Official one-line introduction: handles Word, Excel, and PDF, covering sorting/filtering, merging/splitting, format conversion, watermarking, and pre-delivery checks; among these, the “document health check” is charged per use. The Skill coordinate is @user_69794d19/office-doc-suite, and the SkillHub display page is: https://www.skillhub.cn/skills/user_69794d19/office-doc-suite.

A more complete task-side description is: complete locally Word tasks (generation, fidelity-preserving replacement, batch replacement, conversion to plain text), Excel tasks (reading, statistics, reports, merging), and PDF tasks (merging, splitting, text extraction, page number insertion, encryption, decryption, conversion to images), as well as handling legacy .xls / .doc files (.xls is converted to .xlsx via an built-in script; .doc is automatically converted when LibreOffice is installed, otherwise the user is guided to save-as to a modern format). There is a STOP checkpoint before execution (dependencies, paths, whether to overwrite) and a CHECKPOINT verification after completion; on exceptions, Chinese repair hints are provided. Implementation is based on python-docx, openpyxl, and PyPDF2, and data is not uploaded to the cloud.

Core Features

The following are organized by document type; capabilities that match the SkillHub summary are marked separately.

Word

  • Generate documents, perform fidelity-preserving replacement, batch replacement, and export plain text (task overview).
  • Legacy .doc: preferentially converted using LibreOffice; if the environment does not support it, prompt the user to save as .docx (task overview).

Excel

  • Read, compute statistics, create reports, and merge workbooks or sheets (task overview).
  • Sorting and filtering (SkillHub official introduction).
  • Legacy .xls: converted to .xlsx via an built-in script before processing (task overview).

PDF

  • Merge, split, extract text, add page numbers, encrypt, decrypt, and convert to images (task overview).
  • Supports merging/splitting and format conversion in Word/Excel scenarios (SkillHub official introduction).

Watermarking and Delivery

  • Watermarking, pre-delivery checks (SkillHub official introduction).
  • Includes a built-in pre-execution STOP (whether dependencies are ready, whether paths exist, avoiding accidental overwrites) and a post-completion CHECKPOINT verification (task overview).

Pricing and Keys

  • SkillHub tag: requires_api_key=false; routine document processing does not require an API key.
  • Tag pricing_type=alipay; the page states document health checks are charged per use—pay attention to the billing instructions on SkillHub before using it.

Installation and Activation

The installation instructions provided on the SkillHub page are as follows: first read the general installation guide, then install this Skill coordinate.

Please install `@user_69794d19/office-doc-suite` according to https://skillhub.cn/install/skillhub.md.

The steps can be summarized as:

  1. In a client that supports SkillHub—such as Cursor, Codex CLI, or Claude Code—have the Agent open https://skillhub.cn/install/skillhub.md and follow the document to complete the SkillHub integration.
  2. In the same environment, run or confirm the above installation instruction so that @user_69794d19/office-doc-suite is added to the local Skills directory.
  3. Before processing documents for the first time, install the required Python dependencies according to the Skill requirements (e.g., python-docx, openpyxl, PyPDF2); if .doc files are involved, install LibreOffice as needed.

The specific directory names for each client follow the skillhub.md document; where this article cannot verify the path differences between Cursor and Claude Code from currently accessible pages, it will not list them separately.

Official resource URL (corresponding to the SkillHub entry): https://api.skillhub.cn/user_69794d19/office-doc-suite

Typical Usage

The Skill is driven by natural language; you do not need to write full scripts manually in the conversation. The following examples correspond to the official capability descriptions and can be issued directly to the Agent after installation:

  1. Excel organization: “Use the Office Document Suite to read ./data/sales.xlsx, sort by the date column, filter rows for the East China region, and output a summary table to a new file.” (corresponding to sorting/filtering, reading, and statistics.)
  2. PDF merging: “Merge ./reports/part1.pdf and part2.pdf into merged.pdf, and check whether the target path already exists before merging.” (corresponding to merging/splitting and the STOP path check.)
  3. Word batch replacement: “In ./contract.docx, batch replace the Party A name with the new company name while preserving the original formatting as much as possible.” (corresponding to fidelity/batch replacement.)
  4. Pre-delivery workflow: “Add a watermark to ./final.pdf and run a pre-delivery check to confirm the page count and encryption status.” (corresponding to watermarking and pre-delivery checks; if the “document health check” is triggered, note that it is charged per use.)

After the above steps, the Agent should call the scripts within the Skill to complete the operation and, at the CHECKPOINT stage, report the output file path or verification results.

Use Cases and Notes

Who it is for: office workers, report producers, and data organizers who frequently need to merge reports, batch-process contracts, or archive PDFs; teams who want documents to stay on their own machines and not be uploaded to third-party APIs.

Notes:

  • The recognition quality for complex layouts and scanned PDFs depends on the Skill scripts and dependency capabilities; extreme layouts may still require manual review.
  • When .doc conversion relies on LibreOffice, servers or headless environments must have the executable installed beforehand.
  • SkillHub metadata (as of retrieval): community sourced, version 1.7.13, category office-efficiency; page statistics show a rating of 100000 and downloads of 126482 (subject to SkillHub’s real-time display).
  • “Document health check” and some premium capabilities may use Alipay billing, which is different from pure local script processing; read the SkillHub instructions carefully before placing an order.

Conclusion

The Office Document Suite bundles high-frequency Word, Excel, and PDF operations into a single Agent Skill: local library processing, no API key required, with pre-execution checks and post-completion verification, and it covers the sorting/filtering, merging/splitting, format conversion, watermarking, and pre-delivery checks emphasized on SkillHub. If your workflow is centered on Cursor or a SkillHub-compatible CLI, you can install and try it via the official coordinate.

  • SkillHub page: https://www.skillhub.cn/skills/user_69794d19/office-doc-suite
  • Official URL: https://api.skillhub.cn/user_69794d19/office-doc-suite
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye