officeCLI

Create, inspect, and edit Word, Excel, and PowerPoint files via CLI.

2.6k|274|Updated Mar 8, 2025
One-click install
npx skills add https://github.com/heshengtao/super-agent-party --skill officecli-heshengtao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officeCLI
Source: https://github.com/heshengtao/super-agent-party/tree/main/skills/officeCLI
Command: npx skills add https://github.com/heshengtao/super-agent-party --skill officecli-heshengtao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables users to automate creating, inspecting, and editing Office documents, reducing manual effort and minimizing errors.

Core Features & Use Cases

  • Document Automation: Generate new Word, Excel, or PowerPoint files with tailored content or structures.
  • Complex Inspection: View document outlines, gather statistics, and identify formatting issues.
  • Editing & Modification: Change text, styles, charts, and layout programmatically.
  • Use Case: A user wants to automatically update a quarterly report by modifying specific tables and adding new slides with consistent formatting.

Quick Start

Create a PowerPoint presentation named "AnnualPlan.pptx" and add a slide with a title and background color.

Frequently Asked Questions about officeCLI

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

FAQPage Schema
How do I automate creating and editing Office documents without installing Word or Excel?

Automating Office document creation and editing is possible using command-line operations. The officecli CLI tool enables you to generate, inspect, and modify Word, Excel, and PowerPoint files seamlessly without requiring a local Office installation.

What is the best way to automate updating an existing PowerPoint presentation and Word report?

Automating report updates is best handled through programmatic document modification. You can use command-line control to change specific text, styles, and layouts, allowing you to update existing PowerPoint slides and Word files with consistent formatting.

Can I inspect and check formatting issues in Word and Excel files programmatically?

Inspecting and checking formatting issues in Word and Excel files can be done programmatically. The command-line interface supports deep document structure navigation, allowing you to view outlines, gather statistics, and identify formatting inconsistencies automatically.

Does this document automation approach require Microsoft Office to be installed on my machine?

This document automation approach does not require Microsoft Office to be installed. It relies on the officecli CLI tool to run operations directly, enabling you to create and modify documents seamlessly in environments without Office software.

How do I generate a new PowerPoint file and add slides with specific background colors via command line?

Generating a new PowerPoint file and adding slides via command line involves executing specific CLI commands. You can create a presentation, add slides with titles, and programmatically set background colors and styles as part of your document automation workflow.

What are the limitations of using command-line control for Office document modification?

Limitations of command-line Office document modification include its intermediate implementation depth, which may require understanding document structure navigation. It is specifically suited for automating report generation and precise adjustments rather than complex visual design tasks.