- Home
- Skills
- APIs & Backend
- Office Cursor — Operate Microsoft Word & DOCX from agent
Office Cursor — Operate Microsoft Word & DOCX from agent
Give your agent hands inside Word: search, reformat, edit, and export documents from PowerShell, live over COM or offline in the file.
$1
Works with the AI Agents you already use
Office Cursor — Operate Microsoft Word & DOCX from agent
Example session with this skill installed
Find all text highlighted in yellow in the open Word document and make it bold, then tell me what was changed.
- Read your context and instructions
- Compiled the office cursor
I have searched the active Word document for all ranges with a yellow highlight and applied a bold font style to them. The operation was performed within a single undo record.
Word Formatting Results
| Range Text | Action | Property Updated | Status |
|---|---|---|---|
| "DRAFT VERSION 2.1" | Set-WordRangeFont | Bold = True | Success |
| "PENDING LEGAL REVIEW" | Set-WordRangeFont | Bold = True | Success |
| "CONFIDENTIAL" | Set-WordRangeFont | Bold = True | Success |
| "Action Item: Update schema" | Set-WordRangeFont | Bold = True | Success |
Next steps
- Verify the changes visually in the open Word document.
- Use
Export-WordDocumentPdfif you need to share this version immediately. - Run
Find-WordRange -Bold $trueto identify all bolded sections for a final summary.
Connects securely to your tools. The creator never sees your data.
About this skill
Most "document skills" hand your agent a prompt. Office Cursor hands it working machinery: two PowerShell modules from the Agent Foundry project that wrap Word's own object model in composable, verifiable commands.
- OfficeCursor.Word (live): drives the running Word instance over COM. Find by text, font, color, or highlight with composable criteria; pipe ranges into text replacement and font changes; insert paragraphs; export to PDF or flat XML. Mutations preview with -WhatIf, run as single named undo records, and return structured verification results.
- OfficeCursor.Docx (offline): edits closed .docx files deterministically at the OOXML level — no Word installation required. Schema-validated paragraph edits, body slicing, and schema inspection via PowerShell 7.4+ and Python 3.
Built for Office power users whose agents keep saying "I can't edit that document." Requirements are stated per module; both are documented through standard PowerShell help (Get-Help -Full).
Requires Windows for COM automation. Offline mode needs PowerShell 7.4 and Python 3. Supports .docx/OOXML only; legacy .doc files are not supported.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 24 days ago
Requires