OfficeCLI

Automate Office document workflows via command-line operations.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/lizhihuajob/OceanOfficeCLI --skill officecli-lizhihuajob
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: OfficeCLI
Source: https://github.com/lizhihuajob/OceanOfficeCLI/tree/main/OfficeCLI-main
Command: npx skills add https://github.com/lizhihuajob/OceanOfficeCLI --skill officecli-lizhihuajob

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables users to create, analyze, and modify Office documents programmatically, reducing manual effort and streamlining workflows.

Core Features & Use Cases

  • Document Creation & Editing: Generate, read, and update Word, Excel, and PowerPoint files with commands.
  • Content Validation & Issue Detection: Verify document conformance and identify formatting problems automatically.
  • Template Merging & Data Filling: Populate templates with JSON data for reports and batch generation.
  • Use Case Example: An accountant can automate invoice creation by merging data into Word templates or generate performance dashboards in Excel.

Quick Start

Use OfficeCLI to create a new PowerPoint file, add a slide with a title, and view the outline with a single command.

Frequently Asked Questions about OfficeCLI

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

FAQPage Schema
How do I automate Word document creation using a command-line interface?

Automate Excel report generation by using batch operations to populate templates with JSON data. This enables efficient batch generation of performance dashboards and financial reports without manual data entry.

Can I validate formatting issues in Office documents programmatically?

Yes, you can programmatically create, analyze, and modify Word, Excel, and PowerPoint files. This tool provides a comprehensive command-line interface to automate document workflows, including creation, editing, and content querying.

What is the best way to generate PowerPoint slides automatically?

Automate PowerPoint generation by using CLI commands to create new files, add slides with titles, and view outlines. This streamlines presentation creation and editing directly from the command line.

Does OfficeCLI support merging JSON data into Word templates for invoices?

Populate Word templates with JSON data to automate invoice creation and batch report generation. This template merging feature streamlines document management and generation tasks directly from the CLI.

Can I batch edit Excel and PowerPoint files without opening the applications?

Perform batch operations to edit Excel and PowerPoint files programmatically without opening the applications. This supports content querying, validation, and efficient document management across multiple formats.

What are the limitations of automating Office documents via CLI?

While CLI automation excels at batch operations and template merging, limitations may include handling highly complex visual layouts. It is optimized for programmatic document creation, validation, and content querying workflows.