{
  "markdown": "<p align=\"center\">\n  <img src=\"assets/banner.svg\" alt=\"AI Legal Assistant for Claude Code\" width=\"900\"/>\n</p>\n\n<p align=\"center\">\n  <strong>AI-powered contract review and legal document generation.</strong> Review contracts, flag risks,<br/>\n  generate NDAs, check compliance, negotiate terms, and produce client-ready PDF reports — all from Claude Code.\n</p>\n\n<p align=\"center\">\n  Every contract has hidden risks. This tool finds them in 60 seconds.\n</p>\n\n---\n\n## Why This Matters\n\n| Metric | Value |\n|--------|-------|\n| Average legal review cost | $300–$500/hour |\n| Basic contract review | $1,500–$3,000 |\n| Freelancers who don't read contracts | 82% |\n| Cost of one bad clause | $10,000+ |\n| Small businesses without legal review | 67% |\n| Time to review with this tool | Under 60 seconds |\n\n---\n\n## Quick Start\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/install.sh | bash\n```\n\nThat's it. One command installs all 14 skills, 5 agents, and the PDF generation scripts.\n\n---\n\n## All 14 Commands\n\n### Contract Analysis\n| Command | What It Does |\n|---------|-------------|\n| `/legal review <file>` | **Flagship** — Full contract review with 5 parallel agents. Returns a Contract Safety Score, clause-by-clause analysis, and prioritized recommendations. |\n| `/legal risks <file>` | Deep risk analysis with severity scoring for every clause. Estimates financial exposure. |\n| `/legal compare <file1> <file2>` | Side-by-side comparison of two contract versions. Flags additions, removals, and dangerous changes. |\n| `/legal plain <file>` | Translates every clause from legalese into plain English anyone can understand. |\n| `/legal negotiate <file>` | Generates specific counter-proposals with replacement language for every unfavorable clause. |\n| `/legal missing <file>` | Finds protections that SHOULD be in the contract but aren't. |\n\n### Document Generation\n| Command | What It Does |\n|---------|-------------|\n| `/legal nda <description>` | Generates a custom NDA — mutual, one-way, employee, or vendor. |\n| `/legal terms <url>` | Generates terms of service based on what the website actually does. GDPR/CCPA compliant. |\n| `/legal privacy <url>` | Generates a privacy policy by scanning what data the site collects. |\n| `/legal agreement <type>` | Generates business agreements — freelancer contracts, partnerships, SOWs, MSAs, and more. |\n| `/legal freelancer <file>` | Specialized review from the freelancer's perspective. Flags common contractor traps. |\n\n### Compliance & Reporting\n| Command | What It Does |\n|---------|-------------|\n| `/legal compliance <url>` | Compliance gap analysis — GDPR, CCPA, ADA, PCI-DSS, CAN-SPAM, SOC 2. |\n| `/legal report-pdf` | Professional PDF report with score gauges, risk charts, and prioritized actions. |\n\n---\n\n## The Flagship: `/legal review`\n\nThe most powerful command. Run it on any contract and get:\n\n1. **Contract Safety Score** (0-100) with letter grade\n2. **Risk Dashboard** — high/medium/low risk clause counts\n3. **Clause-by-Clause Analysis** — every clause scored, explained in plain English, with specific fix recommendations\n4. **Missing Protections** — what should be there but isn't\n5. **Obligations Timeline** — every deadline and consequence mapped\n6. **Compliance Flags** — regulatory issues flagged\n7. **Negotiation Priorities** — ranked list of what to change first\n8. **Next Steps** — actionable checklist\n\n### How It Works\n\n```\n/legal review my-contract.pdf\n```\n\n5 AI agents launch in parallel:\n\n| Agent | Role | Weight |\n|-------|------|--------|\n| Clause Analyst | Identifies and categorizes every clause | 20% |\n| Risk Assessor | Scores each clause for risk | 25% |\n| Compliance Checker | Flags regulatory issues | 20% |\n| Terms Mapper | Maps obligations, deadlines, and triggers | 15% |\n| Recommendations Engine | Generates specific fixes | 20% |\n\nResults are aggregated into a unified report with a single Contract Safety Score.\n\n---\n\n## Use Cases\n\n### For Freelancers & Agencies\n- Review client contracts before signing\n- Generate NDAs for new client engagements\n- Create statements of work with proper protections\n- Offer contract review as a paid service ($500-$1,500 per review)\n\n### For Small Businesses\n- Review vendor and supplier contracts\n- Generate privacy policies and terms of service\n- Run compliance audits on your website\n- Understand what you're actually agreeing to\n\n### For AI Automation Agencies\n- Add contract review to your service offering\n- Generate professional PDF reports for clients\n- Offer monthly legal document management retainers\n- Pair with the AI Marketing Suite and AI Sales Team\n\n---\n\n## Project Structure\n\n```\nai-legal-claude/\n├── legal/\n│   └── SKILL.md                    # Main orchestrator (command router)\n├── skills/\n│   ├── legal-review/SKILL.md       # Full contract review (5 agents)\n│   ├── legal-risks/SKILL.md        # Deep risk analysis\n│   ├── legal-compare/SKILL.md      # Contract comparison\n│   ├── legal-plain/SKILL.md        # Plain English translation\n│   ├── legal-negotiate/SKILL.md    # Counter-proposal generator\n│   ├── legal-missing/SKILL.md      # Missing protections finder\n│   ├── legal-nda/SKILL.md          # NDA generator\n│   ├── legal-terms/SKILL.md        # Terms of service generator\n│   ├── legal-privacy/SKILL.md      # Privacy policy generator\n│   ├── legal-agreement/SKILL.md    # Business agreement generator\n│   ├── legal-compliance/SKILL.md   # Compliance gap analysis\n│   ├── legal-freelancer/SKILL.md   # Freelancer contract review\n│   └── legal-report-pdf/SKILL.md   # PDF report generator\n├── agents/\n│   ├── legal-clauses.md            # Clause analysis agent\n│   ├── legal-risks.md              # Risk assessment agent\n│   ├── legal-compliance.md         # Compliance check agent\n│   ├── legal-terms.md              # Terms & obligations agent\n│   └── legal-recommendations.md    # Recommendations agent\n├── scripts/\n│   └── generate_legal_pdf.py       # PDF generation (ReportLab)\n├── templates/\n│   └── contract-review-template.md # Report template\n├── install.sh                      # One-line installer\n├── uninstall.sh                    # Clean uninstaller\n└── README.md\n```\n\n---\n\n## Requirements\n\n- **Claude Code** (with an active Anthropic API key)\n- **Python 3.8+** (for PDF generation only)\n- **reportlab** — `pip3 install reportlab` (for PDF generation only)\n\n---\n\n## Uninstall\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/uninstall.sh | bash\n```\n\nOr run locally:\n\n```bash\n./uninstall.sh\n```\n\n---\n\n## Disclaimer\n\nThis 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.\n\n---\n\n<p align=\"center\">\n  <strong>Part of the Claude Code Skills Series</strong><br>\n  <a href=\"https://github.com/zubair-trabzada/ai-marketing-claude\">AI Marketing Suite</a> ·\n  <a href=\"https://github.com/zubair-trabzada/ai-sales-team-claude\">AI Sales Team</a> ·\n  <strong>AI Legal Assistant</strong>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.skool.com/aiworkshop\">🎓 Learn How to Sell Claude Code Services to Real Businesses</a>\n</p>\n",
  "bytes": 7272,
  "sha": "8839504e2890eb924025660df92615b9fb3faa3127032406c933cc59acb105f7",
  "repo_slug": "zubair-trabzada/ai-legal-claude",
  "fonte": "repo",
  "truncated": false,
  "api": "https://api.agentalog.com/api/listings/skl_zubair_trabzada_ai_legal_claude_contract_b801b73e/readme"
}