Contract Law Reviewer

Intelligent contract analysis for EU and Belgian business law. Identifies risks, suggests improvements, and ensures legal compliance using Ollama cloud models.

Contract Law Reviewer

Description

Intelligent contract analysis for EU and Belgian business law. Identifies risks, suggests improvements, and ensures legal compliance using Ollama cloud models.

Installation

pip install python-docx pdfminer.six pypdf2 ollama

Configuration

Add to .env:

OLLAMA_CLOUD_URL=https://api.cloud.ollama.com/v1
OLLAMA_CLOUD_API_KEY=your-api-key
LEGAL_MODEL=llama3-70b-instruct
ALTERNATIVE_MODEL=mistral-large
JURISDICTION=BE  # Belgium
LANGUAGES=nl,fr,de,en

Usage

Full contract review

contract-law-reviewer review \
  contract.pdf \
  --contract-type service-agreement \
  --jurisdiction Belgium \
  --output review_report.md \
  --risk-levels high,medium

Risk analysis

contract-law-reviewer risk-scan \
  agreement.docx \
  --focus-areas payment,liability,tax \
  --score-risks \
  --output risk_matrix.json

Clause extraction

contract-law-reviewer extract \
  partnership_contract.docx \
  --clauses non-compete,confidentiality,termination \
  --format json

Compare contracts

contract-law-reviewer compare \
  contract_v1.docx contract_v2.docx \
  --highlight-changes \
  --analyze-impact \
  --output comparison_report.html

Generate contract templates

contract-law-reviewer template \
  --type nda \
  --jurisdiction Belgium \
  --language nl \
  --entity-type bvba \
  --output nda_template_bvba.docx

Check for unfair clauses

contract-law-reviewer check-unfair \
  consumer_contract.pdf \
  --jurisdiction Belgium \
  --consumer-law-check \
  --flag-potentially-illegal

Features

  • Belgian Law Focus: BVBA, NV, SPRL-S specific clauses
  • EU Directives: Unfair Contract Terms Directive, Consumer Rights Directive
  • Multi-language: Dutch (Flemish), French, German, English
  • Risk Scoring: High/medium/low risk categorization
  • Clause Library: Standard Belgian/EU contract clauses
  • Template Generation: Ready-to-use templates for Belgian businesses
  • Smart Comparisons: AI-powered change analysis
  • Legal Research: Integration with legal databases

Belgian Contract Types

Commercial Contracts

  • Services (Dienstverlening/Prestations)
  • Sales (Verkoop/Vente)
  • Partnership (Partnerschap/Association)
  • Distribution (Distributie/Distribution)

Corporate Documents

  • Statuten/Statuts (Articles of Association)
  • Aandeelhoudersovereenkomst/Convention d'Actionnaires (Shareholders' Agreement)
  • Directieovereenkomst/Convention de Direction (Management Agreement)

Employment

  • Arbeidsovereenkomst/Contrat de Travail (Employment Contract)
  • Consultantovereenkomst/Contrat de Consultant (Consultant Agreement)
  • Non-concurrentiebeding/Clause de Non-concurrence (Non-compete)

Commercial Real Estate

  • Huurovereenkomst/Bail Commercial (Commercial Lease)
  • Koopovereenkomst/Compromis (Purchase Agreement)

Risk Categories

High Risk

  • Unlimited liability clauses
  • Unilateral termination without compensation
  • Confidentiality without reasonable duration
  • Missing governing law clause

Medium Risk

  • Unclear payment terms
  • No dispute resolution clause
  • Missing data protection compliance
  • Ambiguous intellectual property ownership

Low Risk

  • Minor language inconsistencies
  • Formatting issues
  • Missing definitions for secondary terms

Examples

Quick Contract Review

contract-law-reviewer quick \
  consultant_agreement.pdf \
  --business-type sprl-s \
  --language fr \
  --check-vat-compliance

Output shows red/yellow/green issues with explanations and suggested fixes.

Standard NDA Generation

contract-law-reviewer generate \
  --type nda \
  --duration 3 \
  --mutual \
  --jurisdiction Antwerp \
  --language nl \
  --entity-type bvba \
  --output nda_mutual_bvba_antwerp.docx

Employment Contract Check

contract-law-reviewer employment-check \
  employe_contract.pdf \
  --check-compliants-with-belgian-labor-law \
  --seniority-level junior \
  --contract-type fixed-term \
  --output compliance_check.json

Integration with OpenClaw

All commands registered as tools:

  • contract-law-reviewer review
  • contract-law-reviewer risk-scan
  • contract-law-reviewer extract
  • contract-law-reviewer compare
  • contract-law-reviewer template
  • contract-law-reviewer check-unfair
  • contract-law-reviewer quick
  • contract-law-reviewer generate
  • contract-law-reviewer employment-check

Model Recommendations

  • llama3-70b-instruct: Best for legal reasoning and contract analysis
  • mistral-large: Excellent for multi-language legal documents
  • mixtral-8x22b: Superior for complex contract reviews and risk assessment

All models trained on EU/Belgian legal frameworks and multilingual capabilities.

Last updated: October 13, 2026

Files (2)

Jurisdiction
🇧🇪 Belgium
Practice area
Contracts
License
MIT
Author
panyeroa1
Source
be/contracts/skills/contract-law-reviewer-panyeroa1

Test Contract Law Reviewer

Ask a legal question — get an answer generated live from this skill’s instructions.

Sign in to test this skill.

Contract Law Reviewer · ThomasMore AI