Logo Cross Jurisdiction Cookies

Cross Jurisdiction Cookies

Cộng đồng
mukul975
cross-jurisdiction-cookies

Triển khai tuân thủ quy định về cookie tại nhiều khu vực pháp lý, bao gồm Chỉ thị ePrivacy của EU, PECR của Anh, mô hình từ chối tham gia của CCPA/CPRA tại California, Hoa Kỳ và LGPD của Brazil. Cung cấp ma trận yêu cầu và phương pháp triển khai dựa trên vị trí địa lý.

Add to TypingMind

Tổng quan

Nhà phát hànhmukul975
Kho mãPrivacy-Data-Protection-Skills
Tên kỹ năngcross-jurisdiction-cookies
Sao
279
Bản fork
59
Tệp đi kèm
4
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mukul975 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cross Jurisdiction Cookies trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mukul975/Privacy-Data-Protection-Skills/tree/main/plugins/cookie-consent-skills/skills/cross-jurisdiction-cookies
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mukul975/Privacy-Data-Protection-Skills.git /tmp/Privacy-Data-Protection-Skills
mkdir -p .claude/skills
cp -r /tmp/Privacy-Data-Protection-Skills/plugins/cookie-consent-skills/skills/cross-jurisdiction-cookies .claude/skills/cross-jurisdiction-cookies
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cross Jurisdiction Cookies trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cross Jurisdiction Cookies ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cross Jurisdiction Cookies với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Cross-Jurisdiction Cookie Compliance

Overview

Organizations operating websites accessible to users in multiple jurisdictions face divergent cookie consent requirements. The EU ePrivacy Directive mandates prior opt-in consent for non-essential cookies. The UK's Privacy and Electronic Communications Regulations (PECR) mirrors this approach post-Brexit. California's CCPA/CPRA follows an opt-out model where cookies may be set by default but users must be able to opt out of "sale" or "sharing" of personal information. Brazil's LGPD requires a legal basis for processing but does not have a specific cookie regulation equivalent to ePrivacy. This skill provides a jurisdiction-by-jurisdiction requirements matrix and a unified implementation strategy for Pinnacle E-Commerce Ltd.

Jurisdiction Requirements Matrix

Cookie Consent Models by Jurisdiction

JurisdictionLegal FrameworkConsent ModelDefault StateKey Requirement
EU (27 member states)ePrivacy Directive 2002/58/EC + GDPROpt-inAll non-essential blockedPrior informed consent; no pre-ticked boxes (Planet49)
FranceePrivacy + Loi Informatique et Libertés + CNIL GuidelinesOpt-in (strict)All non-essential blockedEqual prominence accept/reject; 6-month reconsent; 13-month cookie max
GermanyTTDSG (Telekommunikation-Telemedien-Datenschutz-Gesetz) + GDPROpt-inAll non-essential blockedConsent required per Section 25 TTDSG; BGH Planet49 implementation
UKPECR (SI 2003/2426) + UK GDPROpt-inAll non-essential blockedSame as EU ePrivacy; ICO enforcement
California, USCCPA/CPRA (Cal. Civ. Code §1798.100 et seq.)Opt-outCookies may be set by default"Do Not Sell or Share My Personal Information" link; honor GPC signal
Colorado, USCPA (C.R.S. § 6-1-1301 et seq.)Opt-outCookies may be set by defaultUniversal opt-out mechanism recognized
Connecticut, USCTDPA (P.A. 22-15)Opt-outCookies may be set by defaultHonor universal opt-out signals
Virginia, USVCDPA (Va. Code § 59.1-575 et seq.)Opt-outCookies may be set by defaultOpt-out of targeted advertising and sale
BrazilLGPD (Lei 13.709/2018)Legal basis requiredDepends on legal basis claimedConsent or legitimate interest; ANPD guidance evolving
CanadaPIPEDA + proposed CPPA (Bill C-27)Implied consent (evolving)May be set with noticeMeaningful consent; implied consent may suffice for some cookies
South KoreaPIPA (amended 2023) + Act on Promotion of IT NetworkOpt-in for trackingNon-essential blockedConsent for tracking cookies; strict enforcement
JapanAPPI (amended 2022) + Cookie regulation (2023)Opt-in for third-party sharingVariesConsent if cookie data shared with third parties

Detailed Requirements Comparison

RequirementEU ePrivacyUK PECRCalifornia CCPA/CPRABrazil LGPD
Prior consent for analyticsYesYesNo (opt-out model)Depends on legal basis
Prior consent for advertisingYesYesNo (opt-out model)Yes (consent recommended)
Consent for strictly necessaryNo (exempt)No (exempt)Not applicableNot applicable
Cookie wall allowedNoNoNo (service cannot be denied)No
Equal prominence accept/rejectYes (CNIL, some DPAs)Recommended (ICO)N/A (opt-out model)Not specified
Must honor GPC/DNTNo legal requirement (but EDPB encourages)No legal requirementYes — GPC = valid opt-outNot specified
Consent record requiredYes (GDPR Art. 7(1))Yes (UK GDPR Art. 7(1))No (but recommended)Yes (LGPD Art. 8, §2)
Maximum cookie lifetime13 months (CNIL)Not specifiedNot specifiedNot specified
Reconsent frequency6 months (CNIL); varies by DPANot specifiedN/ANot specified
Opt-out link requiredNo (but withdrawal must be easy)NoYes — "Do Not Sell or Share"No
Privacy policy cookie sectionYesYesYesYes
Child-specific requirementsGDPR Art. 8 (age 16, or member state minimum 13)UK GDPR Art. 8 (age 13) + Age Appropriate Design CodeCCPA under-16 opt-in requiredLGPD Art. 14 (best interest of child)

Geolocation-Based Implementation

Architecture for Pinnacle E-Commerce Ltd

User Request
    │
    ├── Determine user jurisdiction
    │   ├── Primary: IP geolocation (MaxMind GeoIP2 or similar)
    │   ├── Secondary: Accept-Language header
    │   ├── Tertiary: User account country setting
    │   └── Fallback: Most restrictive (EU opt-in)
    │
    ├── Select consent configuration
    │   ├── EU/UK → Opt-in banner (full CNIL-style for FR)
    │   ├── US-CA → Opt-out with "Do Not Sell or Share" link
    │   ├── US-CO/CT/VA → Opt-out with universal opt-out support
    │   ├── US-other → Notice-only (monitor state law developments)
    │   ├── Brazil → Consent banner (LGPD legal basis)
    │   └── Other → Apply most restrictive applicable standard
    │
    └── Load appropriate consent experience

Configuration by Jurisdiction

EU/EEA Configuration:

SettingValue
Banner typeOpt-in with equal accept/reject
Default cookie stateAll non-essential denied
Tags blocked before consentGA4, Meta Pixel, Hotjar, Google Ads, all advertising
Consent storageFirst-party cookie + server-side record
Reconsent interval6 months (CNIL standard; apply across EU for simplicity)
Cookie max lifetime13 months
GPC signal handlingTreat as opt-out of advertising/targeting

UK Configuration:

SettingValue
Banner typeOpt-in with clear accept/reject
Default cookie stateAll non-essential denied
Tags blocked before consentSame as EU
Legal framework referencePECR Regulation 6
ICO-specificLink to ICO cookie guidance in policy
Reconsent interval12 months (ICO does not specify; annual is prudent)

California Configuration:

SettingValue
Banner typeNotice banner with opt-out link
Default cookie stateAll cookies set by default
Required link"Do Not Sell or Share My Personal Information" in footer
GPC signalMust be honored as valid opt-out (Cal. Civ. Code §1798.135(e))
Opt-out scopeAdvertising cookies and any "sale" or "sharing" of PI
Financial incentive noticeRequired if offering loyalty program tied to data collection
Under-16 usersOpt-in required (no default setting of tracking cookies)

Brazil Configuration:

SettingValue
Banner typeConsent banner (opt-in recommended)
Default cookie stateNon-essential denied (conservative approach pending ANPD guidance)
Legal basis optionsConsent (Art. 7, I) or Legitimate Interest (Art. 7, IX)
Cookie policyMust be available in Portuguese
ANPD guidanceMonitor for specific cookie regulation (expected)
Data subject rightsAccess, correction, deletion, portability per LGPD

Consent State Storage by Jurisdiction

JurisdictionConsent Cookie NameContentDuration
EUpinnacle_consent_eu{version:"v3",analytics:false,advertising:false,functionality:false,timestamp:"2026-03-14T10:00:00Z"}6 months
UKpinnacle_consent_uk{version:"v3",analytics:false,advertising:false,functionality:false,timestamp:"2026-03-14T10:00:00Z"}12 months
US-CApinnacle_consent_ccpa{version:"v2",optout_sale:false,optout_sharing:false,gpc:false,timestamp:"2026-03-14T10:00:00Z"}12 months
Brazilpinnacle_consent_lgpd{version:"v2",analytics:false,advertising:false,timestamp:"2026-03-14T10:00:00Z"}12 months

Cross-Jurisdiction Cookie Policy

Policy Structure for Pinnacle E-Commerce Ltd

The cookie policy must address all jurisdictions served:

Section 1 — What Cookies We Use Universal section listing all cookies by category (same for all users).

Section 2 — Your Rights by Location

If You Are Located InYour Cookie Rights
European Economic AreaYou have the right to accept or reject non-essential cookies before they are set. We will not set analytics, advertising, or functionality cookies without your prior consent.
United KingdomUnder the Privacy and Electronic Communications Regulations (PECR), you have the right to accept or reject non-essential cookies before they are set.
California, USAYou have the right to opt out of the "sale" or "sharing" of your personal information collected through cookies. Click "Do Not Sell or Share My Personal Information" to exercise this right. We honor the Global Privacy Control (GPC) signal.
BrazilUnder the Lei Geral de Proteção de Dados (LGPD), we process cookie data based on your consent. You may withdraw consent at any time.
Other US StatesDepending on your state, you may have the right to opt out of targeted advertising. We honor universal opt-out mechanisms.

Section 3 — How to Manage Cookies Instructions for using the consent banner, browser settings, and GPC.

Section 4 — Updates to This Policy Version history and notification process for material changes.

Testing Cross-Jurisdiction Compliance

Verification Matrix

TestEUUKCaliforniaBrazil
Banner appears on first visitOpt-in bannerOpt-in bannerNotice with opt-out linkConsent banner
No non-essential cookies before interactionVerifyVerifyN/A (cookies allowed)Verify
Accept All sets all cookiesVerifyVerifyN/AVerify
Reject All blocks non-essentialVerifyVerifyN/AVerify
"Do Not Sell" link presentN/AN/AVerify in footerN/A
GPC signal honoredRecommendedRecommendedRequired — verifyRecommended
Consent persists across pagesVerifyVerifyVerifyVerify
Consent expires on schedule6 months12 months12 months12 months
Cookie policy accessibleVerifyVerifyVerifyVerify (Portuguese)

Key Legal References

  • ePrivacy Directive 2002/58/EC, Article 5(3) — EU cookie consent requirement
  • UK PECR (SI 2003/2426), Regulation 6 — UK cookie consent requirement
  • CCPA/CPRA (Cal. Civ. Code §1798.100 et seq.) — California opt-out model for sale/sharing
  • California AG Regulations, 11 CCR §7025 — GPC as valid opt-out mechanism
  • LGPD (Lei 13.709/2018), Articles 7-8 — Brazilian consent requirements
  • CJEU Case C-673/17 (Planet49) — Active consent; disclosure of duration and third-party access
  • TTDSG Section 25 — German implementation of ePrivacy cookie requirements
  • CNIL Deliberation No. 2020-091 — French cookie guidelines
  • UK ICO Guidance on Cookies and Similar Technologies (2023) — PECR compliance guidance
  • Colorado CPA Rules, 4 CCR 904-3, Rule 5.11 — Universal opt-out mechanism requirements

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Cross Jurisdiction Cookies làm được gì?

Triển khai tuân thủ quy định về cookie tại nhiều khu vực pháp lý, bao gồm Chỉ thị ePrivacy của EU, PECR của Anh, mô hình từ chối tham gia của CCPA/CPRA tại California, Hoa Kỳ và LGPD của Brazil. Cung cấp ma trận yêu cầu và phương pháp triển khai dựa trên vị trí địa lý.

Vì sao nên dùng Cross Jurisdiction Cookies trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cross Jurisdiction Cookies là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cross Jurisdiction Cookies trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mukul975/Privacy-Data-Protection-Skills/tree/main/plugins/cookie-consent-skills/skills/cross-jurisdiction-cookies. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cross Jurisdiction Cookies?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cross Jurisdiction Cookies với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cross Jurisdiction Cookies với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cross Jurisdiction Cookies có miễn phí không?

Có. Kỹ năng này được mukul975 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇