contract-review

Analyze .docx legal contracts and generate annotated documents, summaries, opinions, and flowcharts.

5.0k|479|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/anbeime/skill --skill contract-review-anbeime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-review
Source: https://github.com/anbeime/skill/tree/main/skills/legal-assistant-skills-main/contract-review
Command: npx skills add https://github.com/anbeime/skill --skill contract-review-anbeime

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, defusedxml, python-docx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the tedious and time-consuming process of reviewing legal contracts, identifying potential risks, and ensuring compliance with business and legal standards.

Core Features & Use Cases

  • Automated Contract Analysis: Performs a three-layer review (basic, business, legal) on .docx contracts.
  • Comment-Based Annotations: Adds comments directly to the document without altering original text, highlighting issues and suggestions.
  • Risk Assessment: Identifies and categorizes risks (High, Medium, Low) based on predefined criteria.
  • Automated Reporting: Generates a contract summary, consolidated review opinion, and a business flowchart (Mermaid + image).
  • Language Adaptability: Detects contract language and outputs all generated content in that language.
  • Use Case: A legal team can use this Skill to quickly pre-screen a large volume of contracts, flagging critical issues for senior lawyers to review, thereby significantly speeding up the legal review cycle.

Quick Start

Use the contract-review skill to analyze the attached document 'nda_template.docx' and provide a review report.

Frequently Asked Questions about contract-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate legal contract review for .docx files?

Automated contract review for .docx files performs multi-layered analysis to generate annotated documents, summaries, and risk assessments. It adds comments directly to the document without altering original text, flagging critical issues and suggestions for legal teams to review.

Can I assess and categorize contract risks automatically?

Automated contract risk assessment identifies and categorizes risks into High, Medium, and Low levels based on predefined criteria. It evaluates contract content during the review process and highlights these risks within the generated summary and consolidated review opinion.

Does docx processing support adding comments without changing original text?

Docx processing supports comment-based annotations that highlight issues and suggestions directly within the document. This ensures the original contract text remains unaltered while providing structured feedback for senior lawyers to review.

How do I generate a contract summary and business flowchart?

Contract review automation generates a contract summary, consolidated review opinion, and a business flowchart using Mermaid syntax. It converts the flowchart into an image and detects the contract language to output all generated content in that same language.

Do I need python-docx and pandoc to analyze legal contracts?

Python-docx and pandoc are required dependencies for document automation and legal analysis. These tools enable the extraction of contract content from .docx files and support the generation of annotated documents and visual flowcharts.