The legal-document engine
LegalWork's actual legal work is defined as firm-owned agent prompts, not app code. This path walks the two flagship workflows — Word redlining and tabular review — from the user command down to the read-only subagents that do the work.
description: Agentic Word editing — redline and comment on a .docx as reviewable tracked changes
Edit a Word document with AI — write back comments and tracked-change redlines the lawyer reviews and accepts in the in-app viewer (the firm's open-model version of "ask the assistant to redline this contract").
Load and follow the docx-edit skill, then carry out this request:
$ARGUMENTS
Reminders from the skill:
inspectthe.docxfirst to get the stable paragraph map; anchor every edit to a 0-basedparagraphIndex.- For a full redline pass, fan out the
docx-redlinersubagent (Task tool); for a small targeted change, build the plan yourself. commentsare margin notes (the why);proposalsare tracked-change edits. Everysearchstring must be verbatim from the paragraph.applywrites a non-destructive<base>.redlined.docxby default — open it in the viewer to see the redlines inline. Use--in-placeonly if asked.- Report any ops that didn't match verbatim instead of dropping them; never fabricate parties, numbers, or terms.
If no document is named in the arguments, ask which .docx to edit first.