Contract for Openclaw

A structured AI skill for drafting contracts from scratch with guided discovery, risk analysis, and multi-party negotiation tracking.

ivangdavila
v1.0.0
Feb 13, 2026
4
2.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install contract

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install contract using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Contract?

The Contract skill is a sophisticated tool within the Openclaw Skills ecosystem designed specifically for the creation of new legal documents. Unlike basic template engines, this skill acts as a guided agent that takes users through a comprehensive drafting lifecycle, from initial requirement gathering to final execution. It focuses on precision, ensuring that all necessary clauses are included based on the specific jurisdiction and type of agreement.

This skill is built for users who need a rigorous, version-controlled environment for legal drafting. By utilizing a structured storage system and a mandatory discovery phase, it helps prevent the common pitfalls of AI-generated content, such as missing parties or ambiguous language. It is an essential component for anyone looking to expand their Openclaw Skills toolkit with professional-grade document generation capabilities.

Contract Use Cases

  • Freelancers needing to draft custom service agreements for new client engagements.
  • Small business owners creating non-disclosure agreements (NDAs) for partnership discussions.
  • Individuals drafting simple rental, purchase, or loan agreements with clear terms.
  • Legal professionals seeking a structured AI workflow to generate initial drafts and analyze risks.

How Contract Works

  1. Discovery: The skill identifies the contract type and jurisdiction, loading intake questions from a dedicated file to ensure all vital information is captured.
  2. Structure: It defines the necessary sections and verifies the inclusion of mandatory clauses based on the contract category.
  3. Drafting: It generates the document clause-by-clause, providing alternatives for high-stakes or critical sections to ensure user intent is met.
  4. Review: The AI performs a risk analysis to detect ambiguities and ensure the logical coherence of the entire document.
  5. Negotiation: If multiple parties are involved, the skill tracks different positions and proposes compromises based on the negotiation log.
  6. Finalization: Once a human approves the draft, the skill moves the completed document and metadata to a permanent storage directory for execution.

Contract Setup

To integrate this capability into your Openclaw Skills setup, ensure the following directory structure is prepared for the agent:

# Create the primary drafting directory
mkdir -p ~/contracts/drafting

The skill will automatically manage the creation of subdirectories for each new contract project.

Contract Data Schema & Taxonomy

The skill organizes data within ~/contracts/drafting/{contract-name}/ using a strict taxonomy to ensure version integrity:

Component File Description
Latest Draft current.md The most recent version of the contract; always the primary reference.
Version History versions/ Contains historical snapshots (v001.md, v002.md) to track changes.
Discovery Data intake.md Stores the answers provided during the initial discovery phase.
Party Interests parties.md Profiles all involved parties and their specific interests.
Negotiation Log notes.md A log of all negotiation points, compromises, and position shifts.

Contract Advanced Features

  • Strict Version Control: Implements a 'never edit in place' rule, ensuring a clear audit trail through the versions folder.
  • Multi-Party Logic: Specifically tracks the interests of different parties to facilitate balanced and fair negotiations.
  • Automated Risk Analysis: Uses pre-defined risk patterns to highlight potential legal ambiguities before the document is finalized.
  • Ecosystem Compatibility: Once finalized, documents are formatted to be perfectly compatible with other Openclaw Skills designed for contract management.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*