首页/法务与合同/ai-legal-claude
A

ai-legal-claude

by @zubair-trabzadav
4.3(55)

AI法律助手,提供合同审查、风险分析、NDA生成、合规审计、谈判策略及PDF报告,通过14项技能和5个并行代理,快速处理法律事务。

legal-techcontract-reviewai-assistantcompliancedocument-generationGitHub
安装方式
git clone https://github.com/zubair-trabzada/ai-legal-claude.git
compare_arrows

Before / After 效果对比

1
使用前

传统合同审查耗时数小时,需人工逐条审阅,效率低下且易出错,导致业务流程缓慢。

使用后

AI法律助手可在60秒内完成合同审查,快速识别风险并提供建议,显著提升效率。

SKILL.md

Why This Matters

MetricValue
Average legal review cost$300–$500/hour
Basic contract review$1,500–$3,000
Freelancers who don't read contracts82%
Cost of one bad clause$10,000+
Small businesses without legal review67%
Time to review with this toolUnder 60 seconds

Quick Start

curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/install.sh | bash

That's it. One command installs all 14 skills, 5 agents, and the PDF generation scripts.


All 14 Commands

Contract Analysis

CommandWhat It Does
/legal review <file>Flagship — Full contract review with 5 parallel agents. Returns a Contract Safety Score, clause-by-clause analysis, and prioritized recommendations.
/legal risks <file>Deep risk analysis with severity scoring for every clause. Estimates financial exposure.
/legal compare <file1> <file2>Side-by-side comparison of two contract versions. Flags additions, removals, and dangerous changes.
/legal plain <file>Translates every clause from legalese into plain English anyone can understand.
/legal negotiate <file>Generates specific counter-proposals with replacement language for every unfavorable clause.
/legal missing <file>Finds protections that SHOULD be in the contract but aren't.

Document Generation

CommandWhat It Does
/legal nda <description>Generates a custom NDA — mutual, one-way, employee, or vendor.
/legal terms <url>Generates terms of service based on what the website actually does. GDPR/CCPA compliant.
/legal privacy <url>Generates a privacy policy by scanning what data the site collects.
/legal agreement <type>Generates business agreements — freelancer contracts, partnerships, SOWs, MSAs, and more.
/legal freelancer <file>Specialized review from the freelancer's perspective. Flags common contractor traps.

Compliance & Reporting

CommandWhat It Does
/legal compliance <url>Compliance gap analysis — GDPR, CCPA, ADA, PCI-DSS, CAN-SPAM, SOC 2.
/legal report-pdfProfessional PDF report with score gauges, risk charts, and prioritized actions.

The Flagship: /legal review

The most powerful command. Run it on any contract and get:

  1. Contract Safety Score (0-100) with letter grade
  2. Risk Dashboard — high/medium/low risk clause counts
  3. Clause-by-Clause Analysis — every clause scored, explained in plain English, with specific fix recommendations
  4. Missing Protections — what should be there but isn't
  5. Obligations Timeline — every deadline and consequence mapped
  6. Compliance Flags — regulatory issues flagged
  7. Negotiation Priorities — ranked list of what to change first
  8. Next Steps — actionable checklist

How It Works

/legal review my-contract.pdf

5 AI agents launch in parallel:

AgentRoleWeight
Clause AnalystIdentifies and categorizes every clause20%
Risk AssessorScores each clause for risk25%
Compliance CheckerFlags regulatory issues20%
Terms MapperMaps obligations, deadlines, and triggers15%
Recommendations EngineGenerates specific fixes20%

Results are aggregated into a unified report with a single Contract Safety Score.


Use Cases

For Freelancers & Agencies

  • Review client contracts before signing
  • Generate NDAs for new client engagements
  • Create statements of work with proper protections
  • Offer contract review as a paid service ($500-$1,500 per review)

For Small Businesses

  • Review vendor and supplier contracts
  • Generate privacy policies and terms of service
  • Run compliance audits on your website
  • Understand what you're actually agreeing to

For AI Automation Agencies

  • Add contract review to your service offering
  • Generate professional PDF reports for clients
  • Offer monthly legal document management retainers
  • Pair with the AI Marketing Suite and AI Sales Team

Project Structure

ai-legal-claude/
├── legal/
│   └── SKILL.md                    # Main orchestrator (command router)
├── skills/
│   ├── legal-review/SKILL.md       # Full contract review (5 agents)
│   ├── legal-risks/SKILL.md        # Deep risk analysis
│   ├── legal-compare/SKILL.md      # Contract comparison
│   ├── legal-plain/SKILL.md        # Plain English translation
│   ├── legal-negotiate/SKILL.md    # Counter-proposal generator
│   ├── legal-missing/SKILL.md      # Missing protections finder
│   ├── legal-nda/SKILL.md          # NDA generator
│   ├── legal-terms/SKILL.md        # Terms of service generator
│   ├── legal-privacy/SKILL.md      # Privacy policy generator
│   ├── legal-agreement/SKILL.md    # Business agreement generator
│   ├── legal-compliance/SKILL.md   # Compliance gap analysis
│   ├── legal-freelancer/SKILL.md   # Freelancer contract review
│   └── legal-report-pdf/SKILL.md   # PDF report generator
├── agents/
│   ├── legal-clauses.md            # Clause analysis agent
│   ├── legal-risks.md              # Risk assessment agent
│   ├── legal-compliance.md         # Compliance check agent
│   ├── legal-terms.md              # Terms & obligations agent
│   └── legal-recommendations.md    # Recommendations agent
├── scripts/
│   └── generate_legal_pdf.py       # PDF generation (ReportLab)
├── templates/
│   └── contract-review-template.md # Report template
├── install.sh                      # One-line installer
├── uninstall.sh                    # Clean uninstaller
└── README.md

Requirements

  • Claude Code (with an active Anthropic API key)
  • Python 3.8+ (for PDF generation only)
  • reportlabpip3 install reportlab (for PDF generation only)

Uninstall

curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/uninstall.sh | bash

Or run locally:

./uninstall.sh

Disclaimer

This tool is for educational and informational purposes only. It does not provide legal advice and should not be used as a substitute for consultation with a licensed attorney. Always have a qualified lawyer review any contract before signing.


用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量1.4K
评分4.3 / 5.0
版本
更新日期2026年5月24日
对比案例1 组

用户评分

4.3(55)
5
38%
4
35%
3
15%
2
9%
1
4%

为此 Skill 评分

0.0

兼容平台

🔧Manual

时间线

创建2026年5月24日
最后更新2026年5月24日
🎁 Agent 知识卡片