ContractGuard banner
he-yufeng he-yufeng

ContractGuard

AI community

Description

AI agent that reads the fine print so you don't have to. Upload any contract → get red flags, unfair terms, and plain-English explanations in seconds.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

ContractGuard — never sign a bad contract again

Upload any contract → get red flags, unfair terms, and plain-English explanations in seconds.

[![PyPI](https://img.shields.io/pypi/v/contractguardian.svg)](https://pypi.org/project/contractguardian/) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) [![CI](https://github.com/he-yufeng/ContractGuard/actions/workflows/ci.yml/badge.svg)](https://github.com/he-yufeng/ContractGuard/actions)

**[English](README.md) · [中文](README_CN.md)**  ·  [Demo](#demo) · [Quick Start](#quick-start) · [How It Works](#how-it-works)


Why ContractGuard?

Every year, millions of people sign contracts they don't fully understand — apartment leases with hidden penalties, employment agreements with overly broad non-competes, NDAs that silently strip away your rights. Hiring a lawyer costs $300-500/hour. Most people just sign and hope for the best.

**ContractGuard** changes that. It's an open-source AI agent that reads every clause of your contract, flags problems in plain language, and tells you exactly what to negotiate — all in under 30 seconds.

**What makes it different from ChatGPT?**

  • Structured analysis, not a wall of text — you get categorized red flags, warnings, protections, and a fairness score
  • Actionable suggestions for every issue found — not just "this is bad" but "change it to this"
  • Consistent output format via Pydantic models — easy to integrate into other tools
  • CLI-first design — one command, beautiful terminal output, no browser needed
  • Works with any LLM — OpenRouter, OpenAI, Ollama (fully local/private)

Demo

contractguard scan my-lease.pdf
✔ Parsed my-lease.pdf (4,521 characters)

⬤ RED FLAGS (5 found)
================================================