CN Contract Audit for Openclaw

An AI-powered legal audit tool for Chinese contracts that automatically extracts, classifies, and scans files for legal risks using over 20 pre-configured rule sets.

harrylabsj
v1.0.0
Jun 13, 2026
0
482
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cn-contract-audit

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 cn-contract-audit 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 CN Contract Audit?

CN Contract Audit is a highly specialized legal analysis tool designed to automate the painful process of scanning Chinese-language contracts. Supporting key formats like PDF and DOCX, it intelligently processes, categorizes, and audits agreement types ranging from labor contracts (劳动合同) and non-disclosure agreements (NDA) to lease agreements (租赁合同) and purchase orders. By integrating this solution, teams can automatically flag legal risks and ensure compliance in seconds.

As part of the expanding ecosystem of Openclaw Skills, CN Contract Audit equips developers, legal professionals, and operations teams with instant automated oversight. Instead of relying on manual legal checks, this skill runs local audits against over 20 built-in rules, making it an indispensable asset for high-volume contract review and fast risk identification.

CN Contract Audit Use Cases

  • Automated Employee Onboarding: Instantly check labor agreements for non-compete clauses exceeding two years or unilateral termination terms.
  • Real Estate & Rental Management: Quickly audit commercial and residential lease agreements to identify unfavorable jurisdictional rules or excessive penalty rates.
  • Procurement & Purchase Audits: Run batch reviews on supplier agreements to identify missing liability caps or unbalanced risk-sharing terms.
  • Corporate Non-Disclosure Agreements: Ensure NDAs protect proprietary data without imposing infinite confidentiality terms or unfair penalty clauses.
  • Legal Tech Integrations: Empower AI agents to automatically handle inbound legal documents using predefined compliance standards.

How CN Contract Audit Works

  1. Text Extraction: The tool reads input PDF or DOCX documents, leveraging libraries like python-docx or pdftotext, with an automated OCR fallback for scanned images.
  2. Type Identification: It automatically determines the contract type (such as 劳动合同, 租赁合同, NDA, or 购买合同) using a combination of keyword matching and LLM context analysis.
  3. Rule Loading: It loads from a database of over 20 built-in Chinese legal contract rules based on the identified agreement type.
  4. Risk Scanning: Every clause is scrutinized against predefined risk criteria, flag-marking high-risk parameters like penalty ratios ≥ 30% or blank authorization lines.
  5. Risk Classification: The system assigns a distinct color-coded severity marker to each finding: High (🔴), Medium (🟡), or Low (🟢).
  6. Detailed Explanation: High-severity findings are supplemented with the original excerpt, a plain Chinese explanation of the risk, and a recommended standard alternative.
  7. Summary & Reporting: It extracts critical metadata (parties, key dates, monetary values) and outputs a comprehensive audit report in JSON or Markdown.

CN Contract Audit Setup

Configure your environment and run audits instantly with these commands. CN Contract Audit operates seamlessly within your collection of Openclaw Skills.

# Run a basic audit on a PDF lease agreement
contract-review review --input 租赁合同.pdf

# Audit a labor agreement with forced document type definition
contract-review review --input 劳动合同.docx --type labor

# Filter and display high-severity issues only inside an NDA
contract-review review --input nda.pdf --type nda --severity-only high

# Batch process an entire directory of contracts
contract-review batch ./contracts/*.pdf

# List all active compliance rules for a specific agreement type
contract-review rules --type labor

CN Contract Audit Data Schema & Taxonomy

The contract audit process yields organized, structured outputs mapping directly to your integration requirements. Below is the structured schema used for the risk-reporting system:

Field Name Type Description Example Value
contract_type String Classified type of contract "labor" (劳动合同)
parties Array Involved legal entities or individuals ["Party A (Company)", "Party B (Employee)"]
metadata Object Financial amount, duration, and key dates {"amount": "0", "term": "3 years"}
risks Array Detected compliance risks with details [{"clause": "...", "severity": "high", "explanation": "..."}]

Severity Levels Defined

  • 🔴 High Risk (红色风险): Severe vulnerabilities such as illegal non-compete clauses, penalty ratios exceeding 30%, or blank authorization clauses.
  • 🟡 Medium Risk (黄色风险): Terms requiring negotiation, such as infinite NDA terms, disadvantageous legal jurisdictions, or unilateral termination rights.
  • 🟢 Low Risk (绿色风险): Minor structural missing fields or recommended language adjustments.

CN Contract Audit Advanced Features

  • Custom Rule Definition: Extend the built-in library of 20+ rules with customized regulatory policies or company-specific legal guidelines.
  • Batch Document Audits: Process hundreds of files sequentially with a single CLI command, ideal for mergers, acquisitions, and compliance migrations.
  • OCR Fallback Engine: Employs advanced fallback mechanisms to extract text from non-selectable scanned PDFs and flat image contract formats.
  • Multi-Agent Interoperability: Seamlessly couples with other Openclaw Skills to trigger secondary actions like auto-notifying legal teams or drafting modification emails.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*