Legal: Command for Claude Code

.claude/commands/trier-nda.md

trier-nda is a command for Claude Code from BenjoNX/Legal. It costs 18 tokens per session (797 once invoked), scanned A, original, MIT.

A command for quickly sorting a French-law confidentiality agreement, or NDA, into green, yellow, or red risk levels. An NDA is a contract that limits how confidential information may be shared.

In plain words
What is it for?
Use it to check reciprocity, confidential-information definitions, exceptions, duration, permitted disclosures, document return or destruction, and other listed terms.
Why use it?
It provides an initial checklist so common contract issues can be spotted before approval or legal review.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is BenjoNX/Legal's own configuration. It tells Claude Code how to work on Legal itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Legal configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/BenjoNX/Legal/claude/french-legal-mcp-server-FwIH9/.claude/commands/trier-nda.md
Clone the repo
git clone --depth 1 https://github.com/BenjoNX/Legal

Made for: Claude Code.

Wrote 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.

agentmods badge for trier-nda

README.md
[![agentmods](https://agentmods.dev/badge/commands/benjonx/legal/trier-nda/github.svg)](https://agentmods.dev/commands/benjonx/legal/trier-nda)
Your own site
<a href="https://agentmods.dev/commands/benjonx/legal/trier-nda"><img src="https://agentmods.dev/badge/commands/benjonx/legal/trier-nda/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.

agentmods 80×15 button for trier-nda

Your own site · 80×15
<a href="https://agentmods.dev/commands/benjonx/legal/trier-nda"><img src="https://agentmods.dev/badge/commands/benjonx/legal/trier-nda.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 797 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00797
Opus 5 $0.00009 $0.00398
Sonnet 5 $0.00004 $0.00159
Haiku 4.5 $0.00002 $0.00080

Measured 9d ago against content hash 064de59d2427, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

trier-nda 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 9d 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.

.claude/commands/trier-nda.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/trier-nda -- Triage d'accord de confidentialité

Triage rapide d'un accord de confidentialité (NDA) entrant. Classifie selon trois niveaux : VERT (approbation standard), JAUNE (revue par un juriste), ROUGE (problèmes significatifs).

Avertissement : Cet outil facilite le triage mais ne constitue pas un conseil juridique.

Invocation

/trier-nda

Workflow

Étape 1 : Réceptionner le NDA

Accepter le NDA sous tout format (fichier, texte, lien).

Étape 2 : Grille de contrôle

Critère Vérification
Réciprocité Obligations mutuelles ? Si unilatéral, est-ce adapté ?
Définition des informations confidentielles Périmètre raisonnable ? Pas trop large ?
Exceptions standard Information publique, connue antérieurement, développée indépendamment, reçue d'un tiers, obligation légale
Durée Accord : 1-3 ans standard. Survie : 2-5 ans (secrets d'affaires : plus long)
Divulgation autorisée Salariés, sous-traitants, conseils ayant besoin d'en connaître
Restitution/destruction À la fin du contrat, avec exception pour obligations légales/archivage
Non-sollicitation Ne doit PAS figurer dans un NDA
Non-concurrence Ne doit PAS figurer dans un NDA
Clause résiduelle Absente ou strictement limitée à la mémoire non assistée
Droit applicable Droit français ou juridiction commerciale raisonnable
Clause pénale Montant proportionné (pouvoir modérateur du juge, art. 1231-5 C. civ.)
Conformité RGPD Si échange de données personnelles : mention des obligations RGPD

Étape 3 : Classification

VERT -- Approbation standard

Tous les critères remplis. NDA conforme aux standards du marché français.

JAUNE -- Revue juriste nécessaire

Écarts mineurs mais gérables (définition large, durée plus longue, juridiction acceptable mais non préférée, exception manquante facilement ajoutée).

ROUGE -- Problèmes significatifs

Unilatéral inadapté, exceptions critiques manquantes, clauses de non-concurrence ou non-sollicitation, durée déraisonnable, clause résiduelle large, juridiction problématique, clauses commerciales cachées.

Read the full file on GitHub · 82 lines

Changes

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.

  1. 9d ago First seen · 82 lines · 18 tokens per session scan A 064de59d2427

Subscribe to this mod's changes

trier-nda is a command published in the GitHub repository BenjoNX/Legal (0 stars, last pushed 6mo ago), licensed MIT. It adds 18 tokens to every session and 797 once invoked, about $0.0001 per session on Opus 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.