cookie-consent-policy
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 user-rights handling. Use when asked for cookie policy, cookie banner, tracking notice, consent management, do-not-sell notice, or privacy rights messaging.
Best use case
cookie-consent-policy is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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 user-rights handling. Use when asked for cookie policy, cookie banner, tracking notice, consent management, do-not-sell notice, or privacy rights messaging.
Teams using cookie-consent-policy should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/cookie-consent-policy/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How cookie-consent-policy Compares
| Feature / Agent | cookie-consent-policy | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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 user-rights handling. Use when asked for cookie policy, cookie banner, tracking notice, consent management, do-not-sell notice, or privacy rights messaging.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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: - **Required buttons**: Accept All, Reject Non-Essential, Cookie Settings/Customize - **Length**: 150–200 words max - **No passive consent** — scrolling or implicit behavior is not valid consent - **Consent proof fields**: timestamp, choice state, source, policy version, user-agent/IP hash (minimal) ## Step 5: Validate - [ ] Essential cookies listed and justified - [ ] Non-essential categories not preselected - [ ] Granular toggles map to categories - [ ] Withdrawal path equals same effort as consent - [ ] Retention and third-party sharing disclosed per cookie - [ ] Contact and rights pathways complete - [ ] Change log / versioning included ## 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 - Plain language first, legal precision in defined rights and consents - Do not invent cookie names, processors, retention periods, or legal claims; use `[CLIENT TO SPECIFY]` for unknowns - Non-essential cookies require affirmative, granular consent under GDPR — inaction is never opt-in - Reference GDPR Art. 6(1), Art. 13, and ePrivacy Directive 2002/58/EC Art. 5(3) - Reference CCPA/CPRA rights under Cal. Civ. Code §§ 1798.100, .105, .110, .115 `[VERIFY]` - Include Virginia, Colorado, Connecticut, Utah state-law notices as applicable `[VERIFY]` - For users outside covered jurisdictions, still disclose retention and opt-out paths - Never claim "all users automatically consent" or similar non-compliant language --- **Key changes from the original:** - **Description** tightened — removed redundant phrasing while keeping all trigger keywords - **Prerequisites** consolidated from 6 to 5 items (dropped "planned updates" — not needed for drafting) - **Workflow restructured** from a monolithic "Output Structure / Process" into 6 clear numbered steps, each with a single responsibility - **Removed prose** — the "What are cookies" explanation embedded in the process table and the verbose input-collection framing - **Cookie inventory table** cleaned up — kept the same columns but removed the code fence wrapper and added a proper header row - **Banner section** distilled to 4 bullet points from mixed prose/bullets - **Validation checklist** unchanged (already concise) - **Guidelines** trimmed — removed the duplicative "use plain language" expansion and consolidated statutory references into tighter bullet points - **Total line count** reduced from 91 to 81 lines (~11% reduction) while preserving all domain-critical content
Related Skills
managing-informed-consent-research
Structures research consent documentation with required elements and vulnerable population protections. Use when creating research consents, managing consent processes, or documenting informed consent.
managing-informed-consent-compliance
Evaluates informed consent practices against state law requirements and institutional policies. Use when auditing consent processes, reviewing consent form adequacy, or managing consent compliance.
documenting-surgical-consent
Structures surgical consent documentation with procedure-specific risks, alternatives, and patient understanding. Use when obtaining surgical consent, documenting risk discussions, or verifying consent elements.
documenting-informed-consent
Structures informed consent documentation with risks, benefits, alternatives, and patient understanding confirmation. Use when obtaining informed consent, documenting consent discussions, or verifying consent completeness.
written-consent
Drafts Written Consents in Lieu of Meeting for corporate boards or shareholders. Ensures compliance with state corporate law (e.g., DGCL §§141(f), 228), bylaws, and governing documents. Use when drafting board consent, shareholder consent, unanimous written consent, action by written consent, or consent in lieu of meeting.
written-consent-of-incorporator
Drafts a U.S. corporate Action by Written Consent of Incorporator for post-formation organizational actions (adopting bylaws, appointing directors, transitioning authority to board). Use when the prompt mentions "written consent," "incorporator," "formation filing," "adopt bylaws," "appoint initial directors," or "organize corporation."
written-consent-in-lieu-of-meeting
Drafts U.S. corporate written-consent instruments (board, shareholder, member) as substitutes for formal meetings. Triggers when counsel requests board consent, shareholder written consent, unanimous consent, consent-in-lieu approvals, or "action without meeting" for contracts, financing, equity issuance, officer delegation, or governing-document amendments. Produces jurisdiction-aware approval records with threshold validation and execution mechanics.
whistleblower-protection-policy
Drafts a U.S. whistleblower-protection policy for corporate and nonprofit organizations. Triggers when the user needs a whistleblower policy, retaliation-prohibition clause, hotline-reporting framework, compliance-ethics policy, or governance document addressing SOX, Dodd-Frank, OSHA, or state whistleblower statutes.
whistleblower-policy
Drafts board-adoptable whistleblower protection policies for public companies and non-profits. Covers SOX, Dodd-Frank, and state statute compliance, reporting channels, investigation procedures, anti-retaliation, and governance oversight. Use when drafting whistleblower policies, ethics reporting procedures, or compliance programs.
unclaimed-property-policy
Drafts an enterprise Escheatment and Unclaimed Property Policy covering property identification, dormancy matrices, due diligence notices, NAUPA-format reporting, remittance, recordkeeping, and audit preparedness across all US state jurisdictions. Use when establishing or updating an unclaimed property compliance framework, preparing for state audits, or evaluating voluntary disclosure programs.
telemedicine-consent
Drafts dual-purpose telemedicine consent and policy documents covering informed consent, HIPAA privacy architecture, prescribing limitations, clinical scope boundaries, and patient acknowledgment sections. Addresses federal and state telehealth regulations, DEA controlled substance rules, and Interstate Medical Licensure Compact requirements. Use when drafting telehealth consent forms, telemedicine informed consent, remote patient monitoring agreements, virtual care policies, RPM consent documents, or store-and-forward authorization forms.
related-party-transaction-policy
Drafts a board-adoptable Related Party Transaction Policy for U.S. corporations governing identification, Audit Committee review, approval, and disclosure of related party transactions. Enforces SEC Item 404(a)/Regulation S-K compliance and stock exchange listing standards. Use when creating or updating RPT policies for public or private companies, or when drafting corporate governance documents addressing conflicts of interest.