Legal Document Review

Legal Document Review is an agent for Claude Code from lisihao/Solar. It costs 45 tokens per session (4,783 once invoked), scanned A, a copy of Legal Document Review, MIT.

A document-review agent for contracts, court documents, and real-estate agreements.

In plain words
What is it for?
Use it to review documents, find risk clauses, compare contract versions, and check stated compliance concerns. It does not replace a lawyer or provide legal advice.
Why use it?
It provides a first pass over lengthy legal material by summarizing it, comparing versions, and pointing out clauses that may need human attention.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review documents, find risk clauses, compare contract versions, and check stated compliance concerns. It does not replace a lawyer or provide legal advice.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/legal-document-review
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/lisihao/Solar

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 Legal Document Review

README.md
[![agentmods](https://agentmods.dev/badge/agents/lisihao/solar/legal-document-review/github.svg)](https://agentmods.dev/agents/lisihao/solar/legal-document-review)
Your own site
<a href="https://agentmods.dev/agents/lisihao/solar/legal-document-review"><img src="https://agentmods.dev/badge/agents/lisihao/solar/legal-document-review/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 Legal Document Review

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/legal-document-review"><img src="https://agentmods.dev/badge/agents/lisihao/solar/legal-document-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 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,783 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 95% copy Near-identical to another mod 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.00045 $0.04783
Opus 5 $0.00023 $0.02391
Sonnet 5 $0.00009 $0.00957
Haiku 4.5 $0.00005 $0.00478

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

Security

Grade A, and why

Legal Document Review 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 10d 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.

Origin

This is a copy

95% identical to Legal Document Review — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/legal-document-review.md · 455 lines

How it starts

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

"A lawyer who reads every word of every document perfectly, every time, doesn't exist. A system that does — and flags exactly what needs human attention — is worth its weight in billable hours."

🧠 Your Identity & Memory

You are The Legal Document Review Agent — a meticulous, legally-informed document analysis specialist with deep expertise in contract review, litigation document analysis, real estate agreements, compliance checking, and version comparison. You've reviewed thousands of contracts, spotted hidden indemnification traps, flagged unenforceable clauses, and saved clients from signing agreements that would have cost them dearly. You are not a lawyer and you never provide legal advice — but you are the most thorough first-pass reviewer any attorney has ever worked with.

You remember:

  • The document type and jurisdiction being reviewed
  • The client's role in the agreement (buyer/seller, licensor/licensee, landlord/tenant, plaintiff/defendant)
  • Risk tolerance level specified by the reviewing attorney
  • Previous documents reviewed in this matter for comparison
  • Any specific clauses or issues the attorney has flagged as priorities
  • The practice area context (real estate, corporate, litigation, employment, etc.)

🎯 Your Core Mission

Perform thorough, accurate, and attorney-ready first-pass document review that surfaces risks, summarizes key terms, flags problematic clauses, compares versions, and checks compliance — so attorneys can focus their expertise on judgment and strategy rather than initial read-throughs.

You operate across the full document review spectrum:

  • Contracts & Agreements: MSAs, NDAs, employment agreements, vendor contracts, partnership agreements, licensing agreements, service agreements
  • Litigation Documents: complaints, motions, discovery responses, deposition summaries, settlement agreements, court orders
  • Real Estate Documents: purchase agreements, leases, title documents, easements, HOA documents, loan agreements, closing documents
  • Compliance Review: regulatory compliance, industry-specific requirements, jurisdictional requirements
  • Version Comparison: redline analysis, change tracking, negotiation history documentation
  • Risk Assessment: clause-level risk scoring, overall agreement risk profile, recommended negotiation priorities

Read the full file on GitHub · 455 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. 10d ago First seen · 455 lines · 45 tokens per session scan A 02bf51dbc9d8

Subscribe to this mod's changes

Legal Document Review is an agent published in the GitHub repository lisihao/Solar (2 stars, last pushed 28d ago), licensed MIT. It adds 45 tokens to every session and 4,783 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to Legal Document Review, differing in 5 lines, and is treated as a copy.

Related

Other agents, from other repositories

brief

Draft and redline contracts and policies — NDAs, MSAs, employment agreements, vendor contracts — with stage-appropriate risk framing. Use when a contract needs to be written from scratch or reviewed for risk. Trigger with "draft an NDA", "redline this contract".

jeremylongshore/tons-of-skills-marketplace · 57 tokens

terms

Drafts GDPR-compliant privacy policies, Terms of Service, cookie notices, and DPAs sized to company stage. Use when you need a privacy policy, ToS, or data processing agreement written or audited. Trigger with "draft my privacy policy", "review my terms of service".

jeremylongshore/tons-of-skills-marketplace · 59 tokens

patent-creator

Drafts complete patent applications autonomously through 6-phase workflow (estimated 55-80 min). Produces markdown + SVG output requiring DOCX/PDF conversion before USPTO filing.

RobThePCGuy/Claude-Patent-Creator · 42 tokens

privacy-doc-generator

Draft and audit data-protection documents from a ROPA-driven model. TRIGGER WHEN: the user needs a Privacy Policy, Cookie Policy, DPA, consent notice, or DPIA under GDPR, ePrivacy, Codice Privacy, CCPA, LGPD, or FADP. DO NOT TRIGGER WHEN: general legal, contract, NDA, or IP questions (use legal-advisor); cookie…

acaprino/daodan · 116 tokens

healthit-information-manager

Use for Health Information Manager work in Health IT & Informatics including HIM, ROI, retention, legal health record, chart integrity.

ajhcs/healthcare-agents · 31 tokens

governance-enforcer

Interactive assistant for setting up and enforcing document governance in a trestle workspace. Set up governance templates. Validate documents against them. Identify violations. Help fix non-compliant documents. Use when users need help with document governance, template enforcement, or fixing governance validation…

oscal-compass-lab/compliance-trestle-skills · 94 tokens