legal-compliance

Generates playbook-based compliance checklists and required actions from contracts and legal review reports.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/kmjy98-sketch/khulaw --skill legal-compliance-kmjy98-sketch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: legal-compliance
Source: https://github.com/kmjy98-sketch/khulaw/tree/main/.agent/skills/legal-compliance
Command: npx skills add https://github.com/kmjy98-sketch/khulaw --skill legal-compliance-kmjy98-sketch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Reviewing contracts, NDAs, DPAs, and policy documents for compliance gaps is slow and inconsistent when done manually. This Skill turns a legal playbook into a repeatable checklist covering data protection, governing law, dispute resolution, and NDA terms, with RED/YELLOW/GREEN status and required actions. ## Core Features & Use Cases - Playbook-Driven Checklists: Reads clause criteria from a legal playbook and evaluates documents against Data Protection, Term and Termination, Governing Law, Dispute Resolution, and NDA clauses. - Dual Input Modes: Accepts raw documents (PDF, DOCX, TXT, MD) or an existing legal-review markdown report as input. - Structured Markdown Reports: Produces a report with summary, status counts, checklist, required actions, and evidence snippets. - Use Case: A legal team member runs the script on a SaaS vendor contract and receives a compliance checklist flagging a RED data retention clause with the escalation action and supporting evidence snippet. ## Quick Start Run the compliance review script on a contract file to generate a markdown checklist report with status ratings and required actions.

Frequently Asked Questions about legal-compliance

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

FAQPage Schema
How do I generate a compliance checklist from a contract?▼

Run the render_compliance_review.py script with the contract file path as the argument. It analyzes the document against playbook clauses and writes a markdown report with a checklist, status counts, and required actions.

What document formats does legal compliance review support?▼

The script accepts PDF, DOCX, TXT, and MD files as raw input. It can also consume an existing legal-review markdown report via the --review-path option instead of re-analyzing the source document.

Which clauses does the compliance check cover?▼

The default scope covers Data Protection, Term and Termination, Governing Law, Dispute Resolution, NDA Mutuality, NDA Term, and NDA Carveouts. Clause profiles can be customized through the playbook metadata or the --profile option.

Can I customize the compliance clause scope?▼

Yes, define compliance_clauses or profile-specific keys in the playbook metadata, or pass --profile to select a named clause set. If no custom profile exists, the script falls back to the default seven-clause list.

What are the limitations of automated legal compliance checks?▼

The output is a draft checklist, not legal advice, and the report itself includes a disclaimer requiring review by qualified counsel before external use. Accuracy depends on the playbook criteria and the quality of the source document text.