doc
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for vi
Install on your platform
We auto-selected OpenClaw based on this skill’s supported platforms.
About This Skill
What it does
This skill enables AI agents to interact with and manipulate Microsoft Word (.docx) documents. It excels at preserving document formatting and layout during reading, creation, and editing tasks. The preferred method involves utilizing the python-docx library alongside the provided scripts/render_docx.py script for optimal visual fidelity.
When to use it
- Generating reports: Create formatted Word documents containing data summaries or analysis results.
- Editing contracts: Modify existing contract templates, ensuring proper formatting and clause insertion.
- Automating letter creation: Generate personalized letters with consistent branding and layout based on a template.
- Converting text to documents: Transform plain text content into professionally formatted Word documents.
Key capabilities
- Reading
.docxdocument contents. - Creating new
.docxdocuments. - Editing existing
.docxdocuments. - Preserving formatting and layout fidelity.
- Integration with
python-docxlibrary. - Utilizes
scripts/render_docx.pyfor rendering.
Example prompts
- "Create a Word document titled 'Project Proposal' using this outline: [outline text]."
- "Edit the attached contract and replace clause 3 with the following text: [new clause text]."
- "Generate a letter to John Doe based on this template: [template content] and these details: [customer data]."
Tips & gotchas
- For best results, ensure
python-docxis installed and thescripts/render_docx.pyscript is accessible within the agent's environment. Visual fidelity depends heavily on correct rendering via the provided script.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
Details
- Version
- v1.0.0
- License
- MIT
- Author
- openai
- Installs
- 0
🏢 Official
Published by the company or team that built the technology.