officecli

Create, inspect, and modify Word, Excel, and PowerPoint documents via CLI.

3|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/anthonyhtang/OfficeCLI-enhanced-codex --skill officecli-anthonyhtang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli
Source: https://github.com/anthonyhtang/OfficeCLI-enhanced-codex/tree/main
Command: npx skills add https://github.com/anthonyhtang/OfficeCLI-enhanced-codex --skill officecli-anthonyhtang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents and developers often struggle to manage Word, Excel, and PowerPoint documents across multiple tools. OfficeCLI provides a unified, AI-friendly CLI to create, inspect, and modify these documents from a single interface.

Core Features & Use Cases

  • Create, read, modify, and validate Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files from scripts or AI agents.
  • Support for JSON output, resident mode, and MCP server integration to enable reliable automation and AI tool integration.
  • Use cases include automated report generation, batch document edits, template-driven document production, and programmatic workflow QA.

Quick Start

Install OfficeCLI and start using a single command to create, inspect, and modify documents.

Frequently Asked Questions about officecli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate batch edits across docx, xlsx, and pptx files?

You can automate batch edits across docx, xlsx, and pptx files by using a single AI-friendly CLI to programmatically create, inspect, and modify Word, Excel, and PowerPoint documents. This enables reliable automated document generation and validation.

What is the best way to integrate Office document automation with an AI agent?

Integrating Office document automation with an AI agent is best achieved via MCP server integration and JSON outputs. This allows AI agents to reliably execute document generation, inspection, and modification tasks through a single self-contained CLI.

Can I validate and inspect Word documents programmatically without opening the application?

Yes, you can validate and inspect Word documents programmatically without opening the application by executing specific CLI commands. The tool outputs JSON data, allowing scripts and AI agents to read document structures and perform programmatic workflow QA.

Does this document management CLI require any external dependencies or installations?

Yes, this document management CLI requires the OfficeCLI binary to be installed on your system. Once the binary is set up, it supports resident mode and provides a self-contained execution environment for automating your document workflows.

How does template-driven PowerPoint generation work from a command line interface?

Template-driven PowerPoint generation works from a command line interface by passing parameters to the CLI, which then programmatically modifies pptx files. It supports automated report generation and batch document production based on predefined templates.

Are there limitations when using a CLI for Office document modification versus traditional libraries?

Unlike traditional libraries, using a CLI for Office document modification provides a unified, AI-friendly interface with JSON outputs and resident mode. It is optimized for AI agent integration and batch edits, though it requires the specific binary installed to function.