freshcrate
Home > AI Agents > ai-legal-claude

ai-legal-claude

AI Legal Assistant skill for Claude Code. Contract review, risk analysis, NDA generation, compliance auditing, negotiation strategy, and PDF reports โ€” 14 skills, 5 parallel agents. If you want to lear

Description

AI Legal Assistant skill for Claude Code. Contract review, risk analysis, NDA generation, compliance auditing, negotiation strategy, and PDF reports โ€” 14 skills, 5 parallel agents. If you want to learn how to sell this to real businesses, check out the Skool community

README

AI Legal Assistant for Claude Code

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.


Why This Matters

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

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

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.

Document Generation

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.

Compliance & Reporting

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

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.


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)
  • reportlab โ€” pip3 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.


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

Release History

VersionChangesUrgencyDate
0.0.0No release found โ€” using repo HEADMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026
main@2026-03-27Latest activity on main branchMedium3/27/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

JianYan๐ŸŽค Transform speech to text on Windows with fast, local AI processing. Enjoy seamless recording and automatic integration for effective communication.main@2026-04-21
andy-universal-agent-rules๐Ÿง  Enhance your AI coding assistant with a universal knowledge base and rules system, compatible with any project and editor.main@2026-04-21
RAG๐Ÿง  Build an offline RAG chatbot to answer questions from PDFs, adapting responses based on user experience levels with a smooth chat interface.main@2026-04-21
ComfyUI-LoaderUtils๐Ÿ”„ Optimize model loading in ComfyUI with flexible node connections and controlled sequences for better performance and memory management.main@2026-04-21
Paper2Slides๐Ÿ“Š Transform research papers into professional slides and posters seamlessly and quickly with Paper2Slides, saving you valuable time.main@2026-04-21