docx-cli - AI agent CLI for reading and editing Word docs with full format fidelity

Show HN: Docx-CLI: agents read/edit Word docs using 1/2 the time and tokens

3kirillklimuk💬 1
docx-cli - AI agent CLI for reading and editing Word docs with full format fidelity

docx-cli is a command-line tool designed for AI agents like Claude and Codex to read, edit, and comment on .docx files without breaking formatting or losing content. By using stable locators and mutating XML in place, it allows agents to perform complex tasks like redlining contracts or filling NDAs with half the time and tokens compared to default methods. The tool ensures that every output opens cleanly in Microsoft Word, enabling humans to review, accept, or reject changes seamlessly. Available via npm or as a standalone binary, it serves as a robust skill for various AI harnesses, guaranteeing reliability even with weaker models.

"The correctness gap is widest on the cheap Haiku tier, and a frontier model never closes it — the default skill caps at 4/6, losing the contract redline and the résumé every Sonnet run."