legalfrance
Assistant juridique français RAG sur codes et lois consolidés (LEGI/DILA)
Setup & Installation
Install command
clawhub install msgnoki/legalfranceIf the CLI is not installed:
Install command
npx clawhub@latest install msgnoki/legalfranceOr install with OpenClaw CLI:
Install command
openclaw skills install msgnoki/legalfranceor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/msgnoki/legalfranceWhat This Skill Does
French legal assistant that answers questions about French law using hybrid retrieval (full-text search + vector search) over the LEGI/DILA consolidated legislative corpus. Answers include verifiable citations to specific articles. Requires a one-time index initialization that downloads roughly 2GB of data.
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.
When to Use It
- 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
View original SKILL.md file
# 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** : ```bash 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 : ```bash python scripts/one_shot.py "<question>" ``` Mode structuré JSON : ```bash python scripts/one_shot.py "<question>" --json ``` Recherche brute dans les codes : ```bash 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.
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Looking up specific articles in the French Civil Code or other codes
- 1Looking up specific articles in the French Civil Code or other codes
- 2Checking whether a contract clause meets legal requirements under French law
- 3Getting a structured breakdown of a legislative provision with its limits
- 4Searching raw text across consolidated French codes for a keyword or concept
- 5Summarizing applicable law for a given situation with cited sources
Assistant juridique français RAG sur codes et lois consolidés (LEGI/DILA)
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.
Similar Skills
VIEW ALLahmed
Terminal Spotify playback/search via spogo (preferred)
attio-crm
Manage Attio CRM records (companies, people, deals, tasks, notes).
stackunderflow
A knowledge-retrieval protocol allowing the agent to access a verified community knowledge base.
moonbanking
Full access to Moon Banking API endpoints for data about every bank on Earth, including stories, votes, scores.