// summary
OfficeCLI is an open-source command-line tool that enables AI agents to create, read, and modify Microsoft Office documents without requiring local Office installations. It features a three-layer architecture that allows for simple semantic views, structured element manipulation, and direct XML access. The tool supports seamless integration with AI coding agents through a built-in MCP server and automatic skill configuration.
// technical analysis
OfficeCLI is a specialized command-line interface designed to provide AI agents with direct, programmatic control over Microsoft Office documents without requiring an Office installation or external dependencies. Its architecture utilizes a three-layer approach—ranging from high-level semantic views to low-level raw XML access—which allows AI agents to interact with documents efficiently while minimizing token usage. By providing deterministic JSON output and path-based addressing, the tool solves the complexity of traditional Office automation, enabling agents to create, read, and modify documents through simple, atomic commands.
// key highlights
// use cases
// getting started
To begin, install the binary using the provided curl command for your OS (macOS/Linux) or PowerShell (Windows). Once installed, you can immediately start creating or modifying documents using commands like 'officecli create' or 'officecli add'. For AI agents, simply feed the 'SKILL.md' file to your agent or use the 'officecli mcp' command to register the tool with your preferred AI coding environment.