| name | OfficeCLI |
| description | Office suite purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. |
| version | 1 |
OfficeCLI
OfficeCLI empowers AI agents to manipulate Microsoft Office documents directly from the terminal without requiring any local Office installation, COM interop, or heavy dependencies.
Installation
Windows (PowerShell)
irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash
Headless AI Value-Add & Workflows
- Data Extraction & Ingestion: Never attempt to parse
.xlsx or .docx xml zip contents manually. Instead, use officecli get document.pptx '/slide[1]/shape[1]' --json to instantly fetch a structured JSON representation of the target element.
- Automated Report Generation: When tasked with generating a business report, build it iteratively via the CLI.
officecli create report.docx
officecli add report.docx / --type paragraph --prop text="Q3 Financials"
- Visual Feedback Loop Verification: Since AI agents cannot naturally "see" a
.pptx, you can export it to HTML (officecli view deck.pptx html) and optionally use Playwright (if available in your workspace) to screenshot the resulting rendering and verify visual alignment.
- Excel CI/CD Validation: Use OfficeCLI to automatically pull test data from a
.xlsx spreadsheet, pass it to your script, and then write the results back into a new column, fully automating regression testing for non-technical teams.