One-click Word to PDF: Online doc/docx to PDF Conversion within the Agent

Preface

When delivering contracts or presentation materials, Word documents often need to be converted to PDF before sending. When you don’t have Office or WPS installed locally, need batch conversion, and want to preserve tables and images as much as possible, the common approach is to use an online conversion site or temporarily install a desktop suite. If you work in environments like Cursor or Claude Code that already support Skills, you can hand off the “convert to PDF” task to a Skill, letting the Agent invoke online capabilities according to the skill’s instructions, reducing the need to switch windows repeatedly.

Below is an introduction to the positioning, capabilities, and installation method of the SkillHub community skill Word to PDF in One Click (located at @user_31f34a6b/wordtopdf). Facts are based on the SkillHub page and crawled metadata; the skill is marked as not requiring an API Key (requires_api_key=false).

What Is This

Word to PDF in One Click is an Agent Skill aimed at office efficiency (office-efficiency), version 1.0.0, sourced from the community (community), and published by user_31f34a6b.

In short: it supports converting doc, docx to PDF, advertises preservation of original formatting, tables, images, and headers/footers, and supports batch conversion and PDF compression; conversion goes through an online path, no need to install Office/WPS locally.

  • SkillHub display page: https://www.skillhub.cn/skills/user_31f34a6b/wordtopdf
  • Official address in the materials: https://api.skillhub.cn/user_31f34a6b/wordtopdf

Core Features

All capabilities below come from the SkillHub introduction and metadata; details not present in the materials are not written.

  1. Format: Accepts doc, docx input; outputs PDF.
  2. Layout: Described as lossless conversion, preserving original formatting, tables, images, and headers/footers.
  3. Batch: Supports processing multiple documents at once (specific interaction is based on the installed SKILL.md).
  4. Compression: Supports compressing the generated PDF.
  5. Dependencies: Tagged requires_api_key=false, no separate API Key configuration needed.
  6. Environment: Emphasizes online conversion, not dependent on local Office/WPS.

On SkillHub, this skill has a score of 100000 and 1723 downloads (page statistics, will change over time).

Installation and Activation

SkillHub recommends two methods: install via CLI, or send the installation prompt to the current AI and let it follow the official installation documentation.

1. Check SkillHub CLI

First confirm whether skillhub is already installed:

command -v skillhub && skillhub --version

If not installed, you can perform a full installation (including CLI and default Skill) according to the SkillHub installation documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install to the current Agent’s skills directory

When installing a skill, you must use --dir to point to the skills directory actually read by the current Agent; otherwise it will default to ./skills/, and the Agent may not recognize it.

Taking Cursor as an example, the common directory is ~/.cursor/skills/:

skillhub install @user_31f34a6b/wordtopdf --dir ~/.cursor/skills/

Other clients’ paths listed in the SkillHub installation documentation include (choose one based on the tool you actually use):

  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Gemini CLI: ~/.gemini/skills/

You can also send the prompt given on the SkillHub page in a conversation, letting the AI install according to the documentation:

请根据 https://skillhub.cn/install/skillhub.md,安装 `@user_31f34a6b/wordtopdf`。

After installation, follow the conventions of your Agent to restart or refresh the Skills list to ensure the new skill is loaded.

Typical Usage

The public page does not include the full SKILL.md content; the reproducible workflow is “install the skill first, then describe the task in conversation”.

  1. Confirm that @user_31f34a6b/wordtopdf has appeared in the current Agent’s skills directory.
  2. Provide the doc/docx paths to be converted in the conversation (a single file or explicitly listing multiple files), and state the need for conversion to PDF, whether batch or compression is required.
  3. The Agent reads the skill instructions, follows the online conversion steps defined by the skill, and returns the generated PDF path or download method to you.

Example prompts (replace the paths with your actual local files):

使用 Word 一键转 PDF 技能,把 /path/to/report.docx 转成 PDF,尽量保留表格和页眉页脚。
批量把 /path/to/contracts/ 下所有 docx 转成 PDF,并对结果做压缩。

Specific commands, interfaces, or scripts are based on the SKILL.md in the installation package; if the Agent has not loaded the skill, first check --dir and restart.

Applicable Scenarios and Notes

Who it’s for

  • Developers or office users who frequently process office documents in an Agent but don’t want to install Office/WPS separately just for PDF conversion.
  • Scenarios requiring batch doc/docx to PDF conversion, and occasionally needing to compress file size.
  • Teams already using SkillHub or willing to install the CLI according to the official documentation.

Notes

  • Conversion relies on online services; network and service provider availability will affect the success rate. For sensitive documents, first confirm compliance and data export requirements before uploading or handing them to online conversion.
  • “Lossless” is based on the skill provider’s description; for complex layouts, it is still recommended to spot-check a few pages of the PDF.
  • Scores and download counts come from the SkillHub display; they may be inconsistent with other numbers in the clues due to different statistical calibers or time differences. The page and crawled metadata shall prevail.
  • Codex CLI, Claude Code, and Cursor differ only in the skills directory; the --dir in the installation command must match the current environment. Client differences not separately specified in the materials are not speculated.

Conclusion

Word to PDF in One Click consolidates doc/docx to PDF conversion, batch processing, and compression into a single community Skill, and indicates that no API Key or local Office/WPS is required. If you already use an Agent for coding or organizing documents, you can first install @user_31f34a6b/wordtopdf as described above, then communicate the file paths and conversion requirements in natural language in the conversation.

  • SkillHub: https://www.skillhub.cn/skills/user_31f34a6b/wordtopdf
  • Official address (materials): https://api.skillhub.cn/user_31f34a6b/wordtopdf
  • Installation instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

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

Xiaoye