Skip to content

OfficeCLI Office Documents

Create, inspect, proofread and edit .docx, .xlsx and .pptx files via the officecli command-line tool

Stars
32,939
Licence
Apache-2.0
Files
12 files

What it does

Once installed, the agent can create Word, Excel and PowerPoint files and read or change them through the officecli command-line tool, without needing Microsoft Office installed. It can list document structure, extract text, check for formatting problems, add slides, paragraphs, shapes, charts or spreadsheet cells, and export previews such as HTML or screenshots. The skill tells the agent to look up command syntax with built-in help rather than guessing.

Great for

  • People who need routine edits or audits across many Office files, such as formatting checks or bulk spreadsheet updates
  • Developers or analysts automating report generation in CI or scripts
  • Users who want an agent to draft or fix a deck, report or workbook from the terminal

Skip it if

  • Users who need the agent to edit files they cannot back up: the tool modifies documents in place and the skill describes keeping sessions in memory and saving or closing files, so unreviewed changes could overwrite originals
  • Users on systems where installing a downloaded binary via a curl-to-bash script is not allowed by their security policy
  • Specialised outputs like fundraising decks or financial models, which the skill says need separate skills loaded first

Try asking

  • “Check report.docx for formatting issues and list the problems by type”
  • “Create a PowerPoint with a title slide and a shape reading 'Revenue grew 25%'”
  • “Set header cells in data.xlsx to bold and fill in the first rows of data”
  • “Export a PNG screenshot of slide 3 of deck.pptx for review”
Step-by-step guide: how to use OfficeCLI Office DocumentsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 12 original files, the Apache-2.0 licence and an attribution note.

    officecli.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip officecli.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip officecli.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Let the agent run officecli help before editing so it uses correct property names, and keep copies of originals before bulk changes
  • Run officecli validate or view issues after edits to catch problems early
  • Review the curl-to-bash install command before running it, or install the binary manually from the official releases

What's inside

  • build.sh
  • CONTRIBUTING.md
  • CONTRIBUTING.zh.md
  • dev-install.sh
  • install.sh
  • README_ja.md
  • README_ko.md
  • README_zh.md
  • README.md
  • SECURITY.md
  • SKILL.md
  • THIRD-PARTY-NOTICES.txt

Redistributed unmodified from iOfficeAI/OfficeCLI under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.