AI-powered contract review and legal document generation. Review contracts, flag risks,
generate NDAs, check compliance, negotiate terms, and produce client-ready PDF reports โ all from Claude Code.
Every contract has hidden risks. This tool finds them in 60 seconds.
| Metric | Value |
|---|---|
| Average legal review cost | $300โ$500/hour |
| Basic contract review | $1,500โ$3,000 |
| Freelancers who don't read contracts | 82% |
| Cost of one bad clause | $10,000+ |
| Small businesses without legal review | 67% |
| Time to review with this tool | Under 60 seconds |
curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/install.sh | bashThat's it. One command installs all 14 skills, 5 agents, and the PDF generation scripts.
| Command | What 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. |
| Command | What 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. |
| Command | What It Does |
|---|---|
/legal compliance <url> |
Compliance gap analysis โ GDPR, CCPA, ADA, PCI-DSS, CAN-SPAM, SOC 2. |
/legal report-pdf |
Professional PDF report with score gauges, risk charts, and prioritized actions. |
The most powerful command. Run it on any contract and get:
- Contract Safety Score (0-100) with letter grade
- Risk Dashboard โ high/medium/low risk clause counts
- Clause-by-Clause Analysis โ every clause scored, explained in plain English, with specific fix recommendations
- Missing Protections โ what should be there but isn't
- Obligations Timeline โ every deadline and consequence mapped
- Compliance Flags โ regulatory issues flagged
- Negotiation Priorities โ ranked list of what to change first
- Next Steps โ actionable checklist
/legal review my-contract.pdf
5 AI agents launch in parallel:
| Agent | Role | Weight |
|---|---|---|
| Clause Analyst | Identifies and categorizes every clause | 20% |
| Risk Assessor | Scores each clause for risk | 25% |
| Compliance Checker | Flags regulatory issues | 20% |
| Terms Mapper | Maps obligations, deadlines, and triggers | 15% |
| Recommendations Engine | Generates specific fixes | 20% |
Results are aggregated into a unified report with a single Contract Safety Score.
- 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)
- 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
- 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
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
- Claude Code (with an active Anthropic API key)
- Python 3.8+ (for PDF generation only)
- reportlab โ
pip3 install reportlab(for PDF generation only)
curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/uninstall.sh | bashOr run locally:
./uninstall.shThis 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.
Part of the Claude Code Skills Series
AI Marketing Suite ยท
AI Sales Team ยท
AI Legal Assistant
๐ Learn How to Sell Claude Code Services to Real Businesses
