← 返回 Skills 市场
woaiwojia8899

Word Document Creator

作者 woaiwojia8899 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
244
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install word-document-creator
功能描述
Create and validate Word documents using a hybrid method with Word COM and python-docx, featuring multi-layer encoding defense and error handling.
安全使用建议
This skill appears to be a legitimate Word-document generator that uses Word COM + python-docx, but it makes strong Windows-specific assumptions and includes environment-specific example paths and an explicit interpreter path that will not exist on most users' systems. Before installing or running: - Only run on a Windows machine with Microsoft Word installed and activated. The scripts call win32com and expect Word; running on non-Windows will fail. - Review and remove/replace hard-coded paths (D:\... and E:\...) and the interpreter path in SKILL.md before executing to avoid accidental file writes to unexpected locations. - Install dependencies yourself (pip install python-docx pywin32) in a controlled environment (virtualenv). - Note the code sets Word.Application.AutomationSecurity = 3 (suppresses macro prompts) — this can bypass macro warnings in some contexts; ensure you control template sources and trust Normal.dotm. - The package metadata references mem9 IDs and local verification files but the code does not contact any external service — that inconsistency is likely bookkeeping from the author but verify there are no hidden endpoints before running. - Run the code first in an isolated test environment (VM) and inspect behavior (file creation, temp files) before using it on sensitive systems or with sensitive content.
功能分析
Type: OpenClaw Skill Name: word-document-creator Version: 1.0.0 The skill bundle is a functional tool designed to create Microsoft Word documents using a hybrid approach of Word COM automation (via win32com) and the python-docx library. It includes robust encoding handling for Chinese characters, such as using 'chcp 65001', and implements multi-layer validation to ensure document integrity. While it uses potentially sensitive capabilities like COM automation and os.system, these are strictly aligned with the stated purpose of document generation and environment configuration, with no evidence of malicious intent, data exfiltration, or prompt injection found in scripts/word_creator.py or SKILL.md.
能力评估
Purpose & Capability
The name/description claim Word COM + python-docx hybrid creation and the scripts implement exactly that. However the skill assumes a Windows environment with Microsoft Word installed (win32com usage) yet the registry metadata lists no OS restriction. SKILL.md also recommends a specific interpreter path (D:\openclaw_project\venv\Scripts\python.exe) and example output paths on E:\Desktop which are environment-specific and not appropriate to a generic skill package.
Instruction Scope
SKILL.md instructs running a script with an absolute interpreter path and absolute Windows output paths; examples reference E:\ and a local mem9 DB ID. The runtime instructions do not instruct reading arbitrary system files or contacting networks, but the platform-specific hard-coded paths and the mem9 references are inconsistent with a generic skill and could cause unexpected local file access if blindly executed. The script does modify process environment (PYTHONIOENCODING) and calls chcp, which is reasonable for encoding handling but is an environment mutation to be aware of.
Install Mechanism
There is no install spec (lowest risk) but the code depends on python-docx and pywin32 and requires Microsoft Word. SKILL.md and scripts mention these requirements, but the package metadata does not declare dependencies or an OS restriction. That mismatch is notable: users must install prerequisites themselves on Windows; there is no automated or documented installation in the skill package.
Credentials
The skill requests no environment variables or credentials. It does alter local environment encoding (PYTHONIOENCODING, chcp) which is proportionate to its goal. There are unexplained references to a 'mem9' database ID and mem9_backup entries in SKILL.md/skill.json but no code that performs network calls or interacts with such a service; this is an inconsistency (metadata claims storage but code does not perform remote storage nor request credentials).
Persistence & Privilege
Skill does not request always:true and is user-invocable. It does not modify other skills or system-wide agent configs. It writes temporary files and output files as expected for document creation; this is within scope for its stated purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install word-document-creator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /word-document-creator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Word Document Creator Skill v1.0.0 - Initial release with robust Word document creation capabilities. - Hybrid approach combining Word COM for document creation and python-docx for content editing. - Implements three-layer encoding defense, COM failure circuit breaker, and file integrity verification. - Supports custom styles and output parameters. - Requires Microsoft Word and a specific Python environment.
元数据
Slug word-document-creator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Word Document Creator 是什么?

Create and validate Word documents using a hybrid method with Word COM and python-docx, featuring multi-layer encoding defense and error handling. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 244 次。

如何安装 Word Document Creator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install word-document-creator」即可一键安装,无需额外配置。

Word Document Creator 是免费的吗?

是的,Word Document Creator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Word Document Creator 支持哪些平台?

Word Document Creator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Word Document Creator?

由 woaiwojia8899(@woaiwojia8899)开发并维护,当前版本 v1.0.0。

💬 留言讨论