/ 目錄 / 演練場 / claude-legal-skill
● 社群 evolsb ⚡ 即開即用

claude-legal-skill

作者 evolsb · evolsb/claude-legal-skill

以 CUAD 為基礎的 AI 合約審查,具備風險偵測、市場基準比較與律師可用的修訂建議——不取代法律顧問,而是快速完成第一輪篩查。

Claude Legal Skill 透過 CUAD 訓練的風險偵測加上市場基準比較來審查合約,並產出律師可直接使用的修訂建議。適合創辦人在將廠商合約送交法律顧問前進行初步篩選,或法務營運團隊加速初步審查流程。相容於 Claude Code、Cursor、Codex 及 26 種以上工具。

為什麼要用

核心特性

即時演示

實際使用效果

claude-legal-skill.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-legal-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/evolsb/claude-legal-skill",
        "~/.claude/skills/claude-legal-skill"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-legal-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/evolsb/claude-legal-skill",
        "~/.claude/skills/claude-legal-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-legal-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/evolsb/claude-legal-skill",
        "~/.claude/skills/claude-legal-skill"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-legal-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/evolsb/claude-legal-skill",
        "~/.claude/skills/claude-legal-skill"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-legal-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/evolsb/claude-legal-skill",
        "~/.claude/skills/claude-legal-skill"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-legal-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/evolsb/claude-legal-skill",
          "~/.claude/skills/claude-legal-skill"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add claude-legal-skill -- git clone https://github.com/evolsb/claude-legal-skill ~/.claude/skills/claude-legal-skill

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: claude-legal-skill

如何在送交法律顧問前對廠商 MSA 進行初步篩查

👤 審查廠商合約的創辦人與營運主管 ⏱ ~45 min intermediate

何時使用: 廠商寄來了 MSA,您需要在時薪 $600 的律師過目之前,先了解哪些條款不尋常。

前置條件
  • Skill installed — git clone https://github.com/evolsb/claude-legal-skill ~/.claude/skills/claude-legal-skill
  • The contract as markdown or PDF — Skill extracts text; best with machine-readable PDFs
步驟
  1. 擷取並分類條款
    Review vendor-msa.pdf with claude-legal-skill. Classify all clauses and flag anything outside market norms.✓ 已複製
    → 每條款的分類結果與偏差標記
  2. 產生修訂建議
    For each flagged clause, produce a tracked-changes redline with rationale.✓ 已複製
    → 包含刪除線與粗體變更內容的 markdown
  3. 製作顧問摘要
    Summarize the top 5 issues in a 1-page brief for my lawyer.✓ 已複製
    → 包含問題、風險與建議修正的單頁摘要

結果: 優先排序的問題清單與修訂建議,有效節省計費時數。

注意事項
  • 將輸出結果視為法律建議 — 這是初步篩查工具,任何重要事項仍須交由有執照的法律顧問處理。
  • 基準範圍以美國為中心 — 請告知 skill 您適用的準據法,範圍會因司法管轄區而有所不同。

並排比較兩份廠商草稿

👤 評估競爭廠商的採購主管 ⏱ ~30 min intermediate

何時使用: 提供相同服務的兩家廠商分別寄來了各自的合約範本,您想了解哪一份條件較為友善。

步驟
  1. 載入兩份合約
    Compare vendor-A.pdf and vendor-B.pdf. For each of: liability cap, IP assignment, termination, payment terms — show both and call the winner.✓ 已複製
    → 每個條款的並排比較表格

結果: 可用於談判的籌碼文件。

注意事項
  • 不考慮背景脈絡就在每個條款都選出勝者 — 當差異無足輕重時,請明確要求 Claude 標示為「相近」

5 分鐘內完成 NDA 審查

👤 需要簽署大量 NDA 的創辦人 ⏱ ~5 min beginner

何時使用: 對方寄來了 NDA,內容看似是制式範本,但您仍想確認沒有問題。

步驟
  1. 快速掃描
    Quick NDA review — flag only: non-compete, unilateral return/destruction, jurisdiction weirdness, and term > 3 years.✓ 已複製
    → 簡短清單,無問題時顯示綠燈

結果: 5 分鐘內得出合格/不合格的判斷,並附上具體修改要求。

組合

與其他 MCP 搭配,撬動十倍槓桿

claude-legal-skill + startup-skill

startup-skill 協助評估廠商選擇,legal skill 審查對應的合約文件

Choose between vendor A and B with startup-skill, then legal-review both with claude-legal-skill.✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
Clause classification contract_path: str 對任何合約進行第一輪審查時 Claude tokens (high for long contracts)
Risk flagging classified contract, jurisdiction? 完成條款分類後 Claude tokens
Redline generation flags 打算提出修改意見時 Claude tokens
Comparison contracts: list 評估多家廠商時 Claude tokens
Counsel brief flags 移交法律顧問前 Claude tokens

成本與限制

運行它的成本

API 配額
None
每次呼叫 Token 數
每份合約 20-100k tokens(長文件費用較高)
費用
免費(消耗 Claude 訂閱額度)
提示
將長篇合約按章節分段處理;每次重新分析時,未變更的章節不需重複送入。

安全

權限、密鑰、影響範圍

憑證儲存: 不需要憑證。合約資料保留在本機,僅在 Claude 推論時傳送。
資料出站: 合約文字會傳送至 Anthropic 進行推論。機密合約應在停用資料留存的工作區中使用。

故障排查

常見錯誤與修復

PDF text extraction garbled

請先使用 marker 或 pandoc 等工具將 PDF 轉換為 markdown;影像型 PDF 需要先進行 OCR 處理。

Redlines touch boilerplate the other side will reject

請要求 skill 區分「必要修改」與「理想修改」,並省略後者。

替代方案

claude-legal-skill 對比其他方案

替代方案何時用它替代權衡
Harvey / Ironclad有合規需求的企業法務團隊需付費,且不在 Claude Code 環境中運作

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills