{"repo":"kklimuk/docx-cli","free":true,"listed":false,"github":"https://github.com/kklimuk/docx-cli","clone":"git clone https://github.com/kklimuk/docx-cli.git","description":"CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity.","language":"TypeScript","stars":182,"topics":["agent-skills","ai-agents","anthropic-skills","claude-code","claude-skill","cli","codex","docx","ooxml","word"],"license":"MIT","category":"cli-tools","readme_excerpt":"docx-cli A .docx CLI built for AI agents. Leave comments, suggest redlines, and edit Word documents without breaking the formatting or losing content — a human accepts or rejects in Word afterward. - Hand a .docx to Claude or Codex and get back a redlined copy with comments — open it in Word, accept or reject as usual. - Agents address text by stable locators with character offsets ( p3:5-20 ); humans see normal Word formatting on disk. - Custom styles, theme colors, embedded objects — all of it survives. The CLI mutates XML in place rather than re-emitting from a lossy model. Why docx-cli? The default way agents edit Word docs is to unzip the .docx and hand-write the OOXML inside. That takes a strong model to get right, burns tokens, and routinely produces a file Word won't open. docx-cli hands the agent plain commands plus an annotated-Markdown read view, so it never has to reason about the XML. We measured it — a controlled A/B bake-off: six real document tasks (fill an NDA, fill an invoice, restyle a résumé, redline a contract, finalize a contract, author a journal), the same starting files, and one independent judge grading every result from the Word-rendered pages . Three runs per arm at each of two model tiers. Haiku columns: July 2026 rerun on v0.20.4; Sonnet columns: June 2026 bake-off ( not Sonnet 5): Haiku (weak, cheap) Sonnet (strong, June run — not Sonnet 5) :------------------------- ------------------: --------------------: -------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/kklimuk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kklimuk/docx-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}