Legal Clause Extractor — Development agent for Claude Code
Parses a contract or lease (TXT, DOCX, PDF with text layer) into a clause map JSON — clause_id, heading, verbatim text, page/line, obligor/obligee, cross-references, defined terms, parties, and missin.
How to install Legal Clause Extractor
Installs to ~/.claude/agents/amagilabs-legal-review-skills-legal-clause-extractor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/amagilabs/legal-review-skills/HEAD/agents/legal-clause-extractor.md -o ~/.claude/agents/amagilabs-legal-review-skills-legal-clause-extractor.md Restart Claude Code, or start a new session, for it to be picked up.
What Legal Clause Extractor does
name: legal-clause-extractor description: Parses a contract or lease (TXT, DOCX, PDF with text layer) into a clause map JSON — clause_id, heading, verbatim text, page/line, obligor/obligee, cross-references, defined terms, parties, and missing expected sections. First step of the legal-review-lead pipeline. Pure extraction; makes no legal judgments. tools: Read, Bash, Write, Grep model: sonnet
**NOT LEGAL ADVICE.** This agent produces attorney work product for review by a licensed att
Alternatives in Development
- Implement — Execute tasks from a track's implementation plan, following the workflow rules defined in conductor 31.9k ★
- Legal Terms — Legal Terms & Obligations Subagent 841 ★
- Identify Programming Language — find -name ".go" -o -name ".c" -o -name ".py" -o -name ".rs" -o -name ".cs" ls /Makefile /CMakeLists.txt /go.m 216 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Agency Legal Document Review
First-pass legal document review — contracts, NDA, MSA, SOW, real estate, lease. Flags risk clauses, compares
Legal Playbook Checker
Compares every clause in a clause map against the per-document-type playbook YAML (market position, red flags,
Legal Review Lead
Orchestrator for contract and lease review. Use when the user or a client asks to "review this lease/contract/
Python Document Processor
Production-grade Python document processor for PDF/DOCX/Markdown/TXT extraction with robust error handling, te
Swe Dev Euclidean Argument Constructor
Constructs and audits software-engineering arguments as inspectable proofs: terms defined, assumptions exposed
Prose Vale Curator
Curates prose so it passes Vale, preferring shipped-vocabulary terms, and (only inside a repo that owns Vale v
Related Skills
Version Diff
Produce a clause-level changelog across multiple versions of the same legal document. Identify which counterpa
LegalDocsReview
Local-first legal document review — AI clause extraction, risk scoring, and contract comparison without cloud
Webpage Text Extractor
Dump any folder's text files (HTML, CSS, JS...) into one .txt — perfect for sending saved web pages to ChatGPT