Skip to content

OfficeCLI Word Documents

Create, read and edit .docx Word files with structured headings, tables, headers and TOCs via the officecli tool

Stars
32,939
Licence
Apache-2.0
Files
1 file

What it does

When this skill is installed, the agent knows how to work with Microsoft Word (.docx) files using the officecli command-line tool. It guides the agent to build documents with proper heading hierarchy, consistent fonts and spacing, page numbers, tables of contents and tracked changes, and to check its work by rendering the document as HTML before declaring it finished. Without the skill, an agent typically produces plainer or less reliable Word files.

Great for

  • People who regularly need reports, letters, memos or proposals drafted as Word files
  • Developers or analysts automating generation or editing of existing .docx templates
  • Anyone who wants the agent to read text out of a .docx file

Skip it if

  • Users who cannot install software or run terminal commands, since the skill depends on the officecli binary (installing it runs a remote script)
  • Tasks on spreadsheets or slides, which this skill does not cover
  • Sensitive or confidential documents where you have not reviewed what the installer and the tool send or change, since the setup pulls and runs a script from the internet

Try asking

  • “Create a 5-page project proposal in Word with a title, table of contents and page-numbered footer”
  • “Read this .docx contract and summarise the key obligations”
  • “Edit the existing report template so headings use the company style and add a new results table”
  • “Add tracked changes and comments to my memo for review”
Step-by-step guide: how to use OfficeCLI Word DocumentsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

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

    officecli-docx.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

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

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip officecli-docx.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 install officecli first, then check the version it reports and review the install script if your organisation requires it
  • Ask for a specific structure (title, headings, TOC) so the agent follows the document standards in the skill
  • Keep a copy of the original .docx before asking the agent to edit it, since the tool changes the file in place

What's inside

  • SKILL.md

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.