Contract Guardian for Openclaw

A professional AI contract review assistant designed to identify legal risks, extract key information, and track expiration dates automatically.

hanjing5024064
v1.0.0
Mar 19, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install contract-guardian

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-guardian 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 Guardian?

Contract Guardian is a specialized AI agent skill designed for professionals who need to streamline the contract lifecycle. Built to run as part of the Openclaw Skills ecosystem, it serves as an intelligent auditor that scans legal documents for potential vulnerabilities, ensures compliance, and summarizes essential terms. By automating the tedious process of manual reading, it allows users to focus on high-level decision-making while maintaining a safety net for legal obligations.

The skill provides a robust framework for handling various document formats, from simple text files to complex enterprise documents like PDFs and DOCX files. It prioritizes data privacy by keeping contract storage local, ensuring that sensitive business information never leaves the user's controlled environment while still providing top-tier AI-driven insights and risk scoring.

Contract Guardian Use Cases

  • Automated auditing of service agreements to flag unfavorable termination or penalty clauses.
  • Extracting financial commitments and parties from large batches of procurement contracts.
  • Monitoring expiration dates across multiple archived contracts to prevent unintentional renewals.
  • Performing version comparisons between original drafts and negotiated counter-offers.
  • Generating industry-standard legal templates for technology development and non-disclosure agreements.

How Contract Guardian Works

  1. The agent parses the provided document using specialized scripts to convert files into a machine-readable format.
  2. Key metadata such as contracting parties, effective dates, and total financial value are extracted and formatted into a structured summary.
  3. A multi-layered risk analysis engine scans the text against a comprehensive checklist of legal vulnerabilities.
  4. A detailed Markdown report is generated, providing a safety score, risk levels, and specific remediation suggestions for each identified issue.
  5. If requested, the contract is archived in a local database to enable proactive expiration alerts and comparative tracking.

Contract Guardian Setup

To deploy this skill within your environment, configure the necessary environment variables and prepare your local data directory.

# Define the storage path for contract data
export CG_DATA_DIR="~/.openclaw-bdi/contract-guardian/"

# Configure your subscription level (options: free, paid)
export CG_SUBSCRIPTION_TIER="free"

# Execute a basic contract analysis
python3 scripts/contract_parser.py --action parse --file /path/to/contract.md

Contract Guardian Data Schema & Taxonomy

Contract Guardian organizes data locally to ensure high security and easy retrieval for Openclaw Skills users.

Component Organization Storage Type
Key Metadata Structured JSON mapping parties, amounts, and dates Local DB
Risk Analysis Categorized reports (High/Med/Low severity) Markdown
Storage Archive File paths and unique contract IDs JSON Index
Privacy Masking Automatic redaction of PII (ID numbers, phone numbers) In-memory Processing

Contract Guardian Advanced Features

  • Multi-format document parsing for PDF and DOCX files (available for professional tiers).
  • High-precision version comparison engine to identify structural and textual changes between drafts.
  • Dynamic risk checklist covering 12 distinct categories including indemnity, jurisdiction, and breach of contract.
  • Automated lifecycle management with 30, 60, and 90-day expiration notifications.
  • Sensitive data anonymization to maintain strict confidentiality during report generation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*