amagilabs

Legal Clause Extractor — Development agent for Claude Code

Development community

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

Terminal
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 Repository