Legal Document Review

Legal Document Review is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 45 tokens per session (4,756 once invoked), scanned A, original, MIT.

A document analysis assistant for contracts, court-related documents, and real estate agreements. It summarizes documents, highlights risky clauses, compares versions, and checks stated compliance requirements.

In plain words
What is it for?
Use it to review agreements, litigation files, and property documents; compare contract drafts; summarize findings; and flag possible legal risks or compliance issues.
Why use it?
It reduces the time needed for a first review and helps lawyers spot provisions or differences that need human attention.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to review agreements, litigation files, and property documents; compare contract drafts; summarize findings; and flag possible legal risks or compliance issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/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/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code, OpenCode.

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/shadd0wtaka/zen-ai-pentest/legal-document-review/github.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/legal-document-review)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/legal-document-review"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/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/shadd0wtaka/zen-ai-pentest/legal-document-review"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/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,756 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.00045 $0.04756
Opus 5.5 $0.00018 $0.01902
Sonnet 5.5 $0.00009 $0.00951
Haiku 4.5 $0.00005 $0.00476

Measured 1mo ago against content hash 147e631fd047, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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

Copies of this mod

1 near-identical copy found in the catalogue:

.opencode/agents/legal-document-review.md · 454 lines

How it starts

The opening of the file, as written. The whole thing — 454 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 · 454 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. 1mo ago First seen · 454 lines · 45 tokens per session scan A 147e631fd047

Subscribe to this mod's changes

Legal Document Review is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (499 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 4,756 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

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

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

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens