A CLI that lets Claude directly manipulate Office files without needing Office installed. It's genuinely AI-friendly with a three-layer API (read, DOM edit, raw XML) and a help system that shows exact property names and syntax instead of making you guess. The resident mode is smart for multi-step workflows since it keeps files in memory between commands. Supports all the basics like adding slides, formatting paragraphs, setting cell values, plus a batch mode for atomic operations. The view modes are handy too, especially the issues detector for catching formatting problems. One caveat: it uses numeric indexing for elements, so you can't reference things by name directly. Best when you need programmatic Office document creation or bulk modifications where the Office GUI would be tedious.

GitHub stars
2.4K
last updated
Jun 11, 2026

Install

$ npx -y skills add heshengtao/super-agent-party --skill officeCLI --agent claude-code

Installs into .claude/skills of the current project.

Files

officecli

AI-friendly CLI for .docx, .xlsx, .pptx. Single binary, no dependencies, no Office installation needed.

Install & Update

Same command for both install and upgrade:

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash

# Windows (PowerShell)
irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex

After installation, run source ~/.zshrc (macOS) or source ~/.bashrc (Linux) to make the officecli command available.

Verify: officecli --version

officecli auto-updates daily in the background.


Strategy

L1 (read) → L2 (DOM edit) → L3 (raw XML). Always prefer higher layers. Add --json for structured output.


Help System (IMPORTANT)

When unsure about property names, value formats, or command syntax, ALWAYS run help instead of guessing. One help query is faster than guess-fail-retry loops.

Sponsors

Details

Repository
github.com/heshengtao/super-agent-party
Categories
AI & Agent Building, CLI & Terminal, Office & Documents
License
AGPL-3.0
First seen
Jun 11, 2026

More from heshengtao/super-agent-party

All 4
1heshengtao avatarsap-extension-creatorheshengtao/super-agent-partyCreate Super Agent Party (SAP) extensions. This skill should be used when users want to create, build, or scaffold a new extension for Super Agent Party - inclu0skills.sh installs
2hoangnguyen0403 avatarcavemanhoangnguyen0403/agent-skills-standard>0skills.sh installs
3hoangnguyen0403 avatarcodebase-reviewhoangnguyen0403/agent-skills-standardReview an entire codebase against framework best practices and generate a prioritized improvement plan.0skills.sh installs
4hoangnguyen0403 avatarSkill Creatorhoangnguyen0403/agent-skills-standardStandards for creating new High-Density Agent Skills with optimal token economy.0skills.sh installs
5hoangsonww avatarproductivity-scorehoangsonww/claude-code-agent-monitor>0skills.sh installs
6hoangsonww avatarrelease-guardhoangsonww/claude-code-agent-monitorRun release-readiness checks for this repository. Use when validating docs, scripts, verification coverage, and operational safety before merge or release.0skills.sh installs