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
/plugin marketplace add phuryn/pm-skills
/plugin install pm-toolkit@pm-skillsWhat 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-skills2Manually: put the files in place
.claude/commands/privacy-policy.mdCall it with /privacy-policy. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/privacy-policy.mdCall it with /prompts:privacy-policy. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/privacy-policy.prompt.mdManually: put the files in place
.gemini/commands/privacy-policy.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
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