legalfrance
от msgnoki
Search & ResearchКратко
Assistant juridique français RAG sur codes et lois consolidés (LEGI/DILA)
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
User asks: Quelles sont les conditions de validité d'un contrat en droit français ?
- 1
Runs one_shot.py with the question
- 2
Performs parallel FTS and vector retrieval over the LEGI index
- 3
Ranks and deduplicates retrieved articles by relevance
- 4
Formats response as Principe → Application → Limites → Sources
- 5
Appends mandatory disclaimer that the response is general information, not personalized legal advice
Structured answer citing specific articles from the Code civil (e.g. art. 1128, 1129, 1130) covering consent, capacity, lawful object, and their limits
Установка
clawhub install msgnoki/legalfranceВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.