- Home
- Skills
- Technical Documentation
- Docx Tracked Edits
Docx Tracked Edits
by Edward Lin
Propose native Microsoft Word tracked changes and redlines instead of silently overwriting .docx files.
Free
Docx Tracked Edits
Example session with this skill installed
Please redline legal_agreement.docx. Change "shall provide thirty days notice" to "shall provide sixty days notice" and credit the edits to "Legal Counsel".
- Read your context and instructions
- Compiled the docx tracked edits
I have processed the document and applied the requested redline as a native tracked change.
Document Edit Summary
| Original Text | Proposed Replacement | Status | Author |
|---|---|---|---|
| shall provide thirty days notice | shall provide sixty days notice | 1 replacement applied | Legal Counsel |
The edits were saved to a new file: legal_agreement.edited.docx.
[
{
"find": "shall provide thirty days notice",
"replace": "shall provide sixty days notice",
"occurrences_found": 1
}
]
Next steps
- Open
legal_agreement.edited.docxin Microsoft Word. - Navigate to the Review tab and ensure Track Changes is enabled to see the redlines.
- Use the Accept or Reject buttons to finalize the proposed "Legal Counsel" edits.
Connects securely to your tools. The creator never sees your data.
About this skill
Redlining Word documents with LLMs often leads to silent overwrites that hide what actually changed. This skill interfaces with native Word tracked changes, allowing you to propose edits that a human reviewer can accept or reject in Microsoft Word.
What it does
- Native redlining converts LLM edits into actual Word deletions and insertions credited to a specific author.
- Precision reading extracts document text with markers for existing tracked changes and structural boundaries.
- Bulk editing applies multiple replacements from a JSON manifest to prevent shell-quoting errors.
- Author attribution lets you set a custom name for the revisions so they appear as "Legal Review" or "Senior Editor" in Word.
- Safe output defaults to creating new files to prevent data loss or unintentional overwrites.
How it works
- Read phase uses
read_docx.mjsto extract text and identify paragraph indices and existing revision markers. - Analysis phase identifies specific phrases to change, ensuring the match text is unique and captures the exact typography.
- Execution phase runs
edit_docx.mjswith a JSON edit list or direct CLI flags to generate the redlined file. - Verification phase checks the replacement count to ensure no unintended matches occurred before reporting back to the user.
Frameworks & tools
Built with Node.js. It requires Node.js 18 or later and operates directly on the .docx XML structure without external dependencies or network calls.
Why this beats prompting it yourself
Prompting an LLM to "rewrite this file with changes" destroys the document's version history and metadata. This skill preserves the original file and creates a standard audit trail that stakeholders can review using the Word interface they already know.
Use cases
- Contract redlining to suggest clause changes while keeping the legal team in control of the final version.
- Copy editing for long-form content where the author needs to see every grammatical fix.
- Collaborative drafting where an AI assistant acts as one of several named contributors to a document.
- Audit trails for regulatory documents that require a clear record of who changed what.
Known limitations
Does not support .doc or .odt files. Edits are limited to the document body; headers, footers, footnotes, and comments are not accessible for modification.
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 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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Node.js
Permissions
What's inside
Creator
Edward Lin
Frequently Asked Questions
New in Technical Documentation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.