docx-cli

Let AI agents edit Word documents without breaking them: fill in forms, update tables, restyle, write reports, and redline with tracked changes and comments.

What is docx-cli?

Let AI agents edit Word documents without breaking them: fill in forms, update tables, restyle, write reports, and redline with tracked changes and comments.

Overview of docx-cli

What it is

docx-cli is a tool that lets AI agents edit Word documents without breaking them. It can fill in contracts and forms, update tables and figures, restyle a résumé, write a report from scratch, and review a draft with tracked changes and comments. It is open source under the MIT license.

Key features

  • Fill in contracts and forms, update tables and figures, restyle a résumé, write a report from scratch, and review with tracked changes and comments.
  • Standardizes most operations as creating, updating, deleting, or replacing Markdown.
  • Tuned to work with less-capable models (e.g., Haiku, Luna, Qwen 3.5 9B).
  • Built for review workflows: handles change tracking, accept/reject changes, and interactions from multiple reviewers.
  • Works with any harness: Claude Code, Codex, Pi, and anything that reads the open Agent Skills format.
  • On a six-task benchmark using Haiku 5.5, docx-cli solved all six tasks with 902k input tokens, 32k output tokens, 914 seconds wall-clock time, and 98 tool calls.

Use cases

  • Editing existing documents: contracts, résumés, invoices, and other Word files.
  • Writing new documents from scratch.
  • Reviewing drafts with tracked changes and comments.
  • Automating document workflows where an AI agent needs to modify Word files directly.

Getting started

text # Install the skill for any agent: npx skills add kklimuk/docx-cli # Install the docx program (if Bun is installed): bun add -g bun-docx # Otherwise, use the install script from the releases page. # See the repository README for agent-specific instructions.

License and pricing

The license is MIT. The pricing type is open source, meaning it is free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/kklimukdocx-cli.svg)](https://yunodb.com/tools/kklimukdocx-cli?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/kklimukdocx-cli?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/kklimukdocx-cli.svg" alt="Featured on YunoDB" height="20"></a>