redlining-content

redlining-content is a skill for Claude Code, Codex from microsoft/cat-agent-skills. It costs 84 tokens per session (1,143 once invoked), scanned A, original, MIT.

A document-comparison tool that compares a submitted DOCX or PDF with a Word template and marks the wording differences as tracked changes.

In plain words
What is it for?
It is for producing a redlined Word document from a submission and template, with changes that can be accepted or rejected in Word.
Why use it?
Manually finding and marking every change in a document is slow and can miss edits. This shows what was inserted or deleted while keeping the template as the baseline.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit It is for producing a redlined Word document from a submission and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/cat-agent-skills/redlining-content
About the project

microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.

microsoft/cat-agent-skills · 64 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/cat-agent-skills --skill redlining-content
Clone the repo
git clone --depth 1 https://github.com/microsoft/cat-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for redlining-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/redlining-content.svg)](https://agentmods.dev/skills/microsoft/cat-agent-skills/redlining-content)
Your own site
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/redlining-content"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/redlining-content.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01143
Opus 5 $0.00042 $0.00571
Sonnet 5 $0.00017 $0.00229
Haiku 4.5 $0.00008 $0.00114

Measured 3d ago against content hash 4bb1e2599430, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

redlining-content scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/redline.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

submissions/redlining-content/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redlining Content Skill

Reimplements "Word Compare" for the new Copilot Studio orchestrator. The template is already a perfect Word document, so the output is the template body with revisions injected as OOXML <w:ins> / <w:del> elements. Accepting all changes yields the submission's wording; rejecting all keeps the template.

Changes are authored by Copilot Studio AI and the output has Track Changes turned on so Word keeps tracking any further human edits.

Requirements

  • lxml (always)
  • pdfplumber (PDF submissions; pypdfium2 used as a fallback)

All are present in the Copilot Studio sandbox — no pip install required. .docx/.dotx handling is pure lxml + standard library.

Inputs

  1. Template — the canonical baseline. Bundled with this skill in assets/ (any single .dotx/.docx file — the name doesn't matter) and used automatically. A different template (.dotx or .docx) may be supplied explicitly to override it.
  2. Submission — the user-uploaded file to compare against the template, either a .docx or a .pdf.

Steps

  1. Run from this skill's directory: python scripts/redline.py <submission.docx|.pdf> [output.docx] The bundled template in assets/ is auto-discovered and used as the baseline (whatever its file name). To override the template explicitly, pass it via --template: python scripts/redline.py --template <template.dotx|.docx> <submission.docx|.pdf> [output.docx]
  2. Return the output .docx to the user. Output defaults to the submission name with a _redlined.docx suffix.

How it works

One shared engine, two input readers — the only thing that differs by file type is how the submission's words are read:

  • .docx / .dotxread_docx_words() (paragraph text from word/document.xml).
  • .pdfread_pdf_words() (text extraction only — never converted to DOCX; uses pdfplumber, then pypdfium2).

Both produce a single flat word list fed into the same pipeline:

Read the full file on GitHub · 94 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 94 lines · 84 tokens per session scan A 4bb1e2599430

Subscribe to this mod's changes

redlining-content is a skill published in the GitHub repository microsoft/cat-agent-skills (64 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 1,143 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.