Home / Market / lex

lex

Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.

skill★ 508120 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: lex description: "Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding." category: business risk: safe source: community date_added: "2026-03-10" author: Svobikl tags: [legal, context, cross-jurisdictional, compliance, scaffolding] tools: [claude, cursor, gemini]

---

LEX: Legal-Entity-X-ref

Overview

LEX is a structured truth engine designed to eliminate legal hallucinations by grounding agents in verified government references and legislation across 29+ jurisdictions. It provides deterministic context for business formation, employment, and contract drafting.

When to Use This Skill

How It Works

Step 1: Identify Jurisdiction

Before drafting, determine if the user's entity or contract target is in the USA, Canada, or the EU.

Step 2: Search & Fetch Context

Use the CLI shortcuts to find the relevant legal patterns and templates.

Step 3: Scaffold Drafting

Generate foundation-level documents using lex draft <description>. This ensures that all drafts include the mandatory AI-generated content disclaimer.

Step 4: Verify Authority

Always include a "Verified Sources" section in your output by running lex verify, which fetches official government links for the retrieved context.

Examples

Example 1: Comparing Employment Laws

# Get the workforce template to compare US vs EU notice periods
lex get templates/02_employment_workforce.md

Example 2: Drafting a Czech Contract

# Create a house sale contract scaffold in Czech language
lex draft "Czech house sale contract"

Best Practices

Common Pitfalls

Solution: Run lex get templates/02_employment_workforce.md to see the restrictive covenant comparison table.

Related Skills

Limitations