AI Legal Assistant (Cursor skills + PDF tooling)

Brainforge vendors the AI Legal Assistant prompts as Cursor Agent Skills under .cursor/skills/legal-*, with an orchestrator at .cursor/skills/ai-legal-assistant/. Upstream inspiration: zubair-trabzada/ai-legal-claude (see tools/ai-legal-claude/NOTICE.md).

Disclaimer: Outputs are not legal advice. Use for internal drafting and review support only; counsel should review binding documents.

What you need

  • Cursor with Agent Skills enabled (this repo’s .cursor/skills/ tree).
  • No Claude Code is required; analysis runs in Cursor chat/composer.

Slash commands

Defined in .cursor/commands/:

  • /ai-legal-assistant — menu / router
  • /legal-review, /legal-risks, /legal-compare, /legal-plain, /legal-negotiate, /legal-missing, /legal-nda, /legal-terms, /legal-privacy, /legal-agreement, /legal-freelancer, /legal-compliance, /legal-report-pdf

PDF reports (optional)

  1. Install Python 3 and ReportLab:

    pip install -r tools/ai-legal-claude/requirements.txt
  2. After saving a markdown review (e.g. CONTRACT-REVIEW-*.md), the legal-report-pdf skill builds JSON and runs:

    python tools/ai-legal-claude/scripts/generate_legal_pdf.py CONTRACT-REVIEW-DATA.json CONTRACT-REVIEW-REPORT.pdf

JSON schema: repo root tools/ai-legal-claude/README.md.

Repo paths

PathPurpose
.cursor/skills/legal-*Skill instructions
.cursor/skills/ai-legal-assistantOrchestrator
tools/ai-legal-claude/scripts/generate_legal_pdf.pyPDF generator
tools/ai-legal-claude/reference/agents/Rubrics for multi-pass review

Credentials

No API key is required for the skills themselves (they use the Cursor model). PDF generation is local Python only.