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.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Discussion on HN · Jul 6, 2026
Related use cases
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.
Surface unanswered emails from the past week
Author had Devin build a Gmail API assistant that lists unanswered emails from the past week, since Attio lacks that tab; he wrote the auth part himself in Cursor.
Evaluate hiring candidates against competency levels
A commenter built a basic hiring agent loaded with competency definitions and levels for HR evaluation work.
Test AI browser agents on real workday tasks
The author ran Comet and another agent through real workday tasks like booking a flight and handling calendar chaos; one took 16 minutes to book while the other did the calendar work in about 5.
Handle pharmacy refill calls with a voice agent
A voice agent at a pharmacy takes refill calls, identifies patients, submits refills or queues renewal requests to prescribers, handling 380 refills in 30 days.
Custom agent
Organize non-coding project work for repeated agent runs
The poster sets up Claude Cowork for non-coding work with project notes, prompts, instructions, memory notes and audit logs to repeat tasks across projects.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.