CommunityWriting & Editinggithub.com

Altien/OpenLegalDataSkills

Installable Claude skills for OpenLegalData — case law, citations, contracts, statutes, world law. Install from here; developed in OpenLegalDataDev.

What is OpenLegalDataSkills?

OpenLegalDataSkills is a Claude Code agent skill that installable Claude skills for OpenLegalData — case law, citations, contracts, statutes, world law. Install from here; developed in OpenLegalDataDev.

Works withClaude Code~Codex CLI~Cursor
npx skills add Altien/OpenLegalDataSkills

Installed? Explore more Writing & Editing skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Calling the islands (works in any runtime). Every endpoint below is a plain public HTTPS GET that returns JSON — call it with whatever fetch/HTTP tool you have (e.g. web-fetch). The bundled _lib/legal_search.py only parallelizes these same calls and needs a shell + outbound network: it works in Claude Code, but sandboxed runtimes (e.g. the claude.ai Skills container) may block egress. If the script is blocked, just fetch the URL directly instead.

Honesty rule: only data returned from these *.openlegaldata.net endpoints is an authoritative OpenLegalData result. If you cannot reach them, say so plainly — do NOT present a general web-search answer as an OpenLegalData verification.

World / Comparative Legal Sources

Each jurisdiction is its own island at <cc>.openlegaldata.net (ISO-ish country code), built from official government legal sources (courts + legislation), with every scraped field preserved as metadata (court, chamber, decision number, ECLI, dates, etc.). Content is in each country's native language — search in that language for best recall.

The full list lives in skills/_lib/islands.json under world (~55 entries: ad al am ar at au az ba be bg by ca ch coe cy cz de dk dz ee eg es fi fr ge gr hr hu ie is it li lt lu lv mc me mt nl no nz pl pt ro rs se si sk sm tr tw ua uk xk …).

How to use

Target a specific jurisdiction (preferred — precise + fast):

python "${CLAUDE_PLUGIN_ROOT:-.}/skills/_lib/legal_search.py" search "Datenschutz" --islands https://de.openlegaldata.net --limit 10

Broad comparative sweep across ALL world islands in parallel (e.g. "how do jurisdictions treat X"):

python "${CLAUDE_PLUGIN_ROOT:-.}/skills/_lib/legal_search.py" search "data protection" --category world --limit 5

Results are tagged with _island (the country) so you can compare across systems.

Strategy

  1. Known jurisdiction → query just that island (--islands https://<cc>.openlegaldata.net).
  2. Comparative question → parallel --category world, then group hits by _island.
  3. Search in the jurisdiction's language (German for de, French for fr/lu/mc, Arabic for eg/dz, etc.) — these are native-language corpora.
  4. Coverage is sample corpora per source (tens–hundreds of docs each), good for locating leading/representative texts; not exhaustive. Say so when relevant.

Endpoints

  • GET /search?q=<terms>&limit=N per island; GET / for info + counts.
  • Each result carries rich per-document metadata (the original scraped fields).
import os, sys; sys.path.insert(0, os.path.join(os.environ.get("CLAUDE_PLUGIN_ROOT","."), "skills/_lib"))
from legal_search import search, REGISTRY
fr = [i["url"] for i in REGISTRY["world"] if i["slug"] == "fr"]
hits = search("responsabilité du fait des produits", islands=fr, limit=10)

Related Skills

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community