Skip to main content
skill CX Codex

legal-document-analyzer — Claude Code skill: analysis and setup

This skill reviews contracts, detects risks, and checks compliance. Use it when an agent must process PDF, DOCX, or plain-text legal documents.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add qodex-ai/ai-agent-skills --skill legal-document-analyzer -a claude-code
Open on GitHub

What legal-document-analyzer does

The skill parses PDF, DOCX, and text files, then structures sections, clauses, definitions, parties, and dates. It can classify contracts such as NDAs, employment agreements, service contracts, purchases, and leases. Key terms, renewal rules, payments, performance measures, duties, rights, and liabilities are extracted.

Risk checks cover financial exposure, unclear language, conflicting clauses, operational issues, and compliance topics such as GDPR and data protection. The workflow can also research laws for a contract type and jurisdiction, regulatory duties, case law, and established precedents.

A report can present the extracted terms, obligations, risk assessment, compliance gaps, and recommendations. Document processing names pypdf, python-docx, textract, and OCR libraries. Major issues still call for legal counsel.

What it helps with

  • parse a PDF, DOCX, or text document
  • extract parties, dates, and contract terms
  • spot financial and legal exposure
  • check required clauses and compliance gaps
  • produce a contract review report

Example prompts for the agent

  • Review contract.pdf, identify the parties and dates, and list its obligations and risks.
  • Classify service_agreement.docx and extract payment, renewal, and liability terms.
  • Check this contract for GDPR compliance and write a report on missing requirements.

How to install legal-document-analyzer

1Skills CLI (Vercel)

npx skills add qodex-ai/ai-agent-skills --skill legal-document-analyzer -a claude-code

2Manually: put the files in place

~/.claude/skills/legal-document-analyzer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/legal-document-analyzer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about legal-document-analyzer

How do I install legal-document-analyzer in Claude Code?

Run npx skills add qodex-ai/ai-agent-skills --skill legal-document-analyzer -a claude-code, then use ~/.claude/skills/legal-document-analyzer/SKILL.md.

What does legal-document-analyzer do?

It structures legal documents, reviews contract terms, flags risks, checks compliance, and prepares reports with recommendations.

Which document formats and libraries does it cover?

It handles PDF, DOCX, and text documents. The listed processing tools are pypdf, python-docx, textract, and OCR libraries.

Similar skills

All skills for Writing and docs →

From the same set6

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor