Skip to content
Back to search

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 learn how to sell this to real businesses, check out the Skool community

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/zubair-trabzada-ai-legal-claude/badge.svg)](/listings/zubair-trabzada-ai-legal-claude)

HTML

<a href="/listings/zubair-trabzada-ai-legal-claude"><img src="/api/listings/zubair-trabzada-ai-legal-claude/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

These steps run a script from the network that findsafeskills does not scan.

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.

---

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 197 lines · 2 findings marked

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <p align="center">
  2. <img src="assets/banner.svg" alt="AI Legal Assistant for Claude Code" width="900"/>
  3. </p>
  4. <p align="center">
  5. <strong>AI-powered contract review and legal document generation.</strong> Review contracts, flag risks,<br/>
  6. generate NDAs, check compliance, negotiate terms, and produce client-ready PDF reports — all from Claude Code.
  7. </p>
  8. <p align="center">
  9. Every contract has hidden risks. This tool finds them in 60 seconds.
  10. </p>
  11. ---
  12. ## Why This Matters
  13. | Metric | Value |
  14. |--------|-------|
  15. | Average legal review cost | $300–$500/hour |
  16. | Basic contract review | $1,500–$3,000 |
  17. | Freelancers who don't read contracts | 82% |
  18. | Cost of one bad clause | $10,000+ |
  19. | Small businesses without legal review | 67% |
  20. | Time to review with this tool | Under 60 seconds |
  21. ---
  22. ## Quick Start
  23. ```bash
  24. curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 32 on GitHub
  25. ```
  26. That's it. One command installs all 14 skills, 5 agents, and the PDF generation scripts.
  27. ---
  28. ## All 14 Commands
  29. ### Contract Analysis
  30. | Command | What It Does |
  31. |---------|-------------|
  32. | `/legal review <file>` | **Flagship** — Full contract review with 5 parallel agents. Returns a Contract Safety Score, clause-by-clause analysis, and prioritized recommendations. |
  33. | `/legal risks <file>` | Deep risk analysis with severity scoring for every clause. Estimates financial exposure. |
  34. | `/legal compare <file1> <file2>` | Side-by-side comparison of two contract versions. Flags additions, removals, and dangerous changes. |
  35. | `/legal plain <file>` | Translates every clause from legalese into plain English anyone can understand. |
  36. | `/legal negotiate <file>` | Generates specific counter-proposals with replacement language for every unfavorable clause. |
  37. | `/legal missing <file>` | Finds protections that SHOULD be in the contract but aren't. |
  38. ### Document Generation
  39. | Command | What It Does |
  40. |---------|-------------|
  41. | `/legal nda <description>` | Generates a custom NDA — mutual, one-way, employee, or vendor. |
  42. | `/legal terms <url>` | Generates terms of service based on what the website actually does. GDPR/CCPA compliant. |
  43. | `/legal privacy <url>` | Generates a privacy policy by scanning what data the site collects. |
  44. | `/legal agreement <type>` | Generates business agreements — freelancer contracts, partnerships, SOWs, MSAs, and more. |
  45. | `/legal freelancer <file>` | Specialized review from the freelancer's perspective. Flags common contractor traps. |
  46. ### Compliance & Reporting
  47. | Command | What It Does |
  48. |---------|-------------|
  49. | `/legal compliance <url>` | Compliance gap analysis — GDPR, CCPA, ADA, PCI-DSS, CAN-SPAM, SOC 2. |
  50. | `/legal report-pdf` | Professional PDF report with score gauges, risk charts, and prioritized actions. |
  51. ---
  52. ## The Flagship: `/legal review`
  53. The most powerful command. Run it on any contract and get:
  54. 1. **Contract Safety Score** (0-100) with letter grade
  55. 2. **Risk Dashboard** — high/medium/low risk clause counts
  56. 3. **Clause-by-Clause Analysis** — every clause scored, explained in plain English, with specific fix recommendations
  57. 4. **Missing Protections** — what should be there but isn't
  58. 5. **Obligations Timeline** — every deadline and consequence mapped
  59. 6. **Compliance Flags** — regulatory issues flagged
  60. 7. **Negotiation Priorities** — ranked list of what to change first
  61. 8. **Next Steps** — actionable checklist
  62. ### How It Works
  63. ```
  64. /legal review my-contract.pdf
  65. ```
  66. 5 AI agents launch in parallel:
  67. | Agent | Role | Weight |
  68. |-------|------|--------|
  69. | Clause Analyst | Identifies and categorizes every clause | 20% |
  70. | Risk Assessor | Scores each clause for risk | 25% |
  71. | Compliance Checker | Flags regulatory issues | 20% |
  72. | Terms Mapper | Maps obligations, deadlines, and triggers | 15% |
  73. | Recommendations Engine | Generates specific fixes | 20% |
  74. Results are aggregated into a unified report with a single Contract Safety Score.
  75. ---
  76. ## Use Cases
  77. ### For Freelancers & Agencies
  78. - Review client contracts before signing
  79. - Generate NDAs for new client engagements
  80. - Create statements of work with proper protections
  81. - Offer contract review as a paid service ($500-$1,500 per review)
  82. ### For Small Businesses
  83. - Review vendor and supplier contracts
  84. - Generate privacy policies and terms of service
  85. - Run compliance audits on your website
  86. - Understand what you're actually agreeing to
  87. ### For AI Automation Agencies
  88. - Add contract review to your service offering
  89. - Generate professional PDF reports for clients
  90. - Offer monthly legal document management retainers
  91. - Pair with the AI Marketing Suite and AI Sales Team
  92. ---
  93. ## Project Structure
  94. ```
  95. ai-legal-claude/
  96. ├── legal/
  97. │ └── SKILL.md # Main orchestrator (command router)
  98. ├── skills/
  99. │ ├── legal-review/SKILL.md # Full contract review (5 agents)
  100. │ ├── legal-risks/SKILL.md # Deep risk analysis
  101. │ ├── legal-compare/SKILL.md # Contract comparison
  102. │ ├── legal-plain/SKILL.md # Plain English translation
  103. │ ├── legal-negotiate/SKILL.md # Counter-proposal generator
  104. │ ├── legal-missing/SKILL.md # Missing protections finder
  105. │ ├── legal-nda/SKILL.md # NDA generator
  106. │ ├── legal-terms/SKILL.md # Terms of service generator
  107. │ ├── legal-privacy/SKILL.md # Privacy policy generator
  108. │ ├── legal-agreement/SKILL.md # Business agreement generator
  109. │ ├── legal-compliance/SKILL.md # Compliance gap analysis
  110. │ ├── legal-freelancer/SKILL.md # Freelancer contract review
  111. │ └── legal-report-pdf/SKILL.md # PDF report generator
  112. ├── agents/
  113. │ ├── legal-clauses.md # Clause analysis agent
  114. │ ├── legal-risks.md # Risk assessment agent
  115. │ ├── legal-compliance.md # Compliance check agent
  116. │ ├── legal-terms.md # Terms & obligations agent
  117. │ └── legal-recommendations.md # Recommendations agent
  118. ├── scripts/
  119. │ └── generate_legal_pdf.py # PDF generation (ReportLab)
  120. ├── templates/
  121. │ └── contract-review-template.md # Report template
  122. ├── install.sh # One-line installer
  123. ├── uninstall.sh # Clean uninstaller
  124. └── README.md
  125. ```
  126. ---
  127. ## Requirements
  128. - **Claude Code** (with an active Anthropic API key)
  129. - **Python 3.8+** (for PDF generation only)
  130. - **reportlab** — `pip3 install reportlab` (for PDF generation only)
  131. ---
  132. ## Uninstall
  133. ```bash
  134. curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/uninstall.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 171 on GitHub
  135. ```
  136. Or run locally:
  137. ```bash
  138. ./uninstall.sh
  139. ```
  140. ---
  141. ## Disclaimer
  142. 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.
  143. ---
  144. <p align="center">
  145. <strong>Part of the Claude Code Skills Series</strong><br>
  146. <a href="https://github.com/zubair-trabzada/ai-marketing-claude">AI Marketing Suite</a> ·
  147. <a href="https://github.com/zubair-trabzada/ai-sales-team-claude">AI Sales Team</a> ·
  148. <strong>AI Legal Assistant</strong>
  149. </p>
  150. <p align="center">
  151. <a href="https://www.skool.com/aiworkshop">🎓 Learn How to Sell Claude Code Services to Real Businesses</a>
  152. </p>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.