OfficeCLI: Give any AI agent full control over Word, Excel, and PowerPoint (33k stars)
What it does
All text below is quoted directly from the project README.
>OfficeCLI is the first and best Office suite purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source, single binary, no Office installation required.
Why your agent will thrive on OfficeCLI:
- Deterministic JSON output: every command supports --json with consistent schemas. No regex parsing, no scraping stdout.
- Path-based addressing: every element has a stable path (/slide[1]/shape[2]). Agents navigate documents without understanding XML namespaces.
- Self-healing workflow: validate, view issues, and the structured error codes (not_found, invalid_value, unsupported_property) return suggestions and valid ranges. Agents self-correct without human intervention.
- Built-in agent-friendly rendering engine: view html / view screenshot / watch emit HTML and PNG natively. No Office required.
- Template merge: agent designs the layout once, downstream code fills {{key}} placeholders N times. Avoids burning tokens regenerating every report from scratch.
- Round-trip dump: dump turns any .docx, .pptx, or .xlsx into replayable batch JSON. Agents learn from human-authored samples by reading a structured spec, not raw OOXML XML.
- Auto-install: OfficeCLI detects your AI tooling (Claude Code, Cursor, VS Code, ...) and configures itself. No manual skill-file setup.
>curl -fsSL https://officecli.ai/SKILL.md
Repository
iOfficeAI/OfficeCLI
Repository stats
|Metric|Value|
|:-|:-|
|Stars|32,670|
|Forks|2.2k|
|Last release|v1.0.159 (2026-10-27)|
|Languages|C# 94.8%, Shell 3.8%, JavaScript 0.8%|
|Contributors|23|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|@claude (59 commits), @Copilot (9 commits)|
|AI co-authored commits|Claude: 48, Cursor: 1|
Main contributor
|Field|Value|
|:-|:-|
|Name|goworm|
|GitHub|@goworm|
|Commits to this repo|6,016 (top contributor)|
|Bio|The Builder Of OfficeCLI|
|Followers|103|
──────────────────────────────
📌 How many great GitHub repos have you discovered and completely forgotten about?
Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week.
📬 Never lose track of great repos again. Subscribe free.
54 points · 1 comment
Mentions
1. 말 한마디로 AI가 파워포인트와 워드, 엑셀 파일을 만들고 고쳐줍니다. 컴퓨터에 오피스 프로그램이 없어도 돌아가요. iOfficeAI/OfficeCLI
💸 WPS 会员到期,转个 PDF 都要充钱。 OfficeCLI:32835★,命令行批量转 PDF、抽表格数据、改文件名,还能接给 AI 助手调用。 iOfficeAI/OfficeCLI
同一条文档命令,常驻进程跑出来却不一样。有点离谱。 开源文档工具 OfficeCLI 1.0.160 把两份 view 实现合并,修的是截图尺寸、页码等路径差异。 你做 Agent 工具时,单次启动测过了,后台复用那条路也要对照测。 #Agent工具 github.com/iOfficeAI/OfficeCLI/compare/v1.0.159..…
OfficeCLI: Give any AI agent full control over Word, Excel, and PowerPoint (33k stars) What it does All text below is quoted directly from the project README. >OfficeCLI is the first and best Office suite purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source, single binary, no Office installation required. Why your agent will thrive on OfficeCLI: - Deterministic JSON output: every command supports --json with consistent schemas. No regex parsing, no scraping stdout. - Path-based addressing: every element has a stable path (/slide[1]/shape[2]). Agents navigate documents without understanding XML namespaces. - Self-healing workflow: validate, view issues, and the structured error codes (not_found, invalid_value, unsupported_property) return suggestions and valid ranges. Agents self-correct without human intervention. - Built-in agent-friendly rendering engine: view html / view screenshot / watch emit HTML and PNG natively. No Office required. - Template merge: agent designs the layout once, downstream code fills {{key}} placeholders N times. Avoids burning tokens regenerating every report from scratch. - Round-trip dump: dump turns any .docx, .pptx, or .xlsx into replayable batch JSON. Agents learn from human-authored samples by reading a structured spec, not raw OOXML XML. - Auto-install: OfficeCLI detects your AI tooling (Claude Code, Cursor, VS Code, ...) and configures itself. No manual skill-file setup. >curl -fsSL https://officecli.ai/SKILL.md Repository iOfficeAI/OfficeCLI Repository stats |Metric|Value| |:-|:-| |Stars|32,670| |Forks|2.2k| |Last release|v1.0.159 (2026-10-27)| |Languages|C# 94.8%, Shell 3.8%, JavaScript 0.8%| |Contributors|23| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|@claude (59 commits), @Copilot (9 commits)| |AI co-authored commits|Claude: 48, Cursor: 1| Main contributor |Field|Value| |:-|:-| |Name|goworm| |GitHub|@goworm| |Commits to this repo|6,016 (top contributor)| |Bio|The Builder Of OfficeCLI| |Followers|103| ────────────────────────────── 📌 How many great GitHub repos have you discovered and completely forgotten about? Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week. 📬 Never lose track of great repos again. Subscribe free.
agent 改 PPT 最头疼的不是内容,是改完格式崩了。 OfficeCLI 专给 agent 用:单文件读写 Word、Excel、PPT,免装 Office,渲染成图自查排版。 批量出报告、做演示文稿适合,偶尔改文档没必要上。 放心让 agent 改客户的 PPT 吗? #AI办公 #开源工具 @grok iOfficeAI/OfficeCLI
以后做 Word、Excel、PPT,可能连软件都不用自己打开了! 开源项目 OfficeCLI,一句话就能让 AI 生成报告、表格和演示稿。更狠的是,它还能渲染文档、检查排版,发现问题自动修复,形成生成→检查→修改的闭环。 GitHub:iOfficeAI/OfficeCLI t.co