跳到正文
TakoAPI
返回技能列表

tiangong-wps-word-automation

由 fadeloo 提供

Git & GitHub
5.2k下载量由 clawskills.sh 提供
7星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Automate common Word/WPS document operations on Windows via COM (read text, replace, insert, headings.

描述

该技能的功能

Controls Word or WPS Writer documents on Windows via COM automation. Supports reading, editing, formatting, merging, splitting, and exporting documents without manual UI interaction.

COM automation operates directly inside the Word/WPS application, so formatting, styles, and native features are preserved without relying on third-party parsers.

何时使用

  • Export a contract to PDF before sending
  • Replace a client name across an entire report
  • Merge monthly chapter files into one document
  • Split a long document into page-range segments
  • Add a company header and footer to a template

示例工作流

输入

User asks: export report.docx to PDF

智能体
  1. 1

    Locate the target .docx file path

  2. 2

    Run the export command with --format pdf

  3. 3

    Specify the output PDF path

  4. 4

    Confirm the file was written successfully

输出

report.pdf created at the specified output path

前置要求

  • Windows OS with Microsoft Word or WPS Writer installed
  • pywin32 Python package (pip install pywin32)

安装

clawhub install fadeloo/tiangong-wps-word-automation

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接