Office Cursor — Operate Microsoft Word & DOCX from agent

    1

    Give your agent hands inside Word: search, reformat, edit, and export documents from PowerShell, live over COM or offline in the file.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    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 TextActionProperty UpdatedStatus
    "DRAFT VERSION 2.1"Set-WordRangeFontBold = TrueSuccess
    "PENDING LEGAL REVIEW"Set-WordRangeFontBold = TrueSuccess
    "CONFIDENTIAL"Set-WordRangeFontBold = TrueSuccess
    "Action Item: Update schema"Set-WordRangeFontBold = TrueSuccess

    Next steps

    • Verify the changes visually in the open Word document.
    • Use Export-WordDocumentPdf if you need to share this version immediately.
    • Run Find-WordRange -Bold $true to 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).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    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

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed24 days ago

    What's inside

    Frequently Asked Questions

    Office Cursor provides a structured PowerShell API that bridges the gap between AI agents and Word's complex COM/OOXML layers, offering safe, pipelined commands and deterministic results that raw prompts cannot achieve.

    Live automation requires Windows with Microsoft Word installed, while offline .docx editing requires PowerShell 7.4 and Python 3. It specifically supports modern .docx files and does not support legacy .doc or .rtf formats.

    Absolutely. The skill includes an 'offline processing' mode that utilizes Python and PowerShell 7.4 to edit and validate .docx files directly without needing the Word application active or installed.

    The skill is built for versatility and can be integrated with any AI agent capable of executing PowerShell commands, providing the agent with a high-level language for precise document manipulation.

    You receive the complete PowerShell module containing the structured API, the Python-based OOXML transformation engine for offline use, and comprehensive documentation on all available cmdlets and pipeline operations.

    The skill includes a '-WhatIf' parameter for safe previews and generates structured return objects after every execution, allowing the agent to verify the document state matches the intended result before finalizing changes.

    New in APIs & Backend