# LexVibe

> Automates legal compliance by scanning code for SDKs to generate policies, terms, and cookie consent banners. Privacy policy, terms, cookie banner and EU AI Act check for vibe-coded apps.

LexVibe is a free AI agent skill on Agensi by Marcos, in Legal & Compliance. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Marcos](https://www.agensi.io/creators/marcos)
- Category: [Legal & Compliance](https://www.agensi.io/skills/legal-compliance)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/lexvibe
- Tags: legal, gdpr, privacy-policy, cookie-consent, eu-ai-act, compliance

## About this skill

Legal compliance is a moving target that breaks the moment you add a new SDK or payment provider. This skill solves "legal drift" by scanning your actual code to generate privacy policies, terms of service, and cookie banners that match what your app actually does.

The skill tells your agent never to invent your company name, email or markets, never to call a draft "lawyer-approved", and to say clearly when a document is a standard template rather than personalized. Free drafts are template-based. Hosted, AI-tailored documents that update when regulations change come from a LexVibe account.

### What it does
- **Codebase scanning** identifies analytics, ads, payments, auth, and AI integrations within your repo.
- **Document generation** produces Markdown-formatted privacy policies, terms of service, and AI disclosure notices.
- **Consent management** installs cookie banner snippets with script-blocking capabilities directly into your web layouts.
- **Regulatory mapping** checks your project against the EU AI Act to classify risk and list specific obligations.
- **Drift detection** monitors for new third-party processors and alerts you when legal documents need updates.

### How it works
1. **Scan the repo** using `check_compliance` to detect platforms and third-party data processing.
2. **Collect facts** by answering the `agentPrompt` with details from your package.json, README, or manual input.
3. **Claim the app** via the LexVibe dashboard to secure a unique app ID for hosted, versioned policies.
4. **Apply compliance** with `make_compliant` to write Markdown files to `/legal` and inject consent snippets into your frontend.

### Frameworks & tools
Requires the LexVibe MCP server (local or remote). Works with any web framework (React, Next.js, Vue), mobile platforms (iOS/Android), and common SDKs for Stripe, Firebase, Google Analytics, and OpenAI.

### Why this beats prompting it yourself
Generic AI-generated legal docs often miss the specific trackers and sub-processors hidden in your `node_modules`. This tool ties legal obligations directly to your codebase, ensuring your privacy policy actually reflects your app's behavior.

### Use cases
- Preparing a web app for its first public deployment to ensure GDPR and CCPA readiness.
- Generating the required privacy URL and data safety disclosures for App Store or Google Play submissions.
- Updating legal documentation immediately after integrating a new AI model or analytics provider.
- Auditing a live production URL to verify that cookie consent banners are correctly installed and active.

### Known limitations
Native mobile apps do not receive cookie banners. Snippets require a valid LexVibe app ID to function. Scans of single-page apps via URL may be inconclusive compared to local filesystem scans.

## Requires

- @lexvibe/mcp
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the LexVibe skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill differ from just asking a standard AI agent to write a privacy policy?

LexVibe compliance uses code-level scanning to identify the specific SDKs and sub-processors in your project, whereas generic prompts often result in hallucinated or incomplete disclosures that don't match your actual tech stack.

### What happens to my legal documents when I add a new SDK or payment provider to my app?

Your documents describe the app as it was when they were generated. The skill tells your agent to re-run check_compliance right after adding an SDK (analytics, payments, auth, AI); it lists any processing your documents don't cover yet so you can regenerate them. For apps claimed in a LexVibe account, the deployed site is also re-checked periodically.

### What technical requirements or frameworks are needed to use this skill?

The skill is framework-agnostic and works with React, Next.js, Vue, and mobile platforms, provided you have the LexVibe MCP server (local or remote) connected to your AI agent environment.

### Does this skill only generate text, or does it also modify my code?

Both, within limits. It writes the privacy policy, terms and (when your app uses AI) an AI notice as Markdown files in legal/. For the cookie banner it inserts one script tag before </head> in plain HTML files; in JSX layouts (Next.js, React) it doesn't edit the file and gives your agent the exact snippet and where to put it instead. Nothing else in your code is changed.

### Can this tool help me comply with specific regulations like the EU AI Act?

Yes, the skill includes regulatory mapping that specifically checks your project against the EU AI Act to classify risk levels and list your specific legal obligations.

### Is it free?

Yes. The skill and the LexVibe MCP server are free. Free drafts are template-based; hosted, AI-tailored documents that update automatically when regulations change require a LexVibe account.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
