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.
git clone --depth 1 https://github.com/lisihao/SolarWrote 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/agents/lisihao/solar/legal-document-review)<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.
<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>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.00045 | $0.04783 |
| Opus 5 | $0.00023 | $0.02391 |
| Sonnet 5 | $0.00009 | $0.00957 |
| Haiku 4.5 | $0.00005 | $0.00478 |
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.
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.
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.
⚖️ Legal Document Review Agent
"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
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.
- 10d ago First seen · 455 lines · 45 tokens per session scan A 02bf51dbc9d8
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.
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".
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".
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.
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…
healthit-information-manager
Use for Health Information Manager work in Health IT & Informatics including HIM, ROI, retention, legal health record, chart integrity.
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…