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 $0.00023 $0.02378
Sonnet 5 $0.00009 $0.00951
Haiku 4.5 $0.00005 $0.00476

Measured 9d ago against content hash 147e631fd047, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 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.

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. 9d 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 (455 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. 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

keel

Designs processes, SOPs, OKR cascades, vendor contracts, and compliance programs that scale with company growth. Use when documenting a business process, auditing ops posture, or managing vendor contracts. Trigger with "write a SOP", "build our OKR framework".

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

bind

Run compliance gap analyses for SOC2, GDPR, HIPAA, and ISO 27001, then produce stage-appropriate remediation plans and policy drafts. Use when preparing for a compliance audit or framework adoption. Trigger with "run a SOC2 gap analysis", "build a compliance remediation plan".

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

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

lodge

Prepares regulatory filings and disclosures from start to finish — DMCA responses, FTC disclosures, GDPR DPA agreements, government filings, and state registrations. Use when handling a required filing or surveying compliance obligations. Trigger with "prepare a DMCA notice", "survey our regulatory filings".

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

cos-compliance

Use this agent before shipping, merging, or deploying changes. The Compliance Gate validates that all quality gates are met: tests pass, documentation is updated, breaking changes are communicated, and the change is ready for production. Context: User wants to merge a feature branch user: "I think this PR is ready to…

winstonkoh87/Athena-Public · 180 tokens