lawve-ai/contract-intelligence-workflow-reviewer-carl-ditzler
Contract intelligence and contract operations workflow skill for Claude and Codex. Guides the full contract lifecycle review process from intake and playbook normalization through clause review, deviation scoring, negotiation planning, approval routing, QA, and action recommendations. Reviews legal, business, operational, compliance, privacy, security, technology, and AI-related risks across contracts and legal documents. Supports NDAs, SaaS agreements, DPAs, procurement contracts, commercial agreements, contract comparisons, redlines, approval packages, clause research, and drafting. Warning-Comprehensive reviews can consume significant Claude/OpenAI tokens, especially for large agreements, playbooks, exhibits, schedules, and multi-document reviews.
npx skills add https://github.com/lawve-ai/awesome-legal-skills --skill contract-intelligence-workflow-reviewer-carl-ditzler
Use this skill when the user needs a full contract workflow: review, redline package, negotiation plan, fallback positions, approval routing, clause research, drafting, summarization, or a machine-readable next action.
This skill is designed for Codex and Claude. It is intentionally strict. The legal workflow mirrors a legal team process:
Before that legal workflow starts, run setup and persistence checks if the workspace has not been configured yet.
For operational work, also track workflow state:
Do not skip a stage. Do not jump to the answer because the user asks for speed. If the user wants a quick turnaround, compress the explanation, not the workflow.
Read these files in order and apply them as hard requirements:
10. references/priority-matrix.md
11. references/execution-playbook.md
12. references/failure-modes.md
13. references/test-plan.md
14. references/benchmarking.md
Load references/output-formats.md before drafting the answer. Load references/legal-review-best-practices.md when preparing redlines, negotiation guidance, or fallback review without a playbook.
Load references/subagent-orchestration.md if sub-agents are available and authorized.
Load references/workflow-state-machine.md, references/action-schema.md, references/human-approval-gates.md, references/legal-research-mode.md, references/drafting-mode.md, and references/automation-metrics.md when the task involves routing, execution, research, drafting, or operational follow-through.
Load references/claude-codex-compatibility.md whenever capability differences matter.
CLAUDE.md as the only source of truth. The platform-neutral source of truth is .contract-review/.On first use in a workspace, or whenever .contract-review/config.yaml is missing or materially incomplete, enter Setup Mode before legal intake.
In Setup Mode:
.contract-review/ files in the workspace.CLAUDE.md for Claude compatibility.If filesystem write access is available, initialize the workspace structure using scripts/init_contract_review_workspace.py and the templates in assets/templates.
The minimum inputs for a full review are:
If the contract is missing, stop and ask the user to share it. Explicitly invite uploads or links such as Dropbox, Google Drive, OneDrive, SharePoint, or another shared drive.
Before first upload or first connected-source use in a workspace, provide the security notice required by references/security-and-privacy.md.
If the playbook, standard paper, prior form, DPA, security addendum, order form, or negotiation notes are missing, ask for them. If they are unavailable, proceed only in fallback mode and say that confidence is reduced.
If the user has a playbook file, allow either direct upload or an approved cloud-source connection to a specific file.
Use references/intake-form.md as the single source of truth for required intake questions. Do not maintain a second inconsistent checklist here.
If the contract has already been shared, read it first and infer obvious intake answers before asking follow-up questions. At minimum, attempt to determine from the contract itself:
If either answer remains uncertain after reading the contract, ask the user a targeted follow-up question instead of guessing.
If the user is a SaaS company reviewing paper that affects finance, security, privacy, procurement, product, or compliance, identify the necessary internal reviews and route them in the output.
If the contract involves a cloud offering, healthcare, financial services, insurance, AI features, or regulated data, ask the extra intake questions required for those sectors before starting substantive review.
When setup has not been completed, ask for these categories and save the answers:
Ask in concise batches. If the user answers partially, save the known answers and ask only for the remaining setup fields later.
Treat the saved approver map as a default baseline, not a contract-specific final answer. During intake, confirm whether the saved defaults apply to this contract or whether named overrides are needed.
Use references/setup-and-persistence.md, references/filesystem-workflow.md, references/document-structure-and-attention.md, references/security-and-privacy.md, and references/mcp-integrations.md. If saved state exists, load it. If it does not exist, create it before continuing.
Use references/intake-form.md. Build a structured intake record before reviewing clauses.
Use references/playbook-ingestion.md. If the user provides a playbook by upload or approved cloud source:
Use references/playbook-schema.md. Normalize every provided template, fallback clause bank, prior agreement, negotiation email, or policy note into a single playbook structure.
Use references/playbook-deviation-scoring.md. For every materially changed clause in a returned draft, score:
Use references/priority-matrix.md. The matrix must reflect:
Use references/execution-playbook.md. Review the whole agreement, including exhibits and incorporated materials, in the prescribed sequence.
Use references/failure-modes.md. Re-check known miss patterns before drafting the answer.
Use references/test-plan.md. If any blocker fails, revise before responding.
Use references/benchmarking.md. If any dimension is below the minimum threshold, improve the work before finalizing.
If filesystem write access is available and the user has not opted out, save or update the contract artifacts defined in references/filesystem-workflow.md.
Use references/workflow-state-machine.md, references/action-schema.md, and references/human-approval-gates.md. Determine the current state, the next recommended action, whether human approval is required, and the machine-readable payload for the next step.
Use when the contract and minimum intake are available. This is the default.
Use when a standard form, prior agreement, or formal playbook is provided. Compare clause-by-clause against the normalized playbook.
Use when no playbook or comparison document exists. Still complete intake, priority weighting, failure checks, QA, and benchmarking. Use best-practice guardrails from references/legal-review-best-practices.md. State that fallback mode is less authoritative than company playbook review.
Use only when the user explicitly wants a quick screen or when the document set is incomplete. Triage still requires intake, priority weighting, issue spotting, approval routing, and an explicit list of what remains for a full review.
Use when the user needs clause-focused legal or policy research tied to the contract workflow. Follow references/legal-research-mode.md. Research mode still requires intake context, scope limits, and action output.
Use when the user needs fresh drafting, fallback language, an internal approval memo, a counterparty message, or contract summary artifacts. Follow references/drafting-mode.md.
Every final answer must follow references/output-formats.md and include:
Every issue must include:
When contract artifact saving is enabled, also update the contract files for:
Always flag review or approval needs for the right internal teams. Common triggers:
If an approval is required, say so plainly under Approval Required Before Execution.
If sub-agents are available and the platform or user allows delegation:
For operational contract work, always determine the next step:
Represent that next step in both prose and the machine-readable action schema.
This skill should outperform generic contract-review prompts by enforcing:
If those controls are absent from the work product, the review is incomplete.
Take lawve-ai/contract-intelligence-workflow-reviewer-carl-ditzler from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.