docx
Skill by zai-org
Creates, edits, reviews and converts Word (.docx) files for AI assistants. It suits users who need professional Word documents or format conversion to PDF, images, Markdown or plain text.
Install docx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zai-org/ZCode /tmp/ZCode && mkdir -p ~/.claude/skills && cp -r /tmp/ZCode/apps/zcode-cli/packages/documents-plugin/skills/docx ~/.claude/skills/docxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/zai-org/ZCode /tmp/ZCode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ZCode/apps/zcode-cli/packages/documents-plugin/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 gives an AI assistant tools for creating, editing, reading and reviewing Word (.docx) files. The source describes a .docx file as a ZIP archive of XML files. The skill covers revisions, comments, formatting preservation and text extraction.
It also converts Word files: legacy .doc to .docx, DOCX to PDF, DOCX to PNG or JPG images for visual review or previews, and DOCX to Markdown or plain text. Each request is routed to create, edit, format, comment or read guidance. Optional scene guidance covers academic, report, contract, resume, exam, official and copywriting documents. It is aimed at users who need professional Word documents or format conversion.
Written from the project's SKILL.md and checked against it.
What it can do
- Create documentsCreates new Word documents using docx-js guidance.
- Edit documentsModifies existing DOCX files while preserving formatting.
- Handle revisionsWorks with revisions in Word documents.
- Add commentsAdds comments and annotations for review.
- Apply formattingSets fonts, margins, spacing and layout using shared rules.
- Read and extract textReads, analyzes and extracts text from DOCX files.
- Convert to PDFExports a DOCX file to PDF.
- Render to imagesConverts DOCX pages to PNG or JPG for review or previews.
- Convert legacy DOCConverts legacy .doc files to .docx.
- Export to MarkdownExtracts DOCX content to Markdown or plain text.
What you need
- Python (zcode-python or a system python3)
- LibreOffice for conversions and recalculation
- Bash for the setup script
Try asking
- Convert this report.docx to PDF and export each page as PNG.
- Add comments to the contract draft and flag unclear clauses.
- Create a formatted thesis document with a cover page and table of contents.
Good to know
- Input files are read-only by default; outputs go to new files.
- Editing an original in place requires an explicit request and a backup copy first.
- Prefers locally installed fonts and does not install fonts without user confirmation.
- Licensed under Proprietary terms; see LICENSE.txt.
Security check
C- Asks for administrator rights (sudo)In
apps/zcode-cli/packages/documents-plugin/skills/docx/env_setup/setup_mac_linux.sh:sudo
Checked automatically: apps/zcode-cli/packages/documents-plugin/skills/docx/SKILL.md, apps/zcode-cli/packages/documents-plugin/skills/docx/env_setup/env_check.sh, apps/zcode-cli/packages/documents-plugin/skills/docx/env_setup/setup_mac_linux.sh, apps/zcode-cli/packages/documents-plugin/skills/docx/env_setup/setup_windows.ps1, apps/zcode-cli/packages/documents-plugin/skills/docx/scripts/__init__.py, apps/zcode-cli/packages/documents-plugin/skills/docx/scripts/add_toc_placeholders.py, apps/zcode-cli/packages/documents-plugin/skills/docx/scripts/document.py, apps/zcode-cli/packages/documents-plugin/skills/docx/scripts/fix_footer_fields.py, apps/zcode-cli/packages/documents-plugin/skills/docx/scripts/postcheck.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt549 B -
SKILL.md19 KB -
env_setup/env_check.sh2 KB -
env_setup/font_list.txt5 KB -
env_setup/libreoffice-unmanaged.md4 KB
Show all 42 files
-
env_setup/setup.md15 KB -
env_setup/setup_mac_linux.sh10 KB -
env_setup/setup_windows.ps110 KB -
references/chart-templates.md13 KB -
references/common-rules.md24 KB -
references/decorations.md20 KB -
references/design-system.md77 KB -
references/docx-js-advanced.md9 KB -
references/docx-js-core.md10 KB -
references/faq.md12 KB -
references/math-formulas.md8 KB -
references/ooxml.md9 KB -
references/toc.md11 KB -
routes/comment.md3 KB -
routes/create.md12 KB -
routes/edit.md5 KB -
routes/format.md4 KB -
routes/read.md3 KB -
scenes/academic.md33 KB -
scenes/contract.md20 KB -
scenes/copywriting.md5 KB -
scenes/exam.md25 KB -
scenes/official-doc.md15 KB -
scenes/report.md15 KB -
scenes/resume.md21 KB
And 12 more files on GitHub.
Alternatives to docx
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
docx: common questions
Can it convert old .doc files?
Yes. The source says it converts legacy .doc files to .docx.
Will it overwrite my original Word file?
No, not by default. Input files are read-only and deliverables go to new files such as <stem>_updated.docx. An original is edited in place only if the user asks, and then a _backup.docx copy is made first.
Does it need LibreOffice?
The source runs a LibreOffice check before conversions or recalculation, so those tasks depend on LibreOffice being available.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is docx safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to docx?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
