officecli

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

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hirakawat-hmp/.claude --skill officecli-hirakawat-hmp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli
Source: https://github.com/hirakawat-hmp/.claude/tree/main/skills/officecli
Command: npx skills add https://github.com/hirakawat-hmp/.claude --skill officecli-hirakawat-hmp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Office documents across Word, Excel, and PowerPoint can be tedious, error-prone, and time-consuming when done manually. This skill provides a unified CLI to create, inspect, format, find issues, and modify Office documents efficiently.

Core Features & Use Cases

  • Create, view, validate, and modify .docx, .xlsx, and .pptx documents from a single binary.
  • Read content, query structure, and apply batch edits; supports high-level operations and raw XML when needed.
  • Use with specialized skills via load_skill for domain-specific rules and workflows.

Quick Start

Install officecli on your system, then create a new document and apply a set of edits to validate the workflow.

Frequently Asked Questions about officecli

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

FAQPage Schema
How do I automate Office document creation and editing from the command line?

You can automate Office document creation and editing from the command line by using a single CLI binary to create, inspect, format, and modify .docx, .xlsx, and .pptx files. It supports high-level operations and raw XML edits for comprehensive workflows.

Can I batch update Word, Excel, and PowerPoint files without opening them?

Yes, you can batch update Word, Excel, and PowerPoint files without opening them by applying batch edits and structural queries via the CLI. This allows efficient content updates and issue remediation across multiple Office documents.

What is the best way to validate formatting and find issues in Office documents?

The best way to validate formatting and find issues in Office documents is to use the CLI's validate and query operations. These features inspect .docx, .xlsx, and .pptx structures to identify formatting errors and content inconsistencies.

Do I need to install any dependencies to use the officecli command-line tool?

You do not need external dependencies to use the officecli command-line tool, but you must install the officecli binary on your system. Once installed, it supports resident mode and can load domain-specific rules via optional specialized skills.

Does the CLI support raw XML operations for OpenXML files?

Yes, the CLI supports raw XML operations for OpenXML files. When high-level view, get, or set commands are insufficient, you can directly manipulate the underlying XML of .docx, .xlsx, and .pptx documents for precise modifications.

When should I not use a command-line approach for Office document modification?

You should not use a command-line approach for Office document modification when tasks require visual layout design or complex manual formatting. The CLI is optimized for automated report drafting, batch edits, and structural validation rather than interactive visual design.