Skip to main content
command CX Codex

privacy-policy — Claude Code command: what it does, how to install

Drafts a privacy policy tailored to GDPR and CCPA, complete with compliance checklists and flags for legal review. Useful when launching new apps and web tools.

MIT ★ 28,211 updated 2026-10-16

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add phuryn/pm-skills
/plugin install pm-toolkit@pm-skills
Open on GitHub

What privacy-policy does

The command collects details about your product: collected data categories, user locations, third-party integrations, storage duration, and age restrictions. Using this context, it structures policy sections covering processing grounds under GDPR, cookie rules, data retention, deletion requests, and cross-border data transfers.

Output is formatted in Markdown with an optional DOCX export. Alongside the document text, the tool outputs two tables: a regulatory compliance summary and a prioritized list of clauses requiring legal review, plus a rollout checklist for cookie banners and processor agreements.

Generated text is a starting template rather than finalized legal advice, so specialist review remains mandatory before going live.

What it helps with

  • draft a baseline privacy policy aligned with GDPR and CCPA rules
  • document collected user data categories and external tracking services
  • highlight ambiguous legal clauses for external legal counsel review
  • prepare an operational checklist for consent banners and data processing agreements

Example prompts for the agent

  • /privacy-policy SaaS analytics tool that collects user behavior data — serving US and EU customers
  • /privacy-policy Mobile app with location data and third-party integrations

How to install privacy-policy

1Plugin marketplace

/plugin marketplace add phuryn/pm-skills
/plugin install pm-toolkit@pm-skills

2Manually: put the files in place

.claude/commands/privacy-policy.md

Call it with /privacy-policy. For all projects use ~/.claude/commands/

Questions about privacy-policy

How do I install privacy-policy in Claude Code?

Run /plugin marketplace add phuryn/pm-skills in Claude Code, then run /plugin install pm-toolkit@pm-skills.

Does this generator replace a licensed lawyer?

No. The command produces a foundational draft and flags specific clauses that require professional legal counsel before publication.

What output formats are supported?

The command saves the full policy draft as Markdown and offers an export to DOCX, including compliance tables and an implementation checklist.

Source text

privacy-policy.md · MIT
---
description: Draft a privacy policy covering data collection, usage, storage, and compliance requirements
argument-hint: "<product and data handling context>"
---

# /privacy-policy -- Privacy Policy Generator

Draft a comprehensive privacy policy for your product. Covers data types, jurisdiction, compliance (GDPR, CCPA), and marks clauses needing legal review.

## Invocation

```
/privacy-policy SaaS analytics tool that collects user behavior data — serving US and EU customers
/privacy-policy Mobile app with location data and third-party integrations
```

## Workflow

### Step 1: Gather Context

Ask:
- What product or service?
- What data is collected? (personal info, usage data, cookies, location, payment)
- Where are your users? (determines applicable regulations: GDPR, CCPA, etc.)
- Any third-party data sharing? (analytics, advertising, integrations)
- Data storage: where and how long?
- Age restrictions? (COPPA considerations)

### Step 2: Draft the Policy

Apply the **privacy-policy** skill:

Generate sections covering:
- What data is collected and how
- How data is used (purposes)
- Legal basis for processing (GDPR)
- Data sharing and third parties
- Data retention and deletion
- User rights (access, deletion, portability, opt-out)
- Cookie policy
- Security measures
- Children's privacy (if applicable)
- International transfers
- Contact information
- Policy update process

### Step 3: Deliver

```
## Privacy Policy: [Product]

[Full policy text]

### Compliance Checklist
| Regulation | Status | Notes |
|-----------|--------|-------|

### Clauses Requiring Legal Review
| Clause | Why | Priority |
|--------|-----|----------|

### Implementation Checklist
- [ ] Cookie consent banner
- [ ] Data subject request process
- [ ] Data processing records
- [ ] DPA with processors
```

Save as markdown. Offer DOCX export.

## Notes

- This is a template — legal counsel should review before publishing
- GDPR and CCPA have specific requirements that can't be approximated — flag where expert review is essential
- Privacy policies should be in plain language, not legalese
- Update the policy when data practices change, not just annually

© Paweł Huryn · MIT · phuryn/pm-skills

Similar slash commands

All slash commands for Writing and docs →

From the same set120

The whole set →
security-audit-static security-audit-static — a command to scan code for security vulnerabilities. Analyzes files, folders, or commit ranges and flags risks introduced by AI or manual changes. CX Codex +1 ★ 28,211repo stars performance-audit-static performance-audit-static runs a static performance audit on AI-written code and directs users to its updated location in the ai-shipping plugin. CX Codex +1 ★ 28,211repo stars proofread proofread is a Claude Code command that checks grammar, reasoning, and flow in pasted or uploaded text, suggesting focused fixes for drafts, documents, and emails. CX Codex +1 ★ 28,211repo stars draft-nda The draft-nda command creates professional Non-Disclosure Agreements tailored to your jurisdiction, parties, and scope of information. CX Codex +1 ★ 28,211repo stars tailor-resume tailor-resume matches a resume to a target job description by aligning terms, reframing experience, and exposing gaps before an application. CX Codex +1 ★ 28,211repo stars red-team-prd The red-team-prd command for Claude Code extracts and challenges assumptions that could break a plan, then suggests the cheapest test for each. CX Codex +1 ★ 28,211repo stars generate-data generate-data generates realistic mock datasets in CSV, JSON, or SQL using Python scripts with custom distributions and constraints. CX Codex +1 ★ 28,211repo stars write-query write-query turns plain language descriptions into SQL queries across BigQuery, PostgreSQL, MySQL and other dialects. Upload a schema or describe your tables, then ask your question. CX Codex +1 ★ 28,211repo stars

Project sponsors

Companies that keep this analytics open