docx
Skill by MiniMax-AI
Creates, edits, reads, repairs and compares Word DOCX files, and applies templates to them. It is for formal Word deliverables and DOCX diagnosis, not PDF, PPT or casual drafting.
Install docx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MiniMax-AI/minimax-code /tmp/minimax-code && mkdir -p ~/.claude/skills && cp -r /tmp/minimax-code/packages/local-runtime/assets/skills/docx ~/.claude/skills/docxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/MiniMax-AI/minimax-code /tmp/minimax-code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/minimax-code/packages/local-runtime/assets/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 creates, applies templates to, edits and fills, reads, repairs and compares Word DOCX files. It starts with a dispatch layer that picks one route, such as creating a new document, applying a template, or diagnosing layout defects, and then loads the guide for that route. Generation uses benchmarked style recipes, a .NET CLI, and rendered acceptance checks after writing.
The source says it is for formal Word deliverables and DOCX diagnosis, such as reports, proposals, contracts, memos, theses and official documents (公文). It is not for PDF or PPT deliverables, and it does not route formal DOCX creation through pandoc. Environment checks run at three levels, read, render and full, and generation needs dotnet, pandoc and soffice.
Written from the project's SKILL.md and checked against it.
What it can do
- Create DOCXAuthors a new report, proposal, contract, memo, thesis or official document.
- Apply templateMoves existing content into a template or institutional visual style while keeping the content.
- Edit and fillChanges content in an existing DOCX in place while keeping it the same document.
- Read contentSummarizes, quotes or retrieves text from a Word file.
- Read structureInspects styles, sections, numbering, TOC, comments and revisions.
- Read rendered pagesChecks what the pages actually look like after rendering.
- Repair layoutFixes page-level defects, using rendered and structure checks.
- Compare two DOCX filesExplains before and after or source and template differences across content, structure and rendering.
- Convert DOCX to PDFConverts a Word file to PDF while preserving layout, then verifies the PDF.
What you need
- macOS, Linux, WSL or Windows with PowerShell 5.1+
- python3 and unzip (or tar.exe on Windows 10+)
- soffice and pdftoppm or pdftocairo for rendering
- dotnet 9 or later, pandoc and zip for full generation
Try asking
- Create a formal contract in DOCX from these clauses and numbering rules
- Apply our company template to this report and keep the content
- Fix the header and footer page numbers in this Word file
Good to know
- Not for PDF or PPT deliverables, or casual plain-text drafting.
- Formal DOCX creation is never routed to pandoc as a generation backend.
- If the read gate fails, the skill cannot load at all.
- If a chosen backend gate fails, the skill stops and reports it instead of switching backends.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/local-runtime/assets/skills/docx/SKILL.md, packages/local-runtime/assets/skills/docx/scripts/build_patch_plan.py, packages/local-runtime/assets/skills/docx/scripts/diff_docx_structure.py, packages/local-runtime/assets/skills/docx/scripts/doc_to_docx.ps1, packages/local-runtime/assets/skills/docx/scripts/doc_to_docx.sh, packages/local-runtime/assets/skills/docx/scripts/docx_preview.ps1, packages/local-runtime/assets/skills/docx/scripts/docx_preview.sh, packages/local-runtime/assets/skills/docx/scripts/docx_to_pdf.py, packages/local-runtime/assets/skills/docx/scripts/env_check.ps1. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore17 B -
LICENSE1 KB -
SKILL.md11 KB -
assets/styles/academic_styles.xml7 KB -
assets/styles/corporate_styles.xml8 KB
Show all 116 files
-
assets/styles/default_styles.xml12 KB -
assets/xsd/aesthetic-rules.xsd25 KB -
assets/xsd/business-rules.xsd5 KB -
assets/xsd/common-types.xsd5 KB -
assets/xsd/wml-subset.xsd25 KB -
docs/acceptance-checklists/create.md212 B -
docs/acceptance-checklists/edit.md206 B -
docs/acceptance-checklists/layout-repair.md212 B -
docs/acceptance-checklists/template.md193 B -
docs/acceptance.md4 KB -
docs/anti-patterns.md663 B -
docs/backends.md4 KB -
docs/evidence.md3 KB -
docs/failure-taxonomy.md2 KB -
docs/index.md2 KB -
docs/rendered-delivery.md5 KB -
docs/router.md4 KB -
docs/tables-and-numbering.md866 B -
docs/task-apply-template.md6 KB -
docs/task-compare-two-docx.md1 KB -
docs/task-create.md5 KB -
docs/task-edit-fill.md2 KB -
docs/task-read-content.md6 KB -
docs/task-read-rendered.md3 KB -
docs/task-read-structure.md5 KB
And 86 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 a DOCX file to PDF?
Yes. It uses docx_to_pdf.py, with soffice --headless as a fallback, and then verifies the PDF. The source says this is for preserving layout.
Can it generate Word files with pandoc?
No. The source says formal CREATE_DOCX is never routed to pandoc as a generation backend, and pandoc is not used for formal output.
Does it work on Windows?
Yes. The source provides PowerShell setup and environment check scripts for Windows, and says .sh scripts should not run through git-bash.
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 MIT licence. The service it connects to may have its own pricing.
Is docx safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, 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: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
