We will be undergoing planned maintenance on January 16th, 2026 at 1:00pm UTC. Please make sure to save your work.

Inspiration For many SME owners and freelancers in Switzerland, legal contracts are a "black box." Hiring a lawyer for a 2-page NDA is too expensive, but signing blindy is too dangerous. I want to create a "Legal Safety Belt"—something that ensures you never your digital signature on a document that hurt your business.

What it does ClauseGuard is an AI-powerred contract auditor specically tuned for the Swissmarket.

Analyze: Users upload a PDF contract.

Detect: Using Claude AI, it scans for "red flag" clauses (like 5-year non-competes or hidden liability) based on Swiss Code of Obligations (OR) standards.

Protect: It fiatures a Smart-Gate With Skribble. If the contract is high-risk, the "Sign" button is locked. Only who the contract is revised and safe does ClauseGuard enable the Skribble API to finalize the document.

How I built it The app is built with a modern stack designed for speed and security:

Frontend: React and Tailwind CSS for a professional, "legal-tech" interface.

Brain: Claude 3.5 Sonnet API do not have a custom "Swiss Legal Expert" prompt to extract risks into structured JSON.

Signature Integration: Mock integrated with the Skribble API, creating a conndional workflow where signing is dependant on the risk score.

Logic: A custom risk-scoring on the other that categorizes issues into High, Medium, and Low severity.

Challenges I ran Prompt Engineering: It was challenging to ensure the AI didn't just find "any" issues, but specifically looked for things that are problematic under Swiss Law (like Art. 340b OR regarding non-competes).

The "Sign/No-Sign" Logic: Designing a UX that stops a user from signing without ping frustrating. I had to balance "warning the user" with "empowering them to negotiate."

Accomplishments that I'm proud of Contextual Awareness: The app doesn't just say "this is bad"; it explains why (e.g., "This exceeds the Swiss norm of 30-day payment termins").

The Skribble "Safety Gate": I'm a proud of the conceptual integrated the site isn't just a button, but a reward for hang a safe contract.

Speed: Going from a blank page to a functal contract analyzer that provides value in under 10 seconds.

What I learned Swiss Legal Nuances: I learned about the specific protections Swiss law provides to employees and small businesses regarding lailability and termination.

AI Reliability: I discovered how to use JSON-mode in LLMs to build reliable UI components (like the color-coded risk cards) directly from raw text.

What's new for ClauseGuard Direct Negotiation Mode: A feature that generales a "Counter-Offer" email automation based on the detected risks to send to the other party.

Full Skribble API Integration: Moving from a mock flow to a production-ready "Seal of Approval" on signed PDFs.

Multi-Language Support: Expanding the analysis to handle German, French, and Italian contracts with the game and the precision.

Built With

Share this project:

Updates