lumen-redlining
What it does
This skill explains how the AI should suggest small edits to a contract and produce a Word document with tracked changes and comments. It is for lawyers and drafters who want clear, reviewable markup.
When to use it
- ✓When you want suggested changes to a contract shown as tracked changes in Word.
- ✓When a clause needs a small change instead of a full rewrite.
- ✓When you want each edit to carry a comment that names the rule it follows.
Skill link
https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-redlining/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Make the smallest edit to limit the confidentiality term to three years and show it as a tracked change.”
5 new skills a week. 1 minute to read.
How it works
The AI lists each edit with the exact text to replace and a comment, then creates a Word file where each change appears as a tracked deletion and insertion. It checks the result before finishing.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Redlining
Edits
- Change the fewest words that reach the position. Replace "seven (7) years" with "three (3) years", not the whole clause.
- Keep defined terms and the document's style: numbering, "shall", capitalisation, numbers written "three (3)".
- One edit per paragraph. If a paragraph needs two changes, make one edit that covers both.
- Every edit has a comment that names the rule: "Rule NDA-04: governing law must be England and Wales, New York or Delaware."
- To add a missing clause, edit the paragraph it belongs after:
fromis its last sentence,tois that sentence plus the new one.
The DOCX
cat > /tmp/edits.json <<'JSON'
[{"a": "p1.9", "from": "seven (7) years", "to": "three (3) years", "comment": "Rule NDA-01: max 3 years."}]
JSON
lumen redline --docx "<original .docx path>" --edits @/tmp/edits.json --out <batch_dir>/out/redline.docx
lumen redline verify --docx <batch_dir>/out/redline.docx # insertions, deletions, comments
The output shows each edit as a tracked deletion and insertion by "Lumen", with the comment. For a PDF or TXT source, pass --doc <doc_id> instead of --docx: Lumen redlines a converted copy and the lawyer sees that it is a copy.
missing in the output lists edits whose from text was not found. Fix from to the exact words and run it again.
Drafting from a template
- Fill
{{fields}}only frominput.jsonor a cited source document. - A field you cannot fill becomes
[[CONFIRM: field]]. Never invent a party, a date or an amount.
FAQ
Does it change the whole clause?
No. The skill says to change the fewest words that reach the position.
Can it work with PDF files?
Yes. For PDF or text files it redlines a converted copy, and the reader is told it is a copy.
What if an edit does not match the text?
The output lists it as missing, and the AI corrects the exact words and runs the step again.
Details
Original description by the author
Minimal, tracked-change redlines and drafting style - how to propose an edit and how to produce the DOCX with `lumen redline`.
repo: kortix-ai/suna
Popularity
- GitHub stars
- 20k
- Ranking position
- #10385
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
claude-code
20kLets your agent hand a coding, review, or planning task to Anthropic's Claude Code CLI and capture the result so it can be checked.
codex-cli
20kLets your agent hand a coding or review task to OpenAI's Codex CLI and capture the result, so a second model can check the work.
commit-dis
20kLets your agent save only the changes made in this chat as one commit on your current Git branch, without pushing or creating a new branch.
composio
20kHelps your agent use Composio to connect apps like Gmail, Slack, GitHub, and Notion, for your own agent or for a product you build.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.