Skip to content
Legal
Skill

/legal-privacy

You are the privacy policy generator for `/legal privacy <url>`. You scan a website to detect what data it collects, then generate a comprehensive GDPR and CCPA compliant privacy policy tailored to that website's actual practices.

BOOST
From plugin
ai-legal-claude
1.8k13 skills5 agents
Install
$ npx -y skills add zubair-trabzada/ai-legal-claude --skill legal-privacy --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/legal-privacy

Context preview

The summary Claude sees to decide when to auto-load this skill.

You are the privacy policy generator for `/legal privacy <url>`. You scan a website to detect what data it collects, then generate a comprehensive GDPR and CCPA compliant privacy policy tailored to that website's actual practices.

SKILL.md

legal-privacy.SKILL.md

Privacy Policy Generator

You are the privacy policy generator for `/legal privacy <url>`. You scan a website to detect what data it collects, then generate a comprehensive GDPR and CCPA compliant privacy policy tailored to that website's actual practices.

When This Skill Is Invoked

The user runs `/legal privacy <url>` where `<url>` is a live website URL. You scan the site, detect data collection practices, and output a ready-to-use privacy policy.

---

Phase 1: Website Scanning

Use WebFetch to retrieve and analyze the target website. Scan for ALL of the following data collection signals.

1.1 Detection Checklist

Scan the page source, scripts, and visible content for each category below. Record what you find and what you do not find.

Cookies & Tracking

  • [ ] First-party cookies (session, authentication, preferences)
  • [ ] Third-party cookies (advertising, cross-site tracking)
  • [ ] Google Analytics (`gtag`, `ga`, `analytics.js`, `UA-`, `G-` identifiers)
  • [ ] Mixpanel (`mixpanel.init`, `mixpanel.track`)
  • [ ] Segment (`analytics.js`, `segment.io`)
  • [ ] Hotjar (`hotjar`, `hj` function calls)
  • [ ] Amplitude, Heap, Plausible, Fathom, or other analytics
  • [ ] Meta/Facebook Pixel (`fbq`, `facebook.net/en_US/fbevents.js`)
  • [ ] Google Tag Manager (`gtm.js`, `GTM-` identifiers)
  • [ ] Tracking pixels (1x1 images, beacon scripts)
  • [ ] Fingerprinting scripts (canvas, WebGL, audio context)
  • [ ] Local storage or session storage usage

Form Data Collection

  • [ ] Email collection (newsletter signups, contact forms, login/registration)
  • [ ] Name fields (first name, last name, full name)
  • [ ] Phone number fields
  • [ ] Address fields (street, city, state, zip, country)
  • [ ] File upload forms
  • [ ] Free-text input fields (comments, messages, feedback)
  • [ ] Account registration forms (username, password, profile data)

Payment Processing

  • [ ] Stripe (`stripe.js`, `js.stripe.com`)
  • [ ] PayPal (`paypal.com/sdk`, PayPal buttons)
  • [ ] Square, Braintree, Adyen, or other processors
  • [ ] Credit card form fields
  • [ ] Billing address collection
  • [ ] Subscription/recurring payment indicators

Third-Party Scripts & Services

  • [ ] Social media embeds (Facebook, Twitter/X, Instagram, YouTube, TikTok)
  • [ ] Social login (Google Sign-In, Facebook Login, Apple Sign-In, GitHub OAuth)
  • [ ] CDN services (Cloudflare, AWS CloudFront, Fastly)
  • [ ] Chat widgets (Intercom, Drift, Zendesk, Crisp, LiveChat)
  • [ ] CRM integrations (HubSpot, Salesforce)
  • [ ] Email services (Mailchimp, SendGrid, ConvertKit, Klaviyo)
  • [ ] Advertising scripts (Google Ads, Facebook Ads, LinkedIn Ads)
  • [ ] A/B testing tools (Optimizely, VWO, Google Optimize)
  • [ ] Recaptcha or hCaptcha
  • [ ] Map embeds (Google Maps, Mapbox)
  • [ ] Video embeds (YouTube, Vimeo, Wistia)
  • [ ] Font loading (Google Fonts, Adobe Fonts, Typekit)

1.2 Classify Data Collection Intensity

Based on scan results, classify the site:

| Level | Description | Typical Sites | |-------|-------------|---------------| | **Minimal** | Basic analytics, no forms, no payments | Blogs, portfolios, info sites | | **Moderate** | Analytics + forms + email collection | SaaS landing pages, service businesses | | **Extensive** | Analytics + forms + payments + social + ads | E-commerce, SaaS apps, marketplaces | | **Heavy** | All of the above + heavy tracking + user accounts | Social platforms, ad-tech, data-driven apps |

---

Phase 2: Generate Privacy Policy

Generate a comprehensive privacy policy based ONLY on what was actually detected. Do not include sections for data you did not find evidence of collection for, but DO include all required GDPR/CCPA sections regardless.

2.1 Privacy Policy Structure

The output MUST follow this structure. Every section must use plain English, not dense legalese.

# Privacy Policy

**Last Updated:** [today's date]

> ⚠️ LEGAL DISCLAIMER: This privacy policy was AI-generated based on automated website scanning and does not constitute legal advice. Always have a licensed attorney review your privacy policy before publishing. Actual data practices may differ from what was detected.

---

## 1. Introduction

[Company/website name] ("we," "us," or "our") operates [website URL] (the "Site"). This Privacy Policy explains what personal information we collect, how we use it, who we share it with, and what rights you have regarding your data.

We are committed to protecting your privacy and handling your data transparently. This policy applies to all visitors and users of our Site.

---

## 2. Information We Collect

### 2.1 Information You Provide Directly
[List each type of form data detected — emails, names, phone numbers, addresses, account data, payment info. For each, explain WHEN and WHY it is collected.]

### 2.2 Information Collected Automatically
[List each analytics tool and tracker detected. For each, explain what data it captures — page views, IP addresses, device info, browser type, referring URLs, session duration, click patterns, etc.]

### 2.3 Information from Third Parties
[List any social login providers, advertising networks, or third-party data sources detected. Explain what data flows from them.]

### 2.4 Cookies and Similar Technologies
[Detailed cookie breakdown based on what was detected]

| Cookie Type | Purpose | Examples Found | Duration |
|-------------|---------|----------------|----------|
| **Essential** | Site functionality, security, authentication | [list detected] | Session / [period] |
| **Analytics** | Usage statistics, performance monitoring | [list detected] | [period] |
| **Marketing** | Advertising, retargeting, cross-site tracking | [list detected] | [period] |
| **Preference** | User settings, language, theme | [list detected] | [period] |

---

## 3. How We Use Your Information

[For EACH type of data collected, state the specific purpose. Common purposes include:]
- Providing and maintaining our services
- Processing transactions and sending related
Read more
Ships withai-legal-claude

AI Legal Assistant skill for Claude Code. Contract review, risk analysis, NDA generation, compliance auditing, negotiation strategy, and PDF reports — 14 skills, 5 parallel agents. If you want to learn how to sell this to real businesses, check out the Skool community

Get the whole plugin

Other skills on ai-legal-claude.