lex-legal

lex-legal is an agent for Claude Code from evolution-foundation/evo-nexus. It costs 280 tokens per session (4,828 once invoked), scanned A, original, no licence file.

A legal and compliance assistant for reviewing contracts, checking obligations, assessing risks, and handling related requests. Compliance means following laws, regulations, and internal rules.

In plain words
What is it for?
Use it to review contracts and NDAs, check compliance, assess legal risk, prepare legal briefs, check vendors, and manage signature requests.
Why use it?
It helps find legal or regulatory concerns before they cause problems and organises routine legal work.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to review contracts and NDAs, check compliance, assess legal risk, prepare legal briefs, check vendors, and manage signature requests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/evolution-foundation/evo-nexus/lex-legal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/evolution-foundation/evo-nexus

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 lex-legal

README.md
[![agentmods](https://agentmods.dev/badge/agents/evolution-foundation/evo-nexus/lex-legal.svg)](https://agentmods.dev/agents/evolution-foundation/evo-nexus/lex-legal)
Your own site
<a href="https://agentmods.dev/agents/evolution-foundation/evo-nexus/lex-legal"><img src="https://agentmods.dev/badge/agents/evolution-foundation/evo-nexus/lex-legal.svg" alt="Measured on agentmods" height="20"></a>
Per session 280 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,828 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 unknown 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.00280 $0.04828
Opus 5 $0.00140 $0.02414
Sonnet 5 $0.00056 $0.00966
Haiku 4.5 $0.00028 $0.00483

Measured 8d ago against content hash 6754b475cb4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

lex-legal 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 8d 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/agents/lex-legal.md · 312 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago First seen · 312 lines · 280 tokens per session scan A 6754b475cb4b

Subscribe to this mod's changes

lex-legal is an agent published in the GitHub repository evolution-foundation/evo-nexus (532 stars, last pushed 3mo ago), with no licence file. It adds 280 tokens to every session and 4,828 once invoked, about $0.0014 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-30.

Related

Other agents, from other repositories

compliance-expert

GDPR, SOC2, HIPAA compliance, data classification, audit logging, retention policies, and privacy-by-design specialist.

vibeeval/vibecosystem · 30 tokens

compliance-engineer

SOC2, HIPAA, GDPR, PCI-DSS compliance implementation specialist. Use when implementing audit logging, data encryption, access controls, privacy by design, or preparing for compliance audits. Trigger phrases: SOC2, HIPAA, GDPR, PCI, compliance, audit log, data privacy, encryption, access control, DSAR, consent.

travisjneuman/.claude · 73 tokens

privacy-agent-csk

Privacy auditor for the regimes the project declares (KVKK/GDPR by default). Use proactively when personal data, legal basis/consent, data minimisation, retention, transparency, data-subject rights, or cross-border transfer are touched. Findings + fixes via privacy-compliance; writes no code.

byerlikaya/claude-starter-kit · 70 tokens

privacy-identity-steward

Panel judge for privacy and identity. Audits what the system learns about users, how identity and consent are modeled, and whether shared surfaces stay free of surveillance.

gbotev1/cc-autopilot · 39 tokens

afc-architect

Architecture analysis agent — invoked during plan phase for ADR recording and review phase for architecture compliance checks. Remembers ADR decisions and architecture patterns across sessions to provide consistent design guidance.

jhlee0409/all-for-claudecode · 39 tokens

tax-analyst

Expert tax analyst agent that reviews financial documents, applies IRS regulations, categorizes transactions, identifies deductions, and generates comprehensive tax optimization reports with CPA-level expertise and fiduciary care.

manutej/luxor-claude-marketplace · 40 tokens