Skip to content

OfficeCLI skill

Create and edit DOCX, XLSX and PPTX through an inspectable document command interface.

Official · iOfficeAI
AuthoriOfficeAI
LicenceApache-2.0
SourceiOfficeAI/OfficeCLI · SKILL.md on GitHub
Works inClaude Code
Read from the source on

OfficeCLI guides an agent through creating, reading and editing Word, Excel and PowerPoint files without requiring Microsoft Office.

The skill supplies instructions for a separate executable. Document inspection, Open XML validation and rendered previews serve different checks; a valid file can still have a poor layout.

From the skill's SKILL.md: officecli

This is an official skill from iOfficeAI. Like any skill it gives the agent instructions and may include scripts it runs, so install it from the source linked here, not from a copy elsewhere.

What it does

  1. Inspect the document tree and select the appropriate format-specific guidance.
  2. Apply targeted edits and validate the resulting document structure.
  3. Save or close the resident session before external inspection and final delivery.

What you get

  • Editable DOCX, XLSX and PPTX files, structured inspection results and optional rendered previews.

When to use it

  • Produce client proposals, spreadsheets or slide decks with explicit structural and visual checks.

When not to use it

  • Assuming copying SKILL.md installs the executable or that unsaved resident edits are already visible to other programs.

What it needs

  • A platform-matching OfficeCLI release binary and an agent with command execution. PNG rendering needs a headless browser; PDF export uses additional components or plugins.

Files in the skill

File or folderWhat it is for
SKILL.mdCore command guidance; specialist format skills and the executable are separate resources.

Licence as found in the repository on 2026-11-24: Apache-2.0.

Example prompts

Type one of these after installing; naming the skill makes sure it is used.

  • Inspect this DOCX, change only the quoted price and save a new copy.
  • Create an XLSX quote and verify the saved formulas independently.
  • Build a PPTX proposal, render it and repair any clipped text.

How to install officecli

Install the matching release binary

Download the appropriate executable from the upstream Releases page and verify it before use. The install command detects agents and can configure skills or MCP integration; review that configuration scope first.

officecli --version
officecli install

A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:

Claude Code: copy the folder into your skills folder

Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).

git clone --depth 1 https://github.com/iOfficeAI/OfficeCLI.git
mkdir -p ~/.claude/skills
cp -R OfficeCLI/skills/officecli ~/.claude/skills/

Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /officecli or just describe the task.

On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.

Only install skills you trust. Anthropic's advice is to use skills only from trusted sources, and to read every file of any other skill before using it: a skill can direct the agent to run commands, read files or send data in ways its description does not mention.

Sources for these steps

Checked against each vendor's documentation on 2026-11-14:

Inspect, edit, flush, verify

Target existing document nodes rather than rebuilding a file unnecessarily. Confirm the saved artifact with an independent reader and inspect its rendered layout before delivery.

Load only the relevant specialist

The executable can load format-specific skills. Keep the instruction set focused on the artifact, and distinguish core editing from optional browser rendering and PDF export.

Questions about officecli

Is Microsoft Office required?

No, according to the publisher. The executable is separate from this instruction folder, and optional render or export features have their own dependencies.

Why must I save before checking the file externally?

Resident sessions keep edits in memory. Use save or close to flush them before an independent parser, another program or the recipient reads the file.

Does validation prove the layout is correct?

No. Validate Open XML structure and inspect rendered pages or slides. Neither check alone proves that the content and layout are right.

Does this page create Office files online?

No. It documents the upstream skill and binary; no OfficeCLI runtime is hosted or executed here.

More AI skills

Related skills

Skill categories

Buy me a coffee