Read and edit Word, Excel, and PowerPoint files
OfficeCLI is an office suite built for agents to read and edit Microsoft Office files.
Done with a custom-built or unnamed agent
- What they did
- OfficeCLI is a single binary with no Office install needed. Running its install command adds a skill to detected agents such as Claude Code, Cursor, Windsurf and GitHub Copilot. The agent then uses commands like create, add, set, get and view to build or edit .docx, .xlsx and .pptx files. It can render pages to HTML or PNG to check its own work, and a live browser preview updates after each command.
- How it went
- The README shows sample decks, Word documents and spreadsheets that it says agents made with no templates or manual editing. It gives no benchmarks or failure cases.
- Worth knowing
- Rendering to PNG screenshots works by piping HTML through a headless browser, so the look-and-fix loop may need one available. The binary also checks for updates in the background by default.
Try it yourself with Claude Code
I have an Office file at [file path]. Read it and [task, e.g. update the figures in the Excel sheet, fix the formatting in the Word doc, rework slides 3 to 6 in the PowerPoint]. Save the result as a new copy named [new file name], leave the original untouched, and give me a short list of everything you changed.
Discussion on HN · Jul 6, 2026
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
- GitHub Copilot
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Revise courses from student evaluation feedback
A professor had Claude Code summarize course-evaluation PDFs, filed themes as GitHub issues, and used agents to revise his security course and two others.
Reconcile bank statements with invoices
Cowork cleaned vendor names, categorized expenses, matched invoices to transactions, flagged missing ones, built an Excel file and renamed invoice files.
Turn Notion PRDs into scoped Linear tickets
Devin's docs describe reading a Notion PRD to create Linear tickets, producing implementation plans for a backlog, and posting customer health summaries to Slack.
- Custom agent
Contact job candidates for initial HR screening
A job seeker reports an AI agent calling and emailing them for a first HR screening.
Learn personal scripts from a tools folder
Claude Cowork read a folder of personal scripts for email, CRM, research and drafting, added them to memory, and carried the capabilities to a new interface.