Borrowing it
Nothing to install: this file belongs to BenjoNX/Legal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/BenjoNX/Legal/claude/french-legal-mcp-server-FwIH9/.claude/commands/analyser-contrat.mdgit clone --depth 1 https://github.com/BenjoNX/LegalWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/benjonx/legal/analyser-contrat)<a href="https://agentmods.dev/commands/benjonx/legal/analyser-contrat"><img src="https://agentmods.dev/badge/commands/benjonx/legal/analyser-contrat/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/benjonx/legal/analyser-contrat"><img src="https://agentmods.dev/badge/commands/benjonx/legal/analyser-contrat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.01381 |
| Opus 5.5 | $0.00007 | $0.00552 |
| Sonnet 5.5 | $0.00003 | $0.00276 |
| Haiku 4.5 | $0.00002 | $0.00138 |
Grade A, and why
analyser-contrat scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/analyser-contrat -- Analyse de contrat droit français
Analyse un contrat clause par clause selon le droit français, le Code civil (réforme de 2016), et le cahier des charges de l'organisation. Identifie les écarts, génère des suggestions de modification et évalue l'impact juridique.
Avertissement : Cet outil facilite l'analyse mais ne constitue pas un conseil juridique. Toute analyse doit être vérifiée par un avocat qualifié.
Invocation
/analyser-contrat
Workflow
Étape 1 : Réceptionner le contrat
Accepter le contrat sous tout format : fichier (PDF, DOCX), texte collé, ou lien.
Étape 2 : Recueillir le contexte
Demander à l'utilisateur :
- Votre position : prestataire, client, concédant, licencié, partenaire
- Échéance : Date limite de finalisation
- Points d'attention : Préoccupations spécifiques (données personnelles, responsabilité, PI, etc.)
- Contexte commercial : Taille du contrat, importance stratégique, relation existante
Étape 3 : Charger le cahier des charges
Chercher le cahier des charges dans legal-fr.local.md ou les fichiers de configuration locaux.
Si aucun cahier des charges n'est configuré :
- Informer l'utilisateur
- Proposer de procéder avec les standards du droit français (Code civil, droit des contrats post-réforme 2016)
- Mentionner clairement que l'analyse repose sur le droit commun français
Étape 4 : Analyse clause par clause
Analyser systématiquement selon le droit français :
| Catégorie de clause | Points de contrôle clés |
|---|---|
| Formation du contrat | Capacité, consentement (art. 1128 C. civ.), vices du consentement (erreur, dol, violence) |
| Objet et contrepartie | Détermination du contenu (art. 1163), déséquilibre significatif (art. 1171), clauses abusives |
| Responsabilité contractuelle | Plafond de responsabilité, clauses limitatives (art. 1231-3), force majeure (art. 1218) |
| Garanties et assurances | Garantie des vices cachés, garantie d'éviction, assurance RC Pro |
| Propriété intellectuelle | Cession de droits (L.131-3 CPI), licence, œuvres créées dans le cadre du contrat |
| Données personnelles | Conformité RGPD, DPA/sous-traitance (art. 28 RGPD), CNIL |
| Confidentialité | Durée, périmètre, exceptions, restitution |
| Durée et résiliation | Durée déterminée/indéterminée, reconduction tacite (art. L.215-1 C. consom.), résiliation pour faute |
| Droit applicable et litiges | Loi applicable, juridiction compétente, clause compromissoire, médiation (art. 750-1 CPC) |
| Cession du contrat | Consentement requis (art. 1216 C. civ.), intuitu personae |
| Imprévision | Clause de hardship, art. 1195 C. civ. |
| Clauses pénales | Art. 1231-5 C. civ., pouvoir modérateur du juge |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 129 lines · 17 tokens per session scan A 3964d8901c69
analyser-contrat is a command published in the GitHub repository BenjoNX/Legal (0 stars, last pushed 8mo ago), licensed MIT. It adds 17 tokens to every session and 1,381 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
analyser-contrat compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyser-contratBenjoNX/Legal | Command | 0 | 8mo ago | MIT | A | 17 | Claude Code |
| deps-auditwshobson/agents | Command | 42k | yesterday | MIT | A | 23 | Claude Code |
| review-epo-claimsRobThePCGuy/Claude-Patent-Creator | Command | 209 | 12d ago | MIT | A | 22 | Claude Code |
| review-policymlunato47/claude-grc-plugin | Command | 189 | 1mo ago | MIT | A | 12 | Claude Code |
| au-pspftractorjuice/arc-kit | Command | 2.3k | 2d ago | none | A | 37 | Claude Code |
| compliance-auditTheLobbi/claude | Command | 21 | 7d ago | MIT | A | 0 | Claude Code |
| app-store-auditmjmirza/app-store-compliance | Command | 403 | yesterday | none | A | 35 | Claude Code |