Logo Contract Clause Extractor

Contract Clause Extractor

Tổ chức
Amazon-Quick
contract-clause-extractor

Trích xuất, phân loại và chấm điểm rủi ro các điều khoản quan trọng trong hợp đồng và thỏa thuận pháp lý. Xác định điều khoản tiêu chuẩn và không tiêu chuẩn, đánh dấu các điều khoản rủi ro cao (trách nhiệm không giới hạn, bồi thường rộng, tự động gia hạn) và lập danh mục điều khoản có cấu trúc kèm phần tóm tắt bằng ngôn ngữ dễ hiểu. Dùng khi được yêu cầu “xem xét hợp đồng này”, “trích xuất các điều khoản quan trọng”, “đánh dấu điều khoản rủi ro”, “đánh giá rủi ro hợp đồng”, hoặc hỏi “các điều khoản chính là gì” hay “tóm tắt thỏa thuận này”.

Add to TypingMind

Tổng quan

Nhà phát hànhAmazon-Quick
Kho mãAmazon-Quick-official-catalog
Tên kỹ năngcontract-clause-extractor
Sao
50
Bản fork
4
Tệp đi kèm
1
Giấy phépMIT-0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Amazon-Quick công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Contract Clause Extractor trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/legal/contract-clause-extractor
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/legal/contract-clause-extractor .claude/skills/contract-clause-extractor
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Contract Clause Extractor trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Contract Clause Extractor ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Contract Clause Extractor với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Overview

Reads a contract document, extracts individual clauses by category, assigns risk scores with reasoning, and produces a structured inventory report. Every extraction preserves exact original language alongside a plain-language summary. This is an informational tool only and does not constitute legal advice.

Workflow

<Definition - Risk Levels> Each extracted clause receives one of four risk ratings:

  • Standard: Language consistent with market norms for this contract type. No action needed beyond awareness.
  • Notable: Slightly outside typical terms but not inherently problematic. Worth flagging for review during negotiation.
  • High-Risk: Materially one-sided or imposes significant obligations. Requires legal review before signing. Examples: unlimited liability, broad indemnification with no cap, unilateral amendment rights.
  • Critical: Provisions that could expose the party to severe financial, operational, or legal consequences. Immediate legal counsel required. Examples: personal guarantee language, waiver of jury trial combined with inconvenient venue, uncapped consequential damages. </Definition - Risk Levels>

<Definition - Common Clause Types> The standard taxonomy for clause classification:

  • Liability: Limitation of liability, liability caps, exclusions of damages
  • Indemnification: Hold harmless, defense obligations, indemnity triggers and carve-outs
  • Termination: Term length, renewal conditions, termination for cause, termination for convenience, cure periods
  • Payment: Pricing, payment terms, late fees, price escalation, audit rights
  • Confidentiality: Definition of confidential information, exclusions, duration, permitted disclosures
  • Intellectual Property: Ownership, assignments, licenses, work product, pre-existing IP
  • Data and Privacy: Data handling, breach notification, compliance obligations, data retention
  • Non-compete/Non-solicit: Scope, duration, geographic limitations
  • Governing Law and Dispute Resolution: Jurisdiction, venue, arbitration, choice of law
  • Force Majeure: Triggering events, notice requirements, termination rights during force majeure
  • Representations and Warranties: Scope, survival periods, knowledge qualifiers
  • Assignment: Consent requirements, change of control provisions
  • Insurance: Coverage requirements, minimum limits, additional insured
  • Auto-renewal: Notice periods, opt-out mechanics, renewal term length </Definition - Common Clause Types>

<Definition - Plain-Language Summary> Each clause extraction includes a summary written in accessible language. Requirements:

  • Maximum 2 sentences
  • No legal jargon unless defining it in parentheses
  • State who bears the obligation and what the practical consequence is
  • Avoid hedging language; be direct about what the clause does
  • Example: "If the vendor's software causes you a loss, the most you can recover is what you paid in the last 12 months. Losses from lost profits or data are excluded entirely." </Definition - Plain-Language Summary>

<Workflow - Contract Clause Extraction description="End-to-end contract analysis producing a structured clause inventory with risk scores." tools=[file_read, file_read_pdf, file_write, run_python, open_in_session_tab] triggers=["review this contract", "extract key clauses", "flag risky terms", "contract risk assessment", "what are the key provisions", "summarize this agreement", "analyze this contract"]

  1. [Agent] Read the contract document using the appropriate file reader based on format (file_read_pdf for PDFs, file_read for text/DOCX). If the document exceeds 10,000 characters, read in chunks using offset pagination until the full text is captured. Validate that the content is readable and appears to be a legal agreement. If fails: if the file cannot be opened or read in any supported format, report the specific error to the user and ask for a valid document before continuing.

  2. [Decide] Assess document quality:

    • If the text is garbled, heavily redacted, or clearly incomplete, stop and inform the user per Rule 12.
    • If the document is readable, proceed to Step 3.
  3. [Think] Identify the contract structure: parties involved, effective date, defined terms section, and overall organization (numbered sections, articles, exhibits). Build a mental map of how sections cross-reference each other. Note the governing law provision if present.

  4. [Agent] Extract all defined terms from the definitions section (or inline definitions throughout). Build a lookup table mapping each term to its definition. Flag any definitions that are unusually broad or that incorporate external references (e.g., "as defined in Provider's Acceptable Use Policy, available at..."). If fails: if no definitions section is found, note that terms are defined inline or absent and proceed, flagging that scope resolution may be incomplete.

  5. [Think] Scan the full document and identify each material clause. For each clause:

    • Classify it using the Common Clause Types taxonomy
    • Record the exact section reference and verbatim text
    • Resolve any defined terms to assess actual scope
    • Check for cross-references that modify or limit the clause
    • Check for "notwithstanding" language that creates priority
  6. [Think] Score each extracted clause against the Risk Levels scale. For each score, document:

    • The specific language that drives the rating
    • How defined terms affect the assessment (if applicable)
    • Whether cross-references or survival clauses amplify or mitigate risk
    • Comparison to market standard for the identified contract type Also identify missing standard protections (e.g., no liability cap, no termination for convenience, no data breach notification requirement) and score those gaps.
  7. [Agent] Generate the clause inventory report using the Clause Inventory Report template. Populate all sections. Sort findings within each risk level by clause type for readability. If fails: report which section could not be populated and stop rather than delivering a partial report without disclosure.

  8. [Ask user] Present a summary of findings: total clauses extracted, count by risk level, and the top 3-5 highest-risk items with their plain-language summaries. Ask if the user wants the full report, wants to drill into specific clauses, or wants to adjust focus areas. If fails: if the user does not respond or the request is unclear, default to offering the full report and ask them to confirm.

  9. [Agent] Based on user response, either deliver the full report (save via file_write and open with open_in_session_tab), provide detailed analysis of requested clauses, or re-run with adjusted focus areas. If fails: if saving or opening the report fails, present the report inline in the session and report the error.

  10. [Agent] Append the closing disclaimer per Rule 1. Confirm that the analysis is complete and recommend next steps (legal review for high-risk items, negotiation points for notable items). If fails: if the disclaimer cannot be appended to the saved file, state the disclaimer directly to the user so it is not omitted.

</Workflow - Contract Clause Extraction>

<Template - Clause Inventory Report>

markdown
# Contract Clause Analysis Report

**DISCLAIMER: This analysis is for informational purposes only and does not constitute legal advice. Consult qualified legal counsel before making decisions based on these findings.**

## Document Summary

| Field | Value |
|-------|-------|
| Document | {{document_name}} |
| Contract Type | {{contract_type}} |
| Parties | {{party_a}} / {{party_b}} |
| Effective Date | {{effective_date}} |
| Governing Law | {{governing_law}} |
| Analysis Date | {{analysis_date}} |
| Focus Areas | {{focus_areas}} |

## Risk Summary

| Risk Level | Count |
|------------|-------|
| Critical | {{critical_count}} |
| High-Risk | {{high_risk_count}} |
| Notable | {{notable_count}} |
| Standard | {{standard_count}} |

## Critical Findings

{{#each critical_findings}}
### {{clause_type}} - Section {{section_ref}}

**Risk Level:** Critical

**Original Text:**
> {{verbatim_text}}

**Plain-Language Summary:** {{plain_language_summary}}

**Risk Reasoning:** {{risk_reasoning}}

**Recommendation:** {{recommendation}}

---
{{/each}}

## High-Risk Findings

{{#each high_risk_findings}}
### {{clause_type}} - Section {{section_ref}}

**Risk Level:** High-Risk

**Original Text:**
> {{verbatim_text}}

**Plain-Language Summary:** {{plain_language_summary}}

**Risk Reasoning:** {{risk_reasoning}}

**Recommendation:** {{recommendation}}

---
{{/each}}

## Notable Findings

{{#each notable_findings}}
### {{clause_type}} - Section {{section_ref}}

**Risk Level:** Notable

**Original Text:**
> {{verbatim_text}}

**Plain-Language Summary:** {{plain_language_summary}}

**Risk Reasoning:** {{risk_reasoning}}

---
{{/each}}

## Standard Clauses

{{#each standard_findings}}
- **{{clause_type}}** (Section {{section_ref}}): {{plain_language_summary}}
{{/each}}

## Missing Protections

{{#each missing_protections}}
- **{{protection_type}}:** {{explanation}} (Risk Level: {{risk_level}})
{{/each}}

## Defined Terms of Note

{{#each notable_definitions}}
- **"{{term}}":** {{definition_summary}}  - {{risk_note}}
{{/each}}

## Next Steps

1. Engage legal counsel to review all Critical and High-Risk findings before signing.
2. Prepare negotiation positions for Notable findings if terms are negotiable.
3. Confirm that missing protections are acceptable or request their inclusion.

**This report does not represent a complete legal review. Additional provisions, implications, or risks may exist that are not captured here.**

</Template - Clause Inventory Report>

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Contract Clause Extractor làm được gì?

Trích xuất, phân loại và chấm điểm rủi ro các điều khoản quan trọng trong hợp đồng và thỏa thuận pháp lý. Xác định điều khoản tiêu chuẩn và không tiêu chuẩn, đánh dấu các điều khoản rủi ro cao (trách nhiệm không giới hạn, bồi thường rộng, tự động gia hạn) và lập danh mục điều khoản có cấu trúc kèm phần tóm tắt bằng ngôn ngữ dễ hiểu. Dùng khi được yêu cầu “xem xét hợp đồng này”, “trích xuất các điều khoản quan trọng”, “đánh dấu điều khoản rủi ro”, “đánh giá rủi ro hợp đồng”, hoặc hỏi “các điều khoản chính là gì” hay “tóm tắt thỏa thuận này”.

Vì sao nên dùng Contract Clause Extractor trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Contract Clause Extractor là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Contract Clause Extractor trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/legal/contract-clause-extractor. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Contract Clause Extractor?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Contract Clause Extractor với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Contract Clause Extractor với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Contract Clause Extractor có miễn phí không?

Có. Kỹ năng này được Amazon-Quick phát hành trên GitHub theo giấy phép MIT-0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇