Cross Jurisdiction Cookiesのロゴ

Cross Jurisdiction Cookies

コミュニティ
mukul975
cross-jurisdiction-cookies

EUのePrivacy Directive、英国のPECR、米国カリフォルニア州のCCPA/CPRAによるオプトアウト方式、ブラジルのLGPDなど、複数の法域にまたがるCookieコンプライアンスを実装します。要件マトリックスと、位置情報に基づく実装方法を紹介します。

Add to TypingMind

概要

公開者mukul975
リポジトリPrivacy-Data-Protection-Skills
スキル名cross-jurisdiction-cookies
スター
279
フォーク
59
同梱ファイル
4
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    mukul975がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Cross Jurisdiction Cookies」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/mukul975/Privacy-Data-Protection-Skills/tree/main/plugins/cookie-consent-skills/skills/cross-jurisdiction-cookies
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCross Jurisdiction Cookiesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCross Jurisdiction Cookiesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Cross Jurisdiction Cookiesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Cross Jurisdiction Cookies」では何ができますか?

EUのePrivacy Directive、英国のPECR、米国カリフォルニア州のCCPA/CPRAによるオプトアウト方式、ブラジルのLGPDなど、複数の法域にまたがるCookieコンプライアンスを実装します。要件マトリックスと、位置情報に基づく実装方法を紹介します。

TypingMindでCross Jurisdiction Cookiesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Cross Jurisdiction Cookiesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCross Jurisdiction Cookiesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mukul975/Privacy-Data-Protection-Skills/tree/main/plugins/cookie-consent-skills/skills/cross-jurisdiction-cookiesを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Cross Jurisdiction Cookiesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Cross Jurisdiction Cookiesで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCross Jurisdiction Cookiesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Cross Jurisdiction Cookies」は無料ですか?

はい。mukul975がApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇