Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 84
  • 2.3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/docx

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install docx in Claude Code

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

A

No 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 →

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.

Add to stack

Loading.