Cookie consent policy

From ThomasMoreAI/legal-skills-open · View interactive version

Cookie consent policy is an AI agent skill from the GitHub repository ThomasMoreAI/legal-skills-open. Drafts publication-ready cookie policies, banner copy, and consent-flow language under GDPR/ePrivacy, CCPA/CPRA, and major U.S. state privacy laws. Converts a verified cookie inventory into enforceable policy sections with lawful-basis mapping, granular opt-in controls, withdrawal mechanics, and use

How to use this skill

Skill file

Cookie Consent Banner and Policy

Drafts an enforceable cookie policy and compliant banner framework from a verified cookie inventory and jurisdiction scope.

Prerequisites

  1. Site inventory — all domains, subdomains, in-app endpoints
  2. Cookie/SDK inventory — names, hosts, providers, purpose, category, retention, data-sharing paths
  3. Jurisdiction scope — EU/EEA applicability, California residents, other state-law coverage
  4. Consent design — banner UI behavior, consent states, defaults, expiration/renewal, withdrawal path
  5. Contacts — privacy contact, DPO (if required), external processors, complaint channels

Step 1: Collect Inputs

Gather all inputs; apply and label defaults if user says "use defaults."

| Input | Required | Default if missing |

|---|---|---|

| Jurisdictions served | yes | US + EU |

| Cookie inventory | yes | [VERIFY] — complete inventory required |

| Consent mechanism | yes | banner + preference center |

| User rights contact | yes | privacy@ [CLIENT TO SPECIFY] |

| Update cadence | yes | 6–12 months + material-change notices |

Step 2: Draft Policy Sections

Generate in this order:

| Section | Mandatory fields | EU/US notes |

|---|---|---|

| Purpose & scope | organization, websites, users affected, last-updated date | include EEA processing basis and non-EU logic |

| What are cookies | definition + non-cookie trackers (pixels, web beacons, local storage) | examples required |

| Cookie categories | strict table by category (see Step 3) | essential cookies exempt from consent where lawful |

| How we use cookies | purpose + legal basis + processors/recipients | map each non-essential use to explicit consent |

| Your choices | accept all / reject non-essential / customize | no bundling consent with account creation |

| Managing preferences | withdrawal and edits anytime | explain functional limits if opt-outs selected |

| Rights | GDPR, CCPA/CPRA, state-law rights | include agency contact + complaint route |

| Changes | versioning + notice method + effective date | material changes require renewed consent |

| Contact | email/portal/address + response SLA | U.S. and EU contact as applicable |

Step 3: Render Cookie Inventory Table

Every cookie must appear in this format:

| Cookie | Type | Provider | Purpose | Legal Basis | Duration | Category | Third-Country Transfer | Retention | Opt-out Method |

|---|---|---|---|---|---|---|---|---|---|

| [name] | first/third-party | [provider] | [specific] | consent / legitimate interest / etc. | [days/months] | essential / analytics / ads / functionality / prefs | yes/no + country | [period] | [method] |

Step 4: Draft Banner Copy

Separate from the policy. Requirements:

Step 5: Validate

Step 6: Deliver Artifacts

  1. Cookie Policy — publish-ready markdown/HTML
  2. Cookie Inventory Table — machine-readable
  3. Banner Copy — standalone text block
  4. Preference Center FAQ — user-facing explainer
  5. Change Log Entry — version, date, summary of changes
  6. Open Items — unresolved [CLIENT TO SPECIFY] details

Guidelines


Key changes from the original:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.