跳到正文
Skillpedia
写作20k · #10385

lumen-redlining

它能做什么

这项技能说明 AI 应如何对合同提出小幅修改,并生成带有修订痕迹和批注的 Word 文档。适合希望标注清晰、便于审阅的律师和起草人员。

适用场景

  • ✓你希望合同的建议修改在 Word 中以修订痕迹显示的时候。
  • ✓某个条款只需小幅修改,而不必整体重写的时候。
  • ✓你希望每处修改都附有一条批注,说明其所遵循的规则的时候。

技能链接

https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-redlining/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-redlining/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请做一个最小的修改,将保密期限限制为三年,并以修订痕迹的形式显示。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会列出每处修改,包括要替换的确切文字和批注,然后生成一个 Word 文件,让每处改动都显示为修订删除和插入。完成前它会检查结果。

技术内容(原始 SKILL.md)

作者在 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: from is its last sentence, to is 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 from input.json or a cited source document.
  • A field you cannot fill becomes [[CONFIRM: field]]. Never invent a party, a date or an amount.
常见问题

它会改写整个条款吗?

不会。技能要求只改动达到目标立场所需的最少词语。

它能处理 PDF 文件吗?

能。对于 PDF 或文本文件,它会在转换后的副本上做修订,并告知阅读者这是副本。

如果某处修改与原文不匹配怎么办?

输出会将其列为缺失,AI 会修正确切的词语并重新运行该步骤。

详情

作者的原始描述

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

热度

GitHub 星标
20k
排名
#10385
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能