docx
Skill by OpenBMB
Creates, edits, inspects, reviews, and finalizes Microsoft Word .docx documents. It is for users who need new Word files, source- or template-based reports, or precise edits to existing files.
Install docx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/OpenBMB/PilotDeck /tmp/PilotDeck && mkdir -p ~/.claude/skills && cp -r /tmp/PilotDeck/skills/docx ~/.claude/skills/docxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/OpenBMB/PilotDeck /tmp/PilotDeck && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/PilotDeck/skills/docx ~/.gemini/antigravity-cli/skills/docxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The docx skill helps an AI assistant create, edit, inspect, review, and finalize Microsoft Word .docx files. It covers new documents, reports based on source materials or templates, precise edits that keep an existing file intact, and comments and tracked changes. It works only with .docx files and does not handle legacy .doc, macro-enabled .docm, or live Microsoft Word control.
The skill follows three stages: understand the request and sources, build or edit the document with Python, python-docx, lxml, or direct OOXML editing, then review the actual result. An optional bash CLI provides inspect, validate, render, and deliver commands. It is aimed at users who need Word documents produced or revised by an assistant, and it preserves source files unless replacement is explicitly requested.
Written from the project's SKILL.md and checked against it.
What it can do
- Create new documentsBuilds new Word .docx documents with task-specific Python scripts.
- Edit existing filesMakes localized edits that preserve content and formatting the user did not ask to change.
- Source and template reportsProduces reports based on source materials or supplied templates.
- Comments and tracked changesWorks with Word comments and tracked changes.
- Inspect documentsSummarizes a .docx file or searches it for a target phrase using the inspect command.
- Validate and renderChecks package validity and renders pages to images for visual review.
- Deliver final filePublishes the reviewed candidate as the final DOCX, protecting the source file.
What you need
- Python
- python-docx
- bash
- PILOTDECK_WORK_DIR environment variable
- LibreOffice for page rendering
Try asking
- Create a Word report from these source notes using a neutral layout.
- Edit this .docx file to change the date and keep the rest unchanged.
- Add comments and tracked changes to this Word document for review.
Good to know
- Only .docx files. Legacy .doc, macro-enabled .docm, and live Microsoft Word control are not supported.
- LibreOffice rendering may paginate or substitute fonts differently from Microsoft Word.
- Source files are preserved unless replacement is explicitly requested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/docx/SKILL.md, skills/docx/scripts/docx.sh, skills/docx/scripts/docx_cli.py, skills/docx/scripts/docxlib/__init__.py, skills/docx/scripts/docxlib/annotations.py, skills/docx/scripts/docxlib/common.py, skills/docx/scripts/docxlib/core.py, skills/docx/scripts/docxlib/delivery.py, skills/docx/scripts/docxlib/render.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE1 KB -
SKILL.md5 KB -
references/optional-tools.md2 KB -
references/word-specifics.md2 KB -
requirements.txt52 B
Show all 14 files
-
scripts/docx.sh4 KB -
scripts/docx_cli.py6 KB -
scripts/docxlib/__init__.py43 B -
scripts/docxlib/annotations.py23 KB -
scripts/docxlib/common.py21 KB -
scripts/docxlib/core.py28 KB -
scripts/docxlib/delivery.py4 KB -
scripts/docxlib/render.py12 KB -
scripts/docxlib/smoke.py6 KB
Alternatives to docx
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
docx: common questions
Can it edit an existing Word file without rebuilding it?
Yes. The skill prefers localized edits to reconstruction when modifying an existing document, and it inspects package-sensitive features before round-tripping them.
Does it support .doc or .docm files?
No. The skill is limited to .docx files and excludes legacy .doc, macro-enabled .docm, and live Microsoft Word control.
Does the optional CLI decide whether a document is good?
No. The CLI provides facts and images only. The model's review judges the prose, facts, design, and requested outcome.
How do I install docx?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docx free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is docx safe to use?
It scores 86 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docx?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
