officecli

Create, inspect, and modify Word, Excel, and PowerPoint documents via the OfficeCLI command-line tool.

1|Updated Jul 22, 2026
One-click install
npx skills add https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux --skill officecli-iceheartgith
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: officecli
Source: https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux/tree/main/custom-skills/productivity/officecli
Command: npx skills add https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux --skill officecli-iceheartgith

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Office documents (.docx, .xlsx, .pptx) from a terminal or AI agent normally requires heavy libraries or an Office installation. This Skill teaches the agent to use the OfficeCLI single-binary CLI to create, read, analyze, and edit Office documents with structured JSON output, while adding Hermes/Termux safety rules that prevent unverified auto-installation on Android. ## Core Features & Use Cases - Three-layer document control: Read documents with semantic views (outline, text, issues, HTML), edit elements through path-based DOM operations (get, query, set, add, remove, move), and fall back to raw XML when needed. - Format coverage: Build Word reports with styles and tracked changes, Excel workbooks with formulas, pivot tables, and charts, and PowerPoint decks with shapes, animations, and transitions. - Hermes/Termux adaptation: Verifies the officecli binary exists and is compatible before running commands, and falls back to the docx, xlsx, powerpoint, or pdf skills when it is unavailable. - Use Case: Ask the agent to build a Q4 sales deck: it creates slides.pptx, adds titled slides and text shapes, validates the file, and previews it as HTML. ## Quick Start Ask the agent to create a PowerPoint file named deck.pptx with a title slide reading "Q4 Report" using the officecli skill.

Frequently Asked Questions about officecli

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

FAQPage Schema
How do I create and edit Word, Excel, or PowerPoint files from the command line?▼

Use officecli create to make a blank .docx, .xlsx, or .pptx, then add and set commands with paths like '/slide[1]' and --prop key=value flags to insert content. Verify results with officecli view outline and officecli validate.

What is OfficeCLI used for with AI agents?▼

OfficeCLI is a single-binary CLI that lets AI agents create, read, and modify Office documents with deterministic JSON output and path-based element addressing. It includes a help system, validation, batch operations, and an HTML rendering engine for visual feedback.

Does officecli work on Android with Termux?▼

This Hermes adaptation does not auto-install OfficeCLI on Termux. It first checks command -v officecli and officecli --version for binary compatibility, and falls back to the docx, xlsx, powerpoint, or pdf skills if the binary is missing or incompatible.

How do I find the right property names for officecli commands?▼

Run officecli help <format> <element>, for example officecli help docx paragraph, to see the full schema of properties, aliases, and examples. The skill instructs agents to always query help instead of guessing syntax.

What are the limitations of officecli batch operations?▼

Batches are atomic by default: if any item fails, the whole batch rolls back and the file stays byte-identical. Use --best-effort to keep partial successes, and note that failed items carry machine-readable error codes.