doc
OfficialUse 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
Showing OpenClaw.
- 1
Run this in your terminal
terminal$
What we know about this skill
Publisher
openai
Matched to the vendor's own GitHub organisation.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
We could not read this skill's source, so none of the checks below were run.
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.