Skip to content
Writing
Skill

/adeu-redlining

Use this skill when reviewing, editing, redlining, or negotiating an existing Microsoft Word document (.docx) — including proposing edits as tracked changes, accepting or rejecting existing tracked changes, replying to comments, comparing two versions, sanitizing author

From plugin
adeu
1731 skill

Claude Code

$ npx -y skills add dealfluence/adeu --skill adeu-redlining --agent claude-code

SKILL.md

adeu-redlining.SKILL.md
name: adeu-redlining
description: Use this skill when reviewing, editing, redlining, or negotiating an existing Microsoft Word document (.docx) — including proposing edits as tracked changes, accepting or rejecting existing tracked changes, replying to comments, comparing two versions, sanitizing author metadata, or finalizing a contract for distribution. Use whenever the user mentions redlines, track changes, contract review, .docx editing, or a Word document they want changed, even if they don't name a specific tool. Do NOT use for creating a Word document from scratch with no source file — use the docx skill for that.
license: MIT (see LICENSE.txt)
compatibility: Requires either the Adeu MCP server (preferred — Node `@adeu/mcp-server` or Python `adeu[mcp]`) OR `uvx` for the CLI fallback. Live MS Word integration requires Windows + the Python `adeu[mcp]` server.
metadata:
  homepage: https://adeu.ai
  repository: https://github.com/dealfluence/adeu
  version: "4.2.0"

Adeu — Tracked-Changes Redlining for .docx

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.

When to use this skill

The user is working with an existing `.docx` and wants you to:

  • Propose edits that show up as Word Track Changes
  • Accept, reject, or reply to existing tracked changes and comments
  • Compare two versions of a document
  • Strip author metadata and lock a document for distribution
  • Read a contract intelligently, including its defined terms and cross-references

If the user wants a fresh Word document built from nothing, defer to the `docx` skill instead.

Execution path — pick once, then forget

Adeu runs in two modes. Pick the first that applies and stop:

1. **MCP tools available.** If you see Adeu MCP tools in the session (`read_docx`, `process_document_batch`, `accept_all_changes`, `diff_docx_files`, `finalize_document`), use them directly. This file contains everything needed for standard MCP operations; only load `references/mcp-tools.md` when you need edge-case parameter details. 2. **Bash available, no MCP tools.** Shell out to the Python CLI: `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. 3. **Neither available.** Tell the user. Suggested install lines, in this order:

  • Claude Code plugin (covers everything): `/plugin marketplace add dealfluence/adeu` then `/plugin install adeu-redlining@adeu-skills`
  • Node MCP server (recommended for most users, zero Python required): `npx -y @adeu/mcp-server`
  • Python MCP server (required for Live MS Word integration on Windows, and for `protection_mode="encrypt"` on `finalize_document`): `uvx --from "adeu[mcp]" adeu-server`
  • Python CLI only (for scripted/headless pipelines): `uv tool install adeu`

Do not present these as options to the user mid-task. Pick the available path and proceed.

Core workflow

Every redlining task follows the same tight loop:

1. **Read targeted slices first.** Choose the fastest `read_docx` mode for the task instead of `page="all"`:

  • **Triage / review existing redlines & comments:** call `read_docx(file_path=..., mode="changes")` to get the compact ledger of every `Chg:N` and `Com:N` with author, page, and snippet in one call.
  • **Locate specific clauses or terms:** call `read_docx(file_path=..., search_query="...", search_case_sensitive=false)` (or `search_regex=true` with alternation like `"indemnif|liabilit|terminat"`).
  • **Navigate structure or read sections:** call `read_docx(file_path=..., mode="outline")`, then read bounded page windows (`page=1` or `page="1-8"`, continuing with `page="9-16"` when the footer indicates more pages).
  • **Compare two `.docx` files into a redline:** the whole task is one call, `diff_docx_files(original_path=..., modified_path=..., output_path=..., author_name=...)`. It writes every difference as native tracked changes, all or nothing, and refuses an `output_path` that names either input. A compare redline always comes from this call (or `adeu diff v1 v2 -o out.docx` on the CLI); a hand-built `process_document_batch` loses changes the diff engine catches.

2. **Apply all changes in one batch.** Send every edit and review action in a single `process_document_batch` call (or one `adeu apply` invocation).

  • **Sub-clause surgical edits:** keep `target_text` to the shortest unique phrase (5–20 words around the changed words) rather than replacing entire multi-sentence paragraphs.
  • **Sequential evaluation:** each edit in `changes` evaluates against the document state produced by preceding edits in the same batch.
  • **Output path:** pass `output_path` explicitly when requested. When `output_path` is omitted, files ending in `_processed`, `_redlined`, `.redline`, `-redline`, `_markup`, or `.marked` update in place; other files save to `<stem>_processed.docx`.
  • **Manual / inline formatting mode:** when the user asks for strikethrough deletions and underlined insertions instead of Word Track Changes, pass `markup_mode="manual"` on `process_document_batch` (or `--manual` on `adeu apply`). This mode produces the markup and its margin comments natively; it replaces scripting python-docx, which breaks the package.
  • **Word-level redlines on commented edits:** pass `commented_change_granularity="word"` on `process_document_batch` (or `--commented-change-granularity word` on `adeu apply`) when minimal word-level Track Changes are preferred on commented `modify` edits (wrapped by one spanning comment).

3. **Finish from the batch receipt.** `process_document_batch` returns per-edit `*Preview (CriticMarkup):*`, minted `**IDs:**` (`Chg:N`, `Com:N`), `**Part:**` when an edit landed in a header, fo

Read more
@dealfluence
Ships withadeu

LLMs speak Markdown; reviewers speak "Track Changes." Adeu is a docx ↔ LLM translator: a Model Context Protocol (MCP) server (Python and Node.js implementations) and accompanying SDKs that act as a Virtual DOM for Microsoft Word.

Stars on GitHub

Momentum

stars in total
173
Star history of dealfluence/adeu on GitHub, a chart by star-history.com

More skills from other plugins.

humanizer

humanizer

Rewrite AI-sounding text so it reads like the writer without changing what it says. Use when editing or reviewing prose for AI…

humanizer13d69k
@blader@bladerInstall Skill
no-ai-slop

no-ai-slop

Edit drafts into sharper, more human writing while preserving the writer's personal voice, or detect AI-slop patterns without…

@petergyang@petergyangInstall Skill
browser-cdp

browser-cdp

Use this skill when you need to control a Chrome browser via CDP (Chrome DevTools Protocol) to reuse existing login sessions.…

oh-story10d8.6k
@zenstory-ai@zenstory-aiInstall Skill

Questions about adeu-redlining.

Which coding agents can use adeu-redlining?
adeu-redlining installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.