legal-response

Generates legal response drafts from review reports using playbook-based posture templates.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Drafting replies to counterparties or internal requesters after a contract review is repetitive and error-prone. This Skill turns a legal review report or raw document into a structured response draft with a consistent posture, referenced issues, and internal notes. ## Core Features & Use Cases - Posture-Based Drafting: Generates response language in one of three postures: pushback (modification requests), clarify (fact/wording confirmation), or accept (no major conflicts). - Review Report Integration: Consumes an existing legal-review report or analyzes a raw document (e.g., DOCX) directly against a playbook. - Structured Output: Produces a Markdown draft containing the response body, a referenced issues table, internal notes, and a disclaimer. - Use Case: After reviewing a counterparty's NDA, generate a pushback email to their legal team listing each clause's status, suggested redlines, and fallback positions. ## Quick Start Ask the AI to generate a pushback legal response draft from your contract review report addressed to the counterparty's legal team.

Frequently Asked Questions about legal-response

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

FAQPage Schema
How do I generate a legal response draft from a contract review?▼

Run the render_legal_response.py script with --review-path pointing to your legal review report, choose a posture (pushback, clarify, or accept), and set --recipient and --output. The script renders a Markdown draft with the response body, issues table, and internal notes.

What postures does legal response drafting support?▼

Three postures are supported: pushback for modification or restriction requests, clarify for fact or wording confirmation requests, and accept when no major conflicts exist against the playbook. The posture selects which template language and which review results appear in the draft.

Can I generate a response without an existing review report?▼

Yes. Pass a raw document path (such as a DOCX file) or inline text instead of --review-path, and the script analyzes it against the playbook first, then drafts the response from those results.

What inputs does the legal response script require?▼

It needs either a legal review report or a source document, plus a playbook file and a templates file (defaulting to .agent/state/legal_playbook.md and legal_templates.md). Missing clause data is marked as unverifiable rather than fabricated.

What are the limitations of automated legal response drafting?▼

The output is a draft only and includes a disclaimer that it must not be sent before internal review. Clauses without source evidence are marked as unverifiable, so legal judgment and final wording remain with the reviewer.