From adeu-redlining
Reviews, edits, and redlines existing .docx files with tracked changes, comments, version comparison, and metadata sanitization via Adeu MCP or CLI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/adeu-redlining:adeu-redliningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Adeu is a Virtual DOM for Word documents. It translates `.docx` into LLM-friendly Markdown with CriticMarkup for tracked changes, lets you propose edits as native Word `w:ins`/`w:del` revisions, and writes the result back without destroying formatting, comments, or document structure.
Adeu is a Virtual DOM for Word documents. It translates .docx into LLM-friendly Markdown with CriticMarkup for tracked changes, lets you propose edits as native Word w:ins/w:del revisions, and writes the result back without destroying formatting, comments, or document structure.
The user is working with an existing .docx and wants you to:
If the user wants a fresh Word document built from nothing, defer to the docx skill instead.
Adeu runs in two modes. Pick the first that applies and stop:
read_docx, process_document_batch, accept_all_changes, diff_docx_files, finalize_document), use them. This is the preferred path on every platform. Load references/mcp-tools.md before planning any non-trivial batch.uvx adeu <subcommand>. This is the only CLI Adeu ships — there is no Node CLI. Load references/cli-fallback.md for the command surface and the JSON shape adeu apply expects./plugin marketplace add dealfluence/adeu then /plugin install adeu-redlining@adeu-skillsnpx -y @adeu/mcp-serverprotection_mode="encrypt" on finalize_document): uvx --from adeu adeu-serveruv tool install adeuDo not present these as options to the user mid-task. Pick the available path and proceed.
Every redlining task follows the same shape. Follow it in order:
read_docx (MCP) or uvx adeu extract (CLI). For long contracts, start with mode="outline" to see the heading structure, then read specific pages.process_document_batch call (MCP) or one adeu apply invocation (CLI). All edits evaluate against the original document state — never chain dependent edits across the same batch.clean_view=true (MCP) or --clean (CLI) and confirm.For destructive or finalization operations, run a dry-run first when the tool supports it (dry_run: true on process_document_batch).
These are environment-specific facts that will trip you up if you assume Word/.docx behaves like plain text. Read this section every time.
IDs are session-bound. Change IDs (Chg:12) and comment IDs (Com:5) shift every time the document state changes. Before any accept, reject, or reply action, call read_docx immediately before the batch. Never reuse IDs from earlier in the conversation. Never reuse IDs across a save/reload boundary.
Batches evaluate against the original state. You cannot rename X → Y and then in the same batch modify Y. The second edit will search the original document where Y doesn't exist. Apply the rename, then send a second batch.
target_text must be unique by default. match_mode: "strict" (the default) requires a single match. Either add surrounding context to disambiguate, or explicitly set match_mode: "first" or "all". Set regex: true to use a regular expression; capture groups are available as $1, $2 in new_text.
Do not write CriticMarkup tags manually. Never put {++, {--, {>>, or {== into new_text. Use the comment field on the edit to attach a margin comment. Adeu generates the tracked-change XML from your plain replacement text.
new_text supports Markdown. Headings (# through ######), **bold**, _italic_ (not *italic* — strictly underscores), and \n\n to split into paragraphs. Empty string deletes.
Read the appendix before editing structural references. read_docx projects a semantic appendix at the bottom of the document containing defined terms, cross-references ([~text~](#_Ref)), internal anchors ({#_BookmarkName}), and footnotes ([^fn-id]). Anything inside the <!-- READONLY_BOUNDARY_START --> marker is read-only — attempting to modify it via search-and-replace will be rejected. Use mode="appendix" to see it explicitly.
clean_view toggles the document state you see. clean_view=false (default) shows the raw document with all pending tracked changes inline as CriticMarkup. clean_view=true shows what the document would look like if every pending change were accepted. Choose deliberately — comparing the wrong view to user intent is the most common source of confusion.
Page indexing. page=N paginates the body. page='all' or omitting page with a search_query searches the whole document. Don't assume page numbers from the user's PDF viewer match Adeu's pagination — they often don't.
Live Word (Windows COM) is Python-only. If the user is editing the active document in Word, only the Python adeu server supports it. The Node server does not. Table row inserts/deletes are also not supported in Live Word mode — fall back to disk editing.
Multi-author redlines. If the document has tracked changes from multiple authors, edits that overlap another author's pending insertion are rejected to prevent silent destruction of their work. Tell the user; don't try to force it.
Use references/mcp-tools.md for the full schema. The five operations:
| Type | Purpose | Required fields |
|---|---|---|
modify | Search-and-replace as a tracked change | target_text, new_text |
accept | Finalize an existing tracked change | target_id (e.g. Chg:12) |
reject | Revert an existing tracked change | target_id |
reply | Reply to an existing comment | target_id (e.g. Com:5), text |
insert_row / delete_row | Add or remove a table row | target_text (a cell value to anchor on), plus position/cells for inserts |
comment is optional on modify/accept/reject to attach a margin comment.
Load these only when relevant — they're not part of the base context:
references/mcp-tools.md — full MCP tool schemas, parameter details, process_document_batch discriminated union. Load before planning any non-trivial edit batch on the MCP path.references/cli-fallback.md — uvx adeu subcommands and the edits.json shape. Load on the CLI path.references/criticmarkup.md — CriticMarkup syntax and Adeu's semantic projections (footnotes, cross-refs, anchors, defined-terms appendix). Load when interpreting raw read_docx output or when the user asks about a marker like [^fn-3] or {#_BookmarkName}.npx claudepluginhub dealfluence/adeu --plugin adeu-redliningProduces properly-formatted tracked changes for Word documents (insertions, deletions, margin comments) for redlining contracts, copy editing, or document review. Best with Opus 4.7+.
Edits, queries, and transforms .docx files using the SuperDoc CLI. Handles text replacement, tracked changes, redlining, contract markup, template filling, and document review.
Reads, creates, edits, redlines, and comments on .docx files (Word documents, contracts, agreements) using a lightweight subagent. Faster alternative to the docx skill.