Legal Encyclopedia (multi-jurisdiction)
Comprehensive multi-jurisdiction legal advisor. Routes any legal question to the right jurisdiction + branch + free source, with Kuwait-first priority, then GCC → Arab → USA/EU/Turkey. Bilingual (Arabic + English). Not binding legal advice.
Jurisdictions
kuwait · gcc · arab · usa · eu · turkey · intl (FIDIC/UNCITRAL)Branches
engineering(FIDIC) · commercial · investment · real-estate · labor · personal-status(family) · criminal · civil · ip · tax · generalFree sources (all verified reachable 2026-06-05)
- Kuwait: moj.gov.kw · lawskw.com · kna.kw (مجلس الأمة) · الجريدة الرسمية → web_fetch/firecrawl + legal-rag
- EU / Turkey-EU: EUR-Lex via
eurlex.py(CELEX, free, no key) ✅ GDPR fetch verified - USA:
courtlistener-researchskill (free case law) ✅ - Turkey national: mevzuat.gov.tr (firecrawl — 403 on plain curl)
- GCC/Arab: national gazettes + portals → web_fetch + legal-rag
- Intl: FIDIC suite + UNCITRAL + ICC arbitration
Usage
bash
. /data/.openclaw/secrets/env.sh
route a question (jurisdiction + branch + sources)
python3 skills/legal-encyclopedia/legal_router.py route "سؤال قانوني"
build grounded prompt (paste into Opus 4.8 for deepest answer)
python3 skills/legal-encyclopedia/legal_router.py prompt "..."
grounded answer now (Gemini 3.1 Pro, strong on LegalBench)
python3 skills/legal-encyclopedia/legal_router.py run "..."EU law direct fetch (CELEX)
python3 skills/legal-encyclopedia/eurlex.py fetch 32016R0679 # GDPR
python3 skills/legal-encyclopedia/eurlex.py url 32014L0024 # build URL
Verified (2026-06-05)
- route: Turkey/real-estate, Kuwait/engineering, Kuwait/personal-status ✅
- run: Kuwait inheritance answer citing قانون الأحوال الشخصية 51/1984 م.293 (فروض/تعصيب) ✅
- eurlex fetch GDPR (CELEX 32016R0679) live ✅
Model routing
- Deepest:
prompt→ Claude Opus 4.8 (golden chain). - Quick grounded:
run(Gemini 3.1 Pro). - Sits on top of: legal-rag · courtlistener-research · contract-review · legal-drafting · claims-engineering.
Hard rules
- Never fabricate article numbers — if unsure, state the principle + advise checking the official gazette.
- Kuwait-first ordering. Not binding legal advice; final call to a licensed lawyer in the relevant jurisdiction.