Live data from Hacker News

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

github.com

21–30 of 37 posts

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

#23

I know that the office suite format is a relic which is hard to get rid of. But I can't help feeling that in these new AI era, that we should focus on leaving that proprietary format behind. It is one of the biggest facilitator of vendor lock in in the history of computing.

Hey, I'm building something a bit like that - please checkout https://smalldocs.org if you have time.

I say it’s as if “Claude Code & Microsoft Office had a baby...”

Code available: https://github.com/espressoplease/smalldocs

Discord: https://discord.gg/txjATTsDaq

Sample document: https://smalldocs.org/blogs/what-is-a-smalldoc

Invoked via Claude Code by saying stuff like: “sdoc me the plan for this feature”, or “dig into our logs and sdoc me a report on our latency"

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

#25

I know that the office suite format is a relic which is hard to get rid of. But I can't help feeling that in these new AI era, that we should focus on leaving that proprietary format behind. It is one of the biggest facilitator of vendor lock in in the history of computing.

Realistically... everyone's using it from students, to lawyers, to academics, and so on and so forth.

And given that LibreOffice and Google Docs are pretty good nowadays and OOXML is an open standard now post the monopoly rulings of the 90s, it's not quite as bad as it used to be.

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

#26
There have been a few similar posts on HN recently for working with MS Office docs:

https://github.com/iOfficeAI/OfficeCLI

https://github.com/rcarmo/python-office-mcp-server

https://github.com/espressoplease/smalldocs

It would be great to see some benchmarks for token use, correctness, features etc.

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

#27

There have been a few similar posts on HN recently for working with MS Office docs: https://github.com/iOfficeAI/OfficeCLI https://github.com/rcarmo/python-office-mcp-server https://github.com/espressoplease/smalldocs It would be great to see some benchmarks for token use, correctness, features etc.

fair point! i've got some stats in the body of the github, and a skill that has the eval that i've built for it.

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

#28
post #10
post #5

I haven’t looked under the hood here but to make simple text replacement via command line is an LLM even required? A human driven command line tool to do basic substitution on batches of files reliably would be amazing.

sed, awk. docx is just zipped xml.

It is just zipped xml, but to do a search and replace while retaining document structure is very very complicated, and I’m struggling to think of how to combine sed and awk to achieve it.
Post reply on HN