/ Каталог / Песочница / claude-legal-skill
● Сообщество evolsb ⚡ Сразу

claude-legal-skill

автор evolsb · evolsb/claude-legal-skill

AI contract review with CUAD-based risk detection, market benchmarks, and lawyer-ready redlines — not a replacement for counsel, but a fast first pass.

Claude Legal Skill runs a contract through CUAD-trained risk detection plus market-benchmark comparison and produces lawyer-ready redlines. Good for founders triaging vendor contracts before sending to counsel, or legal ops teams speeding up initial review. Works across Claude Code, Cursor, Codex, and 26+ tools.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

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 использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

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
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "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 использует массив объектов серверов, а не map.

~/.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

How to triage a vendor MSA before sending to counsel

👤 Founders and ops leaders reviewing vendor contracts ⏱ ~45 min intermediate

Когда использовать: Vendor sent an MSA, you need to know what's unusual before your $600/hr lawyer looks at it.

Предварительные требования
  • 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. Extract and classify clauses
    Review vendor-msa.pdf with claude-legal-skill. Classify all clauses and flag anything outside market norms.✓ Скопировано
    → Per-clause classification + deviation flags
  2. Generate redlines
    For each flagged clause, produce a tracked-changes redline with rationale.✓ Скопировано
    → Markdown with strikethrough + bold for changes
  3. Produce a counsel brief
    Summarize the top 5 issues in a 1-page brief for my lawyer.✓ Скопировано
    → 1-pager with issue, risk, proposed fix

Итог: A prioritized issues list + redlines that save billable hours.

Подводные камни
  • Treating output as legal advice — This is a triage tool. Anything material goes to licensed counsel.
  • Benchmark ranges are US-centric — Tell the skill your governing law; ranges shift by jurisdiction

Compare two vendor drafts side-by-side

👤 Procurement leads evaluating competing vendors ⏱ ~30 min intermediate

Когда использовать: Two vendors for the same service sent you their paper; you want to see which is friendlier.

Поток
  1. Load both
    Compare vendor-A.pdf and vendor-B.pdf. For each of: liability cap, IP assignment, termination, payment terms — show both and call the winner.✓ Скопировано
    → Side-by-side table per clause

Итог: A leverage document for negotiation.

Подводные камни
  • Picking a winner on every clause without context — Ask Claude to call 'similar' explicitly when the diff is immaterial

Review an NDA in 5 minutes

👤 Founders signing lots of NDAs ⏱ ~5 min beginner

Когда использовать: Someone sent an NDA; it's boilerplate-ish but you want to be sure.

Поток
  1. Quick scan
    Quick NDA review — flag only: non-compete, unilateral return/destruction, jurisdiction weirdness, and term > 3 years.✓ Скопировано
    → Short list, green if clean

Итог: A 5-minute clean/unclean verdict with specific asks.

Комбинации

Сочетайте с другими MCP — эффект x10

claude-legal-skill + startup-skill

Startup skill sizes vendor choice, legal skill reviews the paper

Choose between vendor A and B with startup-skill, then legal-review both with claude-legal-skill.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
Clause classification contract_path: str First pass on any contract Claude tokens (high for long contracts)
Risk flagging classified contract, jurisdiction? After classification Claude tokens
Redline generation flags When you intend to push back Claude tokens
Comparison contracts: list Multi-vendor evals Claude tokens
Counsel brief flags Before handing off to counsel Claude tokens

Стоимость и лимиты

Во что обходится

Квота API
None
Токенов на вызов
20-100k tokens per contract (long docs are expensive)
Деньги
Free (consumes Claude subscription)
Совет
Chunk long contracts by section; don't re-analyze unchanged sections on each pass.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: No credentials. Contracts stay local except for Claude inference.
Исходящий трафик: Contract text is sent to Anthropic for inference. Confidential contracts should use a workspace with data retention disabled.

Устранение неполадок

Частые ошибки и исправления

PDF text extraction garbled

Convert to markdown first with a tool like marker or pandoc; image-based PDFs need OCR.

Redlines touch boilerplate the other side will reject

Ask skill to distinguish 'must-have' from 'nice-to-have' and drop the latter

Альтернативы

claude-legal-skill в сравнении

АльтернативаКогда использоватьКомпромисс
Harvey / IroncladEnterprise legal teams with compliance requirementsPaid, not in Claude Code

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills