officecli

Generate and edit Word, Excel, and PowerPoint documents from the terminal.

88|108|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/grandamenium/cortextos --skill officecli-grandamenium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli
Source: https://github.com/grandamenium/cortextos/tree/main/community/skills/officecli
Command: npx skills add https://github.com/grandamenium/cortextos --skill officecli-grandamenium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of producing professional Word, Excel, and PowerPoint files when you do not have Microsoft Office installed, enabling you to generate reports and presentations from the command line.

Core Features & Use Cases

  • Office document creation & editing: Create and modify .docx, .xlsx, and .pptx files directly via terminal commands, including adding text, formatting, tables, slides, and shapes.
  • Structured reading for analysis: Extract outlines, full text, and document stats, with JSON output options for downstream automation.
  • Templating and batch updates: Merge templates with variables and apply multi-step operations using batch JSON scripts for repeatable reporting workflows.

Quick Start

Ask the agent to create a monthly owner report Word file and populate it with headings and a metrics table using officecli.

Frequently Asked Questions about officecli

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

FAQPage Schema
Can I create PowerPoint presentations from the command line?

Yes, you can create and edit .pptx presentation decks from the command line by executing terminal commands to add slides, text, and shapes directly to the files.

How do I extract text from Word and Excel files for downstream automation?

You can extract outlines, full text, and document stats from Word and Excel files using structured reading commands with optional JSON output, providing structured data for downstream automation workflows.

What is the best way to automate repeatable report generation for Word and Excel?

The best way to automate repeatable report generation is merging templates with variables and applying multi-step operations via batch JSON scripts, producing accurate Word and Excel files repeatedly.

Do I need Microsoft Office installed to edit .docx, .xlsx, and .pptx files via terminal automation?

No, you do not need Microsoft Office installed. The officecli binary operates independently via terminal commands, requiring only accessible .docx, .xlsx, and .pptx files to read and write document content.

Are there limitations when using terminal commands to format Office documents like .docx files?

Limitations include relying entirely on command-based path targeting for formatting, meaning complex visual formatting might require precise batch JSON scripts rather than interactive graphical editing capabilities.