Privacy Policy Generator
Overview
Scans a website or application codebase to detect data collection signals — cookies,
web forms, payment processors, analytics scripts, social media embeds, and third-party
trackers — then generates a tailored privacy policy with 12 sections. Includes specific
GDPR rights (7 individual rights), CCPA rights (6 consumer rights), and cookie consent
banner text in both minimal and full GDPR formats.
The detection phase maps every data touchpoint to its legal basis and disclosure
requirement, ensuring the generated policy accurately reflects actual data practices
rather than relying on generic boilerplate.
Legal Disclaimer: This skill generates template documents for informational and
educational purposes only. Generated privacy policies are not a substitute for legal
advice. Data protection requirements vary by jurisdiction, industry, and data type.
All documents should be reviewed by a licensed attorney and/or data protection officer
before publication. No attorney-client relationship is created by using this tool.
Prerequisites
- A live website URL or local codebase to scan
- Knowledge of the business entity name and jurisdiction
- Understanding of what data is collected and why (the scan detects signals but cannot
capture server-side-only processing)
Instructions
Scan for data collection signals. Use WebFetch on the target URL to detect:
| Signal Category |
What to Look For |
| Cookies |
Set-Cookie headers, cookie consent banners, tracking pixels |
| Analytics |
Google Analytics, Mixpanel, Amplitude, Hotjar, Segment |
| Forms |
Contact forms, registration, login, newsletter signup |
| Payments |
Stripe, PayPal, Square, Braintree, payment form fields |
| Social |
Facebook Pixel, Twitter tags, LinkedIn Insight, social login |
| Advertising |
Google Ads, Facebook Ads, retargeting pixels |
| CDN/Third-Party |
Cloudflare, AWS CloudFront, Google Fonts, embedded iframes |
| Chat/Support |
Intercom, Zendesk, Drift, live chat widgets |
If scanning a codebase instead, use Glob and Grep to find:
- Cookie-setting code (
document.cookie, setCookie, cookies middleware)
- Analytics initialization (
gtag, analytics.track, mixpanel.init)
- Form handlers and data submission endpoints
- Payment SDK imports and configurations
- User model/schema definitions showing stored fields
- Environment variables referencing third-party API keys
Classify data types collected. Map detected signals to data categories:
- Identifiers (name, email, phone, address)
- Financial (payment card, bank account, transaction history)
- Technical (IP address, device info, browser fingerprint)
- Behavioral (browsing history, click patterns, purchase history)
- Content (user uploads, messages, reviews)
- Sensitive (health, biometric, political — flag these for special handling)
Determine legal bases (GDPR). For each data category, assign:
- Consent — marketing emails, non-essential cookies, analytics
- Contract — account data, payment processing, service delivery
- Legitimate interest — security logs, fraud prevention, basic analytics
- Legal obligation — tax records, regulatory reporting
Generate the 12-section privacy policy:
| # |
Section |
Covers |
| 1 |
Introduction |
Who the company is, what this policy covers |
| 2 |
Information We Collect |
Data types, collection methods, sources |
| 3 |
How We Use Your Information |
Purposes mapped to legal bases |
| 4 |
Cookies & Tracking |
Cookie types, duration, opt-out mechanisms |
| 5 |
Information Sharing |
Third parties, categories, purposes |
| 6 |
Data Retention |
How long each data type is kept |
| 7 |
Your Rights Under GDPR |
7 specific rights with exercise instructions |
| 8 |
Your Rights Under CCPA |
6 specific rights with exercise instructions |
| 9 |
Data Security |
Technical and organizational measures |
| 10 |
International Transfers |
Cross-border data flow safeguards |
| 11 |
Children's Privacy |
Age restrictions, COPPA compliance |
| 12 |
Contact & Updates |
DPO contact, policy change notification |
Detail GDPR rights (Section 7). Include all seven with exercise instructions:
- Right of Access (Article 15) — request a copy of personal data
- Right to Rectification (Article 16) — correct inaccurate data
- Right to Erasure (Article 17) — "right to be forgotten"
- Right to Restrict Processing (Article 18) — limit data use
- Right to Data Portability (Article 20) — receive data in machine-readable format
- Right to Object (Article 21) — object to processing based on legitimate interest
- Rights Related to Automated Decision-Making (Article 22) — opt out of profiling
Detail CCPA rights (Section 8). Include all six:
- Right to Know — what personal information is collected
- Right to Delete — request deletion of personal information
- Right to Opt-Out — "Do Not Sell or Share My Personal Information"
- Right to Non-Discrimination — equal service regardless of rights exercised
- Right to Correct — correct inaccurate personal information
- Right to Limit Use of Sensitive Information — restrict sensitive data processing
Generate cookie consent banner text. Two versions:
- Minimal (US): Brief notice with link to full policy
- Full GDPR: Granular consent with necessary/analytics/marketing toggles
Tag assumptions. Insert [VERIFY] for any data practice inferred from signals
but not confirmed by the user (e.g., [VERIFY: Google Analytics detected — confirm if IP anonymization is enabled]).
Write the output file using the naming convention below.
Output
Generate a single Markdown file named PRIVACY-POLICY-{company}-{YYYY-MM-DD}.md with:
# Privacy Policy
**{Company Name}**
**Last Updated:** {date}
**Effective Date:** {date}
---
## Data Collection Summary
| Data Type | Source | Legal Basis | Retention |
|-----------|--------|-------------|-----------|
{table of all detected data points}
---
## 1. Introduction
{formal legal text}
> **Plain English:** {simple explanation}
{... sections 2-12 ...}
---
## Cookie Consent Banner Text
### Minimal Version (US)
{banner text}
### Full GDPR Version
{banner text with granular consent options}
---
**[VERIFY] Tags Summary:**
{numbered list of assumptions}
**Detection Results:** {count} data signals detected across {count} categories
**Generated by:** Legal Assistant Plugin — Not a substitute for legal counsel.
Error Handling
| Error |
Cause |
Solution |
| Website unreachable |
URL down or behind authentication |
Ask for a description of data practices or codebase path |
| No data signals detected |
Static site with no tracking |
Generate minimal policy covering server logs and hosting |
| Sensitive data detected |
Health, biometric, or financial data |
Flag for enhanced protection; recommend DPO consultation |
| Multiple jurisdictions |
Global audience detected |
Include both GDPR and CCPA sections, add [VERIFY] for others |
| Server-side processing invisible |
Cannot detect backend data flows |
Ask user to describe server-side data collection |
| Third-party script unrecognized |
Unknown tracking pixel or SDK |
List as "unidentified third-party service" with [VERIFY] |
Examples
Example 1: SaaS with Analytics and Payments
Request: "Generate a privacy policy for https://example-app.com"
Result: PRIVACY-POLICY-ExampleApp-2026-04-02.md detecting:
- Google Analytics 4 (behavioral data, IP address)
- Stripe payment processing (financial data)
- Intercom chat widget (identifiers, conversation content)
- HubSpot forms (email, name, company)
- 12-section policy with GDPR + CCPA rights
- Cookie consent banner in both formats
- 6 [VERIFY] tags for server-side assumptions
Example 2: Content Blog with Newsletter
Request: "Create privacy policy for my WordPress blog with Mailchimp newsletter"
Result: PRIVACY-POLICY-MyBlog-2026-04-02.md detecting:
- WordPress cookies (session, comment author)
- Mailchimp email collection (consent-based)
- Google Fonts (IP address to Google servers)
- Simplified policy focusing on minimal data collection
- GDPR consent basis for newsletter subscription
Resources
1---
2name: privacy-generator
3description: |
4 Generates comprehensive privacy policies by scanning websites for data collection
5 signals including cookies, forms, payment processors, and third-party scripts.
6 Use when launching a website or app that collects user data and needs GDPR/CCPA compliance.
7 Trigger with "/privacy-generator" or "create a privacy policy for my website".
8allowed-tools: Read, Write, Glob, Grep, WebFetch
9version: 1.0.0
10author: Intent Solutions <jeremy@intentsolutions.io>
11license: MIT
12compatible-with: claude-code, codex, openclaw
13tags: [legal, privacy-policy, gdpr, ccpa, data-protection, cookies]
14metadata:
15 source: https://skillmd.com/skills/aibot88/privacy-generator
16---
17
18# Privacy Policy Generator
19
20## Overview
21
22Scans a website or application codebase to detect data collection signals — cookies,
23web forms, payment processors, analytics scripts, social media embeds, and third-party
24trackers — then generates a tailored privacy policy with 12 sections. Includes specific
25GDPR rights (7 individual rights), CCPA rights (6 consumer rights), and cookie consent
26banner text in both minimal and full GDPR formats.
27
28The detection phase maps every data touchpoint to its legal basis and disclosure
29requirement, ensuring the generated policy accurately reflects actual data practices
30rather than relying on generic boilerplate.
31
32> **Legal Disclaimer:** This skill generates template documents for informational and
33> educational purposes only. Generated privacy policies are not a substitute for legal
34> advice. Data protection requirements vary by jurisdiction, industry, and data type.
35> All documents should be reviewed by a licensed attorney and/or data protection officer
36> before publication. No attorney-client relationship is created by using this tool.
37
38## Prerequisites
39
40- A live website URL or local codebase to scan
41- Knowledge of the business entity name and jurisdiction
42- Understanding of what data is collected and why (the scan detects signals but cannot
43 capture server-side-only processing)
44
45## Instructions
46
471. **Scan for data collection signals.** Use WebFetch on the target URL to detect:
48
49 | Signal Category | What to Look For |
50 |----------------|------------------|
51 | Cookies | `Set-Cookie` headers, cookie consent banners, tracking pixels |
52 | Analytics | Google Analytics, Mixpanel, Amplitude, Hotjar, Segment |
53 | Forms | Contact forms, registration, login, newsletter signup |
54 | Payments | Stripe, PayPal, Square, Braintree, payment form fields |
55 | Social | Facebook Pixel, Twitter tags, LinkedIn Insight, social login |
56 | Advertising | Google Ads, Facebook Ads, retargeting pixels |
57 | CDN/Third-Party | Cloudflare, AWS CloudFront, Google Fonts, embedded iframes |
58 | Chat/Support | Intercom, Zendesk, Drift, live chat widgets |
59
602. **If scanning a codebase instead**, use Glob and Grep to find:
61 - Cookie-setting code (`document.cookie`, `setCookie`, `cookies` middleware)
62 - Analytics initialization (`gtag`, `analytics.track`, `mixpanel.init`)
63 - Form handlers and data submission endpoints
64 - Payment SDK imports and configurations
65 - User model/schema definitions showing stored fields
66 - Environment variables referencing third-party API keys
67
683. **Classify data types collected.** Map detected signals to data categories:
69 - Identifiers (name, email, phone, address)
70 - Financial (payment card, bank account, transaction history)
71 - Technical (IP address, device info, browser fingerprint)
72 - Behavioral (browsing history, click patterns, purchase history)
73 - Content (user uploads, messages, reviews)
74 - Sensitive (health, biometric, political — flag these for special handling)
75
764. **Determine legal bases (GDPR).** For each data category, assign:
77 - **Consent** — marketing emails, non-essential cookies, analytics
78 - **Contract** — account data, payment processing, service delivery
79 - **Legitimate interest** — security logs, fraud prevention, basic analytics
80 - **Legal obligation** — tax records, regulatory reporting
81
825. **Generate the 12-section privacy policy:**
83
84 | # | Section | Covers |
85 |---|---------|--------|
86 | 1 | Introduction | Who the company is, what this policy covers |
87 | 2 | Information We Collect | Data types, collection methods, sources |
88 | 3 | How We Use Your Information | Purposes mapped to legal bases |
89 | 4 | Cookies & Tracking | Cookie types, duration, opt-out mechanisms |
90 | 5 | Information Sharing | Third parties, categories, purposes |
91 | 6 | Data Retention | How long each data type is kept |
92 | 7 | Your Rights Under GDPR | 7 specific rights with exercise instructions |
93 | 8 | Your Rights Under CCPA | 6 specific rights with exercise instructions |
94 | 9 | Data Security | Technical and organizational measures |
95 | 10 | International Transfers | Cross-border data flow safeguards |
96 | 11 | Children's Privacy | Age restrictions, COPPA compliance |
97 | 12 | Contact & Updates | DPO contact, policy change notification |
98
996. **Detail GDPR rights (Section 7).** Include all seven with exercise instructions:
100 1. Right of Access (Article 15) — request a copy of personal data
101 2. Right to Rectification (Article 16) — correct inaccurate data
102 3. Right to Erasure (Article 17) — "right to be forgotten"
103 4. Right to Restrict Processing (Article 18) — limit data use
104 5. Right to Data Portability (Article 20) — receive data in machine-readable format
105 6. Right to Object (Article 21) — object to processing based on legitimate interest
106 7. Rights Related to Automated Decision-Making (Article 22) — opt out of profiling
107
1087. **Detail CCPA rights (Section 8).** Include all six:
109 1. Right to Know — what personal information is collected
110 2. Right to Delete — request deletion of personal information
111 3. Right to Opt-Out — "Do Not Sell or Share My Personal Information"
112 4. Right to Non-Discrimination — equal service regardless of rights exercised
113 5. Right to Correct — correct inaccurate personal information
114 6. Right to Limit Use of Sensitive Information — restrict sensitive data processing
115
1168. **Generate cookie consent banner text.** Two versions:
117 - **Minimal (US):** Brief notice with link to full policy
118 - **Full GDPR:** Granular consent with necessary/analytics/marketing toggles
119
1209. **Tag assumptions.** Insert `[VERIFY]` for any data practice inferred from signals
121 but not confirmed by the user (e.g., `[VERIFY: Google Analytics detected — confirm
122 if IP anonymization is enabled]`).
123
12410. **Write the output file** using the naming convention below.
125
126## Output
127
128Generate a single Markdown file named `PRIVACY-POLICY-{company}-{YYYY-MM-DD}.md` with:
129
130```
131# Privacy Policy
132**{Company Name}**
133
134**Last Updated:** {date}
135**Effective Date:** {date}
136
137---
138
139## Data Collection Summary
140| Data Type | Source | Legal Basis | Retention |
141|-----------|--------|-------------|-----------|
142{table of all detected data points}
143
144---
145
146## 1. Introduction
147{formal legal text}
148
149> **Plain English:** {simple explanation}
150
151{... sections 2-12 ...}
152
153---
154
155## Cookie Consent Banner Text
156
157### Minimal Version (US)
158{banner text}
159
160### Full GDPR Version
161{banner text with granular consent options}
162
163---
164
165**[VERIFY] Tags Summary:**
166{numbered list of assumptions}
167
168**Detection Results:** {count} data signals detected across {count} categories
169**Generated by:** Legal Assistant Plugin — Not a substitute for legal counsel.
170```
171
172## Error Handling
173
174| Error | Cause | Solution |
175|-------|-------|----------|
176| Website unreachable | URL down or behind authentication | Ask for a description of data practices or codebase path |
177| No data signals detected | Static site with no tracking | Generate minimal policy covering server logs and hosting |
178| Sensitive data detected | Health, biometric, or financial data | Flag for enhanced protection; recommend DPO consultation |
179| Multiple jurisdictions | Global audience detected | Include both GDPR and CCPA sections, add [VERIFY] for others |
180| Server-side processing invisible | Cannot detect backend data flows | Ask user to describe server-side data collection |
181| Third-party script unrecognized | Unknown tracking pixel or SDK | List as "unidentified third-party service" with [VERIFY] |
182
183## Examples
184
185**Example 1: SaaS with Analytics and Payments**
186
187Request: "Generate a privacy policy for https://example-app.com"
188
189Result: `PRIVACY-POLICY-ExampleApp-2026-04-02.md` detecting:
190- Google Analytics 4 (behavioral data, IP address)
191- Stripe payment processing (financial data)
192- Intercom chat widget (identifiers, conversation content)
193- HubSpot forms (email, name, company)
194- 12-section policy with GDPR + CCPA rights
195- Cookie consent banner in both formats
196- 6 [VERIFY] tags for server-side assumptions
197
198**Example 2: Content Blog with Newsletter**
199
200Request: "Create privacy policy for my WordPress blog with Mailchimp newsletter"
201
202Result: `PRIVACY-POLICY-MyBlog-2026-04-02.md` detecting:
203- WordPress cookies (session, comment author)
204- Mailchimp email collection (consent-based)
205- Google Fonts (IP address to Google servers)
206- Simplified policy focusing on minimal data collection
207- GDPR consent basis for newsletter subscription
208
209## Resources
210
211- [ICO Privacy Notice Code of Practice](https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/) — UK data protection authority
212- [California Attorney General CCPA Guidance](https://oag.ca.gov/privacy/ccpa) — Official CCPA regulations
213- [FTC Data Security Guidance](https://www.ftc.gov/business-guidance/privacy-security) — Federal data protection standards
214- [GDPR Full Text (EUR-Lex)](https://eur-lex.europa.eu/eli/reg/2016/679/oj) — Official GDPR regulation
215- [NIST Privacy Framework](https://www.nist.gov/privacy-framework) — US government privacy standards
216- [CommonPaper DPA](https://commonpaper.com/standards/data-processing-agreement/) — CC BY 4.0 data processing terms