← Back to Skills Marketplace
Word Document Creator
by
woaiwojia8899
· GitHub ↗
· v1.0.0
· MIT-0
244
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install word-document-creator
Description
Create and validate Word documents using a hybrid method with Word COM and python-docx, featuring multi-layer encoding defense and error handling.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install word-document-creator - After installation, invoke the skill by name or use
/word-document-creator - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 244 downloads so far.
How do I install Word Document Creator?
Run "/install word-document-creator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Word Document Creator free?
Yes, Word Document Creator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Word Document Creator support?
Word Document Creator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Word Document Creator?
It is built and maintained by woaiwojia8899 (@woaiwojia8899); the current version is v1.0.0.
More Skills