← 返回 Skills 市场
78
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install word-vba
功能描述
Word文档读写Skill - 基于VBA和ActiveX,支持doc/docx格式,提供完整读写、批量处理、文档合并、模板填充等功能
安全使用建议
This skill appears coherent for automating Word via pywin32 on Windows. Before installing/use: (1) Only run on a Windows machine with Microsoft Word installed and pywin32 available. (2) Do NOT open untrusted documents with this skill—Documents.Open/InsertFile can allow embedded VBA/macros to run within Word; consider disabling macros or opening files in a sandbox/VM. (3) Review the included Python code yourself (it operates on local files and contains no network calls), and run tests in an isolated environment if you don't trust the source. (4) If you need remote or server-side processing, prefer pure-Python libraries (python-docx) to avoid executing Office code. If you want, I can point out specific lines that open files/execute Find/SaveAs or help you adapt the code to explicitly disable macros or run in safer modes.
功能分析
Type: OpenClaw Skill
Name: word-vba
Version: 1.0.0
The skill bundle provides a comprehensive set of tools for automating Microsoft Word on Windows using the pywin32 COM interface. The code logic in word_vba_reader.py, word_vba_writer.py, and word_vba_utils.py is consistent with its stated purpose of reading, writing, merging, and templating Word documents, and it lacks any indicators of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name/description (Word VBA读写) match the included Python modules which use win32com/pythoncom to control Microsoft Word. Declared OS and dependency requirements (Windows, Microsoft Word, pywin32) are appropriate and proportional to the stated functionality.
Instruction Scope
SKILL.md and the code instruct the agent to open, read, modify, and save local Word files via COM automation. They reference only local file paths and do not reference external endpoints or unrelated system credentials. Important security note: the code opens documents with Word (Documents.Open / InsertFile) and does not mention disabling macros; opening untrusted .doc/.docm files can cause embedded VBA/macros to execute inside Word, which could perform network I/O or other actions via Word's runtime—this is a runtime risk of the integration, not a mismatched requirement.
Install Mechanism
No install spec is provided (instruction-only deployment), and the project only requires installing pywin32 via pip per README/requirements.txt. No downloads from untrusted URLs or archive extraction are present in the manifest.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The lack of extra secrets/keys is consistent with a local file-processing tool that uses the user's installed MS Word via COM.
Persistence & Privilege
Skill flags are default (always: false, user-invocable, agent-invocation allowed). It does not request permanent platform presence or attempt to modify other skills or agent-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install word-vba - 安装完成后,直接呼叫该 Skill 的名称或使用
/word-vba触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Word VBA 文档处理 Skill.
- 支持通过Python调用Word VBA/ActiveX,实现Word文档的完整读写功能(doc/docx格式)。
- 提供文档批量处理、合并、批量替换、模板填充、目录生成与提取标题大纲等高级功能。
- 详细用法示例、依赖说明、典型应用场景和与 docx-tools 的对比指导。
- 提供故障排除建议和最佳实践指南。
版本:v1.0.0
元数据
常见问题
Word Vba 是什么?
Word文档读写Skill - 基于VBA和ActiveX,支持doc/docx格式,提供完整读写、批量处理、文档合并、模板填充等功能. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 78 次。
如何安装 Word Vba?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install word-vba」即可一键安装,无需额外配置。
Word Vba 是免费的吗?
是的,Word Vba 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Word Vba 支持哪些平台?
Word Vba 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Word Vba?
由 JIRBOY(@jirboy)开发并维护,当前版本 v1.0.0。
推荐 Skills