officecli — Claude Code plugin: what it does, how to install
Enables Claude Code to build PPTX decks, DOCX files, XLSX spreadsheets, and reports locally through the OfficeCLI binary.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install officecli@claude-communityWhat officecli does
The plugin exposes an OfficeCLI skill so Claude Code can handle Office documents on your local workstation. Claude produces the structured payload, while the local binary validates and renders the final document using office.render.
When creating spreadsheet-backed reports, the workflow executes office.prepare first so the text directly reflects the workbook numbers. Standalone picture requests use office.generate instead, as office.render handles documents exclusively.
Without a working local officecli binary and configured licensing, the plugin cannot run. Document generation stays on your local disk, while standalone images route through the OfficeCLI server provider.
What it helps with
- generate PPTX slide decks from natural-language prompts
- create DOCX briefs, memos, and proposals
- build structured XLSX worksheets
- generate narrative reports backed by workbook data
- produce standalone images via the OfficeCLI server route
Example prompts for the agent
- Generate a project proposal document in docx format.
- Create a five-slide product overview presentation in pptx.
- Build a quarterly budget in xlsx and prepare a report from the figures.
How to install officecli
Plugin marketplace
/plugin marketplace add anthropics/claude-plugins-community/plugin install officecli@claude-communityStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about officecli
How to install officecli in Claude Code?
Run /plugin marketplace add anthropics/claude-plugins-community followed by /plugin install officecli@claude-community.
What does officecli do?
It lets Claude Code create, update, and convert docx, pptx, xlsx, and report files locally through your local officecli installation.
What prerequisites are required for officecli?
You need the officecli executable on your system with licensing configured, plus local command execution rights for Claude Code. Check your setup with officecli --version and officecli config status.
Source text
officecli · MIT
# officecli Claude plugin `officecli` is a Claude Code plugin that packages the OfficeCLI skill for Office document and standalone image workflows. It is designed for requests such as: - generating a `pptx` presentation from a natural-language prompt - generating a `docx` document such as a memo, brief, or proposal - generating a structured `xlsx` worksheet - generating a workbook-backed `report` - generating a standalone `img` through the OfficeCLI server image route - converting or updating supported Office file workflows when OfficeCLI supports the task ## What the plugin does The plugin adds the `officecli` skill to Claude Code so the agent can: - check whether the local `officecli` binary supports the requested Office workflow - prefer `officecli` for the final Office artifact path when support is available - use the structured `officecli agent-bridge` flow for agent integrations - let Claude Code produce the final structured payload itself, then call `office.render` so OfficeCLI only validates, assembles, and writes document files - call `office.prepare` first for workbook-backed `report` generation so the narrative stays grounded in workbook data - call `office.generate` for standalone `img` because `office.render` does not support image generation - keep Office file generation on the local machine instead of using a hosted plugin backend ## Requirements and prerequisites - Claude Code with plugin support - local access to the `officecli` binary - OfficeCLI generation and license configuration completed locally; standalone `img` requires license config and uses a server-controlled provider - permission for Claude Code to invoke local commands on the same machine ## Installation source This plugin is distributed through the OfficeCLI marketplace repository: - `https://github.com/officecli/officecli` ## Basic verification After installation, a user should be able to: 1. confirm the local binary exists with `officecli --version` 2. confirm local configuration is available with `officecli config status` 3. use the `officecli` skill from Claude Code for a supported Office document request through `capabilities/get -> office.prepare (if needed) -> office.render`, or a standalone image request through `office.generate` ## Scope and limitations - this plugin is intended for local Office document workflows only - it depends on a working local `officecli` installation - it does not provide a hosted execution service - it does not guarantee support for every possible Office transformation request - the skill is expected to check support first and only route to OfficeCLI when the workflow appears supported ## Repository layout - `skills/officecli/SKILL.md` ## Safety and execution model - the plugin is a local skill wrapper, not a remote SaaS connector - Office file generation is executed through the user's local `officecli` installation - the skill is intended to help create local artifacts in `pptx`, `docx`, `xlsx`, `report`, and `img` - the plugin does not expose a separate hosted API endpoint on behalf of the user - for Codex / Claude-style agent flows, OfficeCLI is the renderer and file writer; the agent is expected to create the structured content payload - standalone `img` requests are routed by the local CLI to the OfficeCLI server image provider
© officecli · MIT · officecli/officecli