OpenClaw · Skill

Legalfrance

Assistant juridique FR basé sur un retrieval hybride (FTS + vector) avec citations d'articles.

Search & Research
v1.0.1
VirusTotal: Benign

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install msgnoki/legalfrance

ClawHub installer

npx clawhub@latest install msgnoki/legalfrance

OpenClaw CLI

openclaw skills install msgnoki/legalfrance

Direct OpenClaw install

openclaw install msgnoki/legalfrance

What this skill does

Assistant juridique FR basé sur un retrieval hybride (FTS + vector) avec citations d'articles.

Why it matters

Grounds answers in the actual consolidated LEGI corpus via hybrid retrieval rather than relying on an LLM's potentially outdated or hallucinated knowledge of French legislation.

Typical use cases

  • Looking up specific articles in the French Civil Code or other codes
  • Checking whether a contract clause meets legal requirements under French law
  • Getting a structured breakdown of a legislative provision with its limits
  • Searching raw text across consolidated French codes for a keyword or concept
  • Summarizing applicable law for a given situation with cited sources

Source instructions

LegalFrance

Assistant juridique FR basé sur un retrieval hybride (FTS + vector) avec citations d'articles.

Première utilisation — initialisation du référentiel

Si les index sont absents (data/chroma_db ou data/fts_index.db manquants), demander confirmation à l'utilisateur avant d'exécuter :

python scripts/ingest.py

⚠️ Cette étape télécharge le corpus LEGI (HuggingFace) et le modèle d'embeddings BGE-M3 (~2 Go au total) puis écrit les index sur disque. Durée estimée : 20–40 min selon la connexion.

Demander : "L'initialisation va télécharger ~2 Go de données (corpus juridique + modèle). Confirmer ?"

Utilisation

Question juridique :

python scripts/one_shot.py "<question>"

Mode structuré JSON :

python scripts/one_shot.py "<question>" --json

Recherche brute dans les codes :

python scripts/search.py "<requête>" 5

Règles de réponse

  • Citer uniquement les sources retrouvées dans les index
  • Ne jamais inventer d'article ou de décision
  • Si sources insuffisantes : le dire explicitement
  • Format recommandé : Principe → Application → Limites → Sources
  • Disclaimer obligatoire en fin de réponse (information générale, pas conseil juridique personnalisé)

Module jurisprudence (optionnel)

Le module search_jurisprudence (Cour de cassation / Conseil d'État) est optionnel. S'il est absent, le skill fonctionne normalement sur les codes législatifs uniquement.

Related OpenClaw skills

Browse all →
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise