Communitygithub.com

合約組合智慧分析

大規模分析整個合約組合——從數百或數千份協議中同時萃取關鍵條款、義務、續約日期、風險條款與財務承諾。產出結構化報告、義務追蹤表、續約日曆與風險矩陣。也支援基於劇本的紅線比對,將合約與偏好立場進行比較並自動標記。

合約組合智慧分析 是什麼?

這項技能專為需要對合約組合有全面能見度的內部法務團隊、總法律顧問、法務營運、採購或財務團隊而設計。它能批次處理大量合約(PDF 或 DOCX),自動分類合約類型、偵測母子公司關係、去除重複,並萃取結構化資料,包括日期、財務條款、風險條款(如賠償、責任限制)、義務以及智慧財產權條款。接著,它產生多種報告,例如續約日曆、風險矩陣、義務追蹤表與財務摘要,以便快速掌握組合概況。進階功能支援「劇本紅線比對」:使用者提供一份包含偏好條款、備案立場與不可協商條款的劇本後,技能會逐條比對每份合約,標記符合、偏離或違反的情況,並產出偏差報告,指示哪些合約最需要重新談判。此技能支援在任何可上傳檔案或引用資料夾的 AI 代理平台上使用,例如 Claude Code、Cursor 或 Codex。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Mr-Nobody-Anonymous/All-skills/tree/HEAD/awesome_skills/legal/contract-portfolio-intelligence

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

合約組合智慧分析 是做什麼的?

執行組合級合約分析:批次萃取條款、義務與風險,並根據組織標準進行劇本式紅線比對。

先決條件

開始之前,請準備好:

  1. 合約語料庫 — 上傳的文件(PDF、DOCX)或包含合約的資料夾/儲藏庫參照
  2. 分析範圍 — 要萃取哪些項目(續約、賠償、付款條款、責任上限、終止權利或自訂欄位)
  3. 劇本(如進行紅線比對)— 組織的偏好立場、備案條款與不可協商條款
  4. 輸出格式 — 表格/試算表、敘述式報告,或兩者兼具
  5. 受眾 — 接收輸出的人員(總法律顧問、董事會、財務、採購)

工作流程

階段 1:匯入與分類

  1. 對每份合約進行 OCR 處理(如為掃描檔);從原生 PDF 與 DOCX 檔案中萃取全文
  2. 識別合約類型(NDA、MSA、SaaS 協議、僱傭合約、供應商合約、租約、SOW、修訂等)
  3. 偵測母子公司關係(主合約 → 修訂 → SOW → 變更單)
  4. 去重複 — 標記完全相同或高度相似的文件
  5. 標記後設資料:當事方、生效日期、管轄法律、合約類型

輸出合約庫存表:

#文件類型當事方生效日期管轄法律母公司文件
1範例MSAA ↔ B2024-01-15德拉瓦州—

階段 2:條款萃取

針對每份合約,萃取以下結構化欄位(若欄位不適用於該合約類型則跳過):

日期與期限

  • 生效日期、到期日期、合約期限
  • 自動續約(是/否)、續約通知期限、通知截止日
  • 任意終止權(是/否)、通知期限、補救期

財務條款

  • 合約價值/總承諾金額
  • 付款條件(Net 30、Net 60 等)
  • 價格調漲/調整機制
  • 最低承諾或數量門檻
  • 逾期罰款

風險條款

  • 賠償 — 相互式 vs. 單向式、例外情況、上限
  • 責任限制 — 總額上限、每次事件上限、除外損害
  • 保險要求 — 類型、最低保額
  • 保證 — 範圍、期限、救濟限制
  • 管轄法律與爭議解決(訴訟 vs. 仲裁、管轄地)

義務

  • 交付物與里程碑及截止日期
  • 報告或稽核權
  • 資料保護/安全義務
  • 競業禁止或專屬限制
  • 保密期限與存續義務

智慧財產權與資料

  • 智慧財產權所有權與授權返還條款
  • 資料處理、歸還與銷毀要求
  • 終止後的使用權

將萃取資料儲存於結構化格式(每份合約一行,每個欄位一列)。

階段 3:組合報告

產生使用者要求的報告。常見報告類型:

續約日曆

  • 所有在指定時間範圍內有續約/到期日期的合約
  • 按緊急程度排序(最近截止日期優先)
  • 標記通知截止日即將到來的自動續約合約
  • 包含相對人、合約價值與所需行動

風險矩陣

  • 每份合約在風險維度上評分:賠償風險、責任上限充分性、保險缺口、不利的終止條款
  • 各維度風險等級:高/中/低
  • 組合風險摘要
  • 優先需要重新談判的合約清單

義務追蹤表

  • 按合約區分的有效義務及截止日期
  • 按負責團隊分組(法務、財務、營運、IT)
  • 狀態:即將到期/到期/逾期/已完成
  • 逾期事項的升級標記

財務摘要

  • 按期間(季度/年度)的組合總承諾
  • 按合約類型、相對人或事業單位細分
  • 即將達到最低承諾門檻的合約
  • 付款條件分佈

自訂萃取

  • 使用者透過自然語言提示指定任何資料點
  • 代理人從所有合約中萃取該欄位
  • 回傳結構化表格,包含合約參照、萃取值與信心度

階段 4:劇本紅線比對

當使用者提供包含偏好立場的劇本時:

  1. 解析劇本 — 萃取每個偏好條款、其備案立場與不可協商條款
  2. 逐條比較每份合約與劇本:
    • ✅ 符合偏好立場 → 無需行動
    • ⚠️ 偏離但仍在備案範圍內 → 標記並建議用語
    • ❌ 違反不可協商條款 → 標記為關鍵,提供替代用語
  3. 為每份合約產生紅線摘要:
    • 章節參照、現有用語、偏好用語、風險等級、建議行動
  4. 產生組合偏差報告:
    • 哪些合約偏離標準最多
    • 整個組合中最常見的偏差
    • 基於風險 × 合約價值的重新談判優先順序

劇本結構

劇本應為關鍵條款定義立場。範例結構:

條款:責任限制
  偏好:相互式上限為 12 個月費用;侵害智慧財產權與違反保密義務的例外情況
  備案:相互式上限為 24 個月費用
  不可協商:必須有相互式上限;拒絕無上限責任

條款:賠償
  偏好:對第三方智慧財產權主張與違反保密義務的相互式賠償
  備案:若設有上限,可接受單向式賠償
  不可協商:必須包含智慧財產權侵權賠償

條款:任意終止權
  偏好:任一方提前 30 天書面通知
  備案:可接受 60-90 天通知
  不可協商:必須有任意終止權

品質檢查

產生任何輸出後:

  • 語料庫中的每份合約都出現在庫存表中 — 無遺漏
  • 萃取的日期已驗證(已簽署合約無未來生效日期,到期日晚於生效日)
  • 母子公司關係邏輯一致
  • 風險評分有具體條款參照作為依據
  • 續約截止日已考慮通知期限(截止日 = 到期日減通知期限)
  • 財務數字使用一致的貨幣與單位
  • 劇本偏差引用合約與劇本中的具體章節與用語

疑難排解

問題解決方案
OCR 品質差的掃描 PDF重新以增強型 OCR 處理;標記低信心萃取結果供人工審查
無獨立條款的修訂合約連結至主合約;僅萃取修改的條款並註明繼承的條款
模糊或遺漏的條款標記為「未找到」或「模糊」— 絕不猜測;標記供人工審查
主合約與修訂之間條款衝突修訂條款優先,除非其明確保留原始條款;標記衝突
非常大的語料庫(10,000+)按合約類型或相對人分批處理;產出中期報告
劇本未涵蓋合約中發現的條款註明缺口;建議將該條款加入劇本

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Mr-Nobody-Anonymous/All-skills

Build agency portfolios. TRIGGERS - Use when user needs help with agency-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Generate landing pages with AI. TRIGGERS - Use when user needs help with ai-landing-page-gen related tasks.

Mr-Nobody-Anonymous/All-skills

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Mr-Nobody-Anonymous/All-skills

Review investment portfolios with rebalancing recommendations. TRIGGERS - Use when user needs help with investment-portfolio-review related tasks.

Mr-Nobody-Anonymous/All-skills

Create makeup artist portfolio guides. TRIGGERS - Use when user needs help with makeup-artist-portfolio related tasks.

Mr-Nobody-Anonymous/All-skills

Build freelance portfolios with case studies. TRIGGERS - Use when user needs help with freelance-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Structures secondary portfolio construction with vintage diversification, strategy mix, and geographic allocation optimization. Use when building secondary portfolios, managing allocation targets, or optimizing portfolio composition.

Mr-Nobody-Anonymous/All-skills

Optimize landing page copy for conversions. TRIGGERS - Use when user needs help with landing-page-optimizer related tasks.

Mr-Nobody-Anonymous/All-skills

Build copywriting portfolios. TRIGGERS - Use when user needs help with copywriting-portfolio related tasks.

Mr-Nobody-Anonymous/All-skills

Design cryptocurrency portfolio strategies. TRIGGERS - Use when user needs help with crypto-portfolio-strategy related tasks.

Mr-Nobody-Anonymous/All-skills

Build UX design portfolios. TRIGGERS - Use when user needs help with ux-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Design cloud landing zones. TRIGGERS - Use when user needs help with cloud-landing-zone related tasks.

Mr-Nobody-Anonymous/All-skills

Generate high-converting landing page copy with headlines, benefits, CTAs, and social proof. TRIGGERS - Use when user wants landing page copy, sales page content, or conversion-focused web copy.

Mr-Nobody-Anonymous/All-skills

Design portfolio assessment systems. TRIGGERS - Use when user needs help with portfolio-assessment related tasks.

Mr-Nobody-Anonymous/All-skills

Conducts portfolio performance measurement with benchmark comparison, attribution, and risk-adjusted metrics. Use when measuring portfolio performance, calculating Sharpe/Sortino ratios, or conducting performance attribution.

Mr-Nobody-Anonymous/All-skills

Builds strategic and tactical asset allocation models with risk-return optimization and constraint management. Use when constructing portfolios, optimizing asset allocation, or building model portfolios.

Mr-Nobody-Anonymous/All-skills

Creates client-facing portfolio reports with performance, allocation, commentary, and outlook. Use when producing client reports, preparing quarterly reviews, or creating portfolio summaries.

Mr-Nobody-Anonymous/All-skills

Design investment portfolios. TRIGGERS - Use when user needs help with investment-portfolio-design related tasks.

Mr-Nobody-Anonymous/All-skills

Plan investment portfolios. TRIGGERS - Use when user needs help with investment-portfolio-plan related tasks.

Mr-Nobody-Anonymous/All-skills

You are a Conversion Rate Optimization Strategist and Persuasive Content Specialist. Use this skill when the user wants to audit or improve a landing page, write conversion-focused copy, optimize CTAs, build an FAQ schema block, translate features into benefits, or maximize conversions on any specific page type. Activate when the user mentions "landing page," "sales page," "lead capture page," "squeeze page," "webinar sign-up page," "product launch page," "waitlist page," "early access page," "thank you page," "upsell page," "SaaS pricing page," "onboarding page," "ecommerce page," "audit this page," "improve conversions," "CTA optimization," "hero section," "headline rewrite," "subhead," "benefits section," "features to benefits," "FAQ schema," "schema FAQ," "trust elements," "page layout," "above the fold," "scroll order," "microcopy," "mobile-first copy," "landing page copy," "page flow," "drop-off," "weak CTA," "conversion copy," "page goal," "split test copy," "A/B test copy," or "wireframe suggestion...

相關技能