How-to · Documents · By ClawHub Community

How to use Office Document Editor in your AI agent

Install and use the Office Document Editor skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

This skill helps you make precise edits to Word documents and PowerPoint presentations without opening Microsoft Office. It can find and replace text, add highlights or strikethroughs to show changes, rearrange slides, and generate diff reports showing exactly what changed. Perfect for reviewing documents, making tracked edits, or managing multiple versions of presentations.

Step 1 — Get the skill source URL

The Office Document Editor skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://clawhub.ai/tsukisama9292/office-document-editor to my project.

Cursor

Install this agent skill: https://clawhub.ai/tsukisama9292/office-document-editor

Codex

Add this skill to .codex/skills/: https://clawhub.ai/tsukisama9292/office-document-editor

Gemini CLI

Add the skill at https://clawhub.ai/tsukisama9292/office-document-editor to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://clawhub.ai/tsukisama9292/office-document-editor

Windsurf

Add this skill: https://clawhub.ai/tsukisama9292/office-document-editor

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • Make tracked edits to a Word document without losing formatting
  • Reviewing a presentation and want to highlight changes or rearrange slides
  • You need a clear record of what changed between document versions
  • Automate repetitive text replacements across multiple documents

What this skill does

  • Finds and replaces text in Word docs and PowerPoint slides while preserving formatting
  • Adds visual indicators like highlights, strikethroughs, bold, and underlines to mark changes
  • Rearranges, adds, or removes slides in PowerPoint presentations
  • Generates readable diff reports showing before-and-after changes
  • Works with files from uploads, URLs, local folders, or remote servers
Made byClawHub Community
CategoryDocuments