Agent skill

Cookieless Alternatives

by mukul975 in mukul975/Privacy-Data-Protection-Skills

Evaluating and implementing cookie-less tracking alternatives for a post-cookie era.

Apache-2.0Auto-check passedLegal & Compliance

Install Cookieless Alternatives

skills CLI
$ npx skills add mukul975/Privacy-Data-Protection-Skills --skill cookieless-alternatives -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mukul975/Privacy-Data-Protection-Skills cookieless-alternatives --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mukul975/Privacy-Data-Protection-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/privacy/cookieless-alternatives .claude/skills/cookieless-alternatives && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cookieless-alternatives
GitHub stars
301
Token cost
~2.8k tokens
SKILL.md length
889 words
Files
5 (incl. scripts, references, assets)
Skills in repo
280
Repo updated
First seen
Licence
Apache-2.0

At a glance

Evaluating and implementing cookie-less tracking alternatives for a post-cookie era.

  • Works in 5 steps: Chrome observes the user's browsing… → Each week, the browser classifies… → When an ad tech company calls the Topics… → …
  • Tasks that involve Privacy and GDPR
  • SKILL.md covers Overview, Privacy Sandbox APIs, Server-Side Analytics… and Comparison Matrix, plus 1 more section
  • Runs Python scripts from its folder; reaches ads.pinnacle-ecommerce.com and pinnacle-ecommerce.com

What it does

Cookieless Alternatives is an agent skill from mukul975/Privacy-Data-Protection-Skills. Evaluating and implementing cookie-less tracking alternatives for a post-cookie era. Covers the Privacy Sandbox APIs (Topics, Attribution Reporting, Protected Audiences), server-side analytics, and privacy-preserving measurement techniques.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts, reference files and assets (for example `assets/template.md`, `references/standards.md` and `references/workflows.md`).

It sits in Legal & Compliance, covering Privacy and GDPR and Backend development. The repository describes itself as: 282+ structured privacy & data protection skills for AI agents. GDPR, CCPA, EU AI Act, HIPAA, LGPD, PIPL, DPDP Act. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Privacy and GDPR
  • Tasks that involve Backend development

Example prompts

  • “/cookieless-alternatives”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Chrome observes the user's browsing activity (top-level page visits) locally on-device
  2. Each week, the browser classifies visited sites into topics from a taxonomy of approximately 470 advertising-relevant categories
  3. When an ad tech company calls the Topics API on a publisher's site, the browser returns up to 3 topics (one from each of the last 3 weeks)
  4. Topics are selected with 5% random noise (a random topic is returned instead of the true one)
  5. A caller only receives topics that it has also observed the user being interested in (on other sites where the caller was present)

What it can do on your machine

Read from SKILL.md and the folder at commit 9b2ef9e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • ads.pinnacle-ecommerce.com
    • pinnacle-ecommerce.com
    • plausible.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cookieless Alternatives loads about 2.8k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 889 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mukul975/Privacy-Data-Protection-Skills at commit 9b2ef9e, republished under its Apache-2.0 licence (© mukul975). 889 words, ~2,814 tokens.

Download SKILL.mdSave it as .claude/skills/cookieless-alternatives/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
cookieless-alternatives
description
Evaluating and implementing cookie-less tracking alternatives for a post-cookie era. Covers the Privacy Sandbox APIs (Topics, Attribution Reporting, Protected Audiences), server-side analytics, and privacy-preserving measurement techniques.
license
Apache-2.0
metadata.author
mukul975
metadata.version
1.0
metadata.domain
privacy
metadata.subdomain
cookie-consent-compliance
metadata.tags
cookieless, privacy-sandbox, topics-api, attribution-reporting, protected-audiences

Overview

The deprecation of third-party cookies by browsers and increasing consent-driven restrictions on first-party cookies are driving the advertising and analytics industries toward alternative measurement and targeting approaches. Google's Privacy Sandbox initiative, launched in 2019 and iteratively developed through 2024-2026, provides a suite of browser APIs designed to replace cross-site tracking functionality with privacy-preserving alternatives. Alongside browser-based solutions, server-side analytics and probabilistic measurement methods offer additional paths. This skill evaluates each alternative's privacy properties, technical requirements, and readiness for production use.

Privacy Sandbox APIs

Topics API

Purpose: Interest-based advertising without cross-site tracking.

How It Works:

  1. Chrome observes the user's browsing activity (top-level page visits) locally on-device
  2. Each week, the browser classifies visited sites into topics from a taxonomy of approximately 470 advertising-relevant categories
  3. When an ad tech company calls the Topics API on a publisher's site, the browser returns up to 3 topics (one from each of the last 3 weeks)
  4. Topics are selected with 5% random noise (a random topic is returned instead of the true one)
  5. A caller only receives topics that it has also observed the user being interested in (on other sites where the caller was present)

Topics Taxonomy Examples:

Topic IDCategoryLevel
1Arts & Entertainment1
57Arts & Entertainment / Movies2
86Business & Industrial / E-Commerce2
243Shopping / Apparel2
332Sports / Team Sports / Football3

Implementation for Pinnacle E-Commerce Ltd:

javascript
// Check if Topics API is available
if ('browsingTopics' in document) {
  // Observe: register this page visit for topic classification
  // The fetch call with {browsingTopics: true} both observes and retrieves
  const response = await fetch('https://ads.pinnacle-ecommerce.com/topics', {
    browsingTopics: true
  });
  const topics = await response.json();
  // topics = [{ topic: 86, version: "chrome.2:2:1", configVersion: "chrome.2", taxonomyVersion: "2", modelVersion: "1" }]
}

Privacy Properties:

  • No cross-site identifier shared
  • Topics are coarse-grained (470 categories, not granular interests)
  • 5% noise prevents deterministic profiling
  • Users can view and clear their topics in Chrome settings
  • Sites can opt out via Permissions-Policy: browsing-topics=()

Limitations:

  • Chrome-only (no Safari, Firefox support)
  • Coarse targeting compared to cookie-based audiences
  • Adoption depends on ad tech ecosystem support
Attribution Reporting API

Purpose: Measuring ad conversions without cross-site tracking.

Two Modes:

ModeReport TypeDataNoiseDelay
Event-levelPer-conversionSource: 64-bit ID; Trigger: 3 bits (8 values) for clicks, 1 bit for viewsYes (noise applied to trigger data)2 days (click), 1 day (view)
AggregatableAggregate summarySource + trigger combined into histogram bucketsAdditive Laplace noise10-60 minutes (batched)

Event-Level Attribution Flow:

1. User clicks ad on publisher.com
   → Browser stores: source_event_id=12345, destination=pinnacle-ecommerce.com

2. User converts on pinnacle-ecommerce.com
   → Browser matches: trigger_data=2 (e.g., "purchase")

3. After 2-day delay, browser sends report:
   {
     "source_event_id": "12345",
     "trigger_data": "2",
     "source_type": "navigation",
     "randomized_trigger_rate": 0.0024
   }
   → Sent to reporting origin (ads.pinnacle-ecommerce.com)

Aggregatable Attribution Flow:

1. Ad impression/click registered with source keys
2. Conversion triggers aggregation keys
3. Browser generates encrypted aggregatable report
4. Reports sent to aggregation service (Trusted Execution Environment)
5. Aggregation service applies differential privacy noise
6. Summary report returned: { "campaign_A_purchases": 1247 ± 23 }

Implementation for Pinnacle E-Commerce Ltd:

Source registration (on ad click):

html
<a href="https://www.pinnacle-ecommerce.com/product/widget-pro"
   attributionsrc="https://ads.pinnacle-ecommerce.com/register-source">
  Buy Widget Pro
</a>

Source registration response header:

Attribution-Reporting-Register-Source: {
  "destination": "https://www.pinnacle-ecommerce.com",
  "source_event_id": "12345678",
  "expiry": "604800",
  "aggregation_keys": {
    "campaignCounts": "0x159",
    "geoValue": "0x5"
  }
}

Trigger registration (on conversion):

html
<img src="https://ads.pinnacle-ecommerce.com/register-trigger" attributionsrc>

Trigger registration response header:

Attribution-Reporting-Register-Trigger: {
  "event_trigger_data": [
    { "trigger_data": "2", "priority": "100" }
  ],
  "aggregatable_trigger_data": [
    { "key_piece": "0x400", "source_keys": ["campaignCounts"] }
  ],
  "aggregatable_values": { "campaignCounts": 32768 }
}
Protected Audiences API (formerly FLEDGE)

Purpose: Remarketing and custom audience targeting without third-party cookies.

How It Works:

  1. Advertiser adds users to interest groups via JavaScript on their site
  2. Interest group data (ad creative URLs, bidding logic) stored locally in the browser
  3. When a publisher's ad slot runs an auction, the browser executes on-device bidding
  4. Winning ad is rendered in a fenced frame (isolated from the publisher page)
  5. No cross-site data leaves the browser; auction happens locally

Interest Group Join (on pinnacle-ecommerce.com):

javascript
navigator.joinAdInterestGroup({
  name: "widget-pro-viewers",
  owner: "https://ads.pinnacle-ecommerce.com",
  biddingLogicUrl: "https://ads.pinnacle-ecommerce.com/bidding.js",
  ads: [
    {
      renderUrl: "https://ads.pinnacle-ecommerce.com/ads/widget-pro-retarget.html",
      metadata: { "product": "widget-pro", "discount": "10%" }
    }
  ],
  userBiddingSignals: { "viewed_product": "widget-pro", "visit_count": 3 },
  trustedBiddingSignalsUrl: "https://ads.pinnacle-ecommerce.com/signals",
  trustedBiddingSignalsKeys: ["widget-pro-bid"],
  dailyUpdateUrl: "https://ads.pinnacle-ecommerce.com/update-ig",
  lifetimeMs: 2592000000  // 30 days
}, 2592000000);

Privacy Properties:

  • User profile data never leaves the device
  • Auction runs in browser, not on ad server
  • Fenced frames prevent information leakage to publisher
  • K-anonymity requirements on ad creatives (must be shown to sufficient users)
  • Users can view and leave interest groups in Chrome settings
Show full SKILL.md (379 more words)Show less
Shared Storage API

Purpose: Cross-site data access with restricted output gates.

Allows writing data from multiple sites into a shared storage partition, but reading is restricted to privacy-preserving output gates:

  • Select URL (choose from a predefined list)
  • Private Aggregation (contribute to aggregate histograms)
  • Fenced Frames (render content without leaking data)

Use Case for Pinnacle E-Commerce Ltd: Frequency capping across sites — count how many times a user has seen an ad without cross-site cookies:

javascript
// On publisher site, inside shared storage worklet
class FrequencyCapOperation {
  async run(data) {
    const count = await this.sharedStorage.get('pinnacle-widget-pro-views') || 0;
    if (count >= 3) {
      // User has seen this ad 3 times — show fallback
      return 1; // Index of fallback URL
    }
    await this.sharedStorage.set('pinnacle-widget-pro-views', count + 1);
    return 0; // Index of ad URL
  }
}

Server-Side Analytics Alternatives

Cookieless Server-Side Measurement
SolutionCookiesPII CollectionHostingConsent Required
Server log analysisNoneIP address (anonymize)Self-hostedNo (operational necessity)
Plausible AnalyticsNoneNo PIIEU cloud or self-hostedVaries by jurisdiction
Fathom AnalyticsNoneNo PIICanadian/EU hostingVaries by jurisdiction
UmamiNone (optional)No PIISelf-hostedVaries by jurisdiction
Matomo (cookieless mode)NoneFingerprint hash (session only)Self-hostedCheck with local DPA
Plausible Analytics Configuration for Pinnacle E-Commerce Ltd
html
<!-- Single script, no cookies, ~1KB -->
<script defer data-domain="pinnacle-ecommerce.com"
  src="https://plausible.io/js/script.js"></script>

What Plausible Collects (per pageview):

  • Page URL (path only)
  • Referrer (domain only)
  • Browser (derived from User-Agent)
  • Operating system
  • Device type (desktop/mobile/tablet)
  • Country (from IP, IP discarded immediately)

What Plausible Does NOT Collect:

  • Cookies
  • Persistent identifiers
  • IP addresses (hashed for daily unique counting, hash rotated daily)
  • Cross-session tracking
  • Personal data

Comparison Matrix

CapabilityThird-Party CookiesTopics APIAttribution ReportingProtected AudiencesServer-Side Analytics
Interest-based targetingFull granularity~470 topicsNoRetargeting onlyNo
Conversion measurementDeterministicNoYes (with noise/delay)LimitedServer-side only
Cross-site trackingYesNoNoNoNo
Works in SafariNo (blocked)NoNoNoYes
Works in FirefoxNo (blocked)NoNoNoYes
Consent requiredYesEvolvingEvolvingEvolvingDepends on config
Production-readyLegacyYes (Chrome)Yes (Chrome)Yes (Chrome)Yes
  • Google Privacy Sandbox Documentation — Topics API, Attribution Reporting, Protected Audiences specifications
  • W3C Private Advertising Technology Community Group — Standards development for privacy-preserving advertising
  • ePrivacy Directive 2002/58/EC, Article 5(3) — Legal basis for consent requirements; exemptions may apply to some alternatives
  • GDPR Recital 47 — Legitimate interest considerations for analytics
  • UK ICO Guidance on Analytics Cookies (2019, updated 2023) — Analytics cookies require consent under PECR
  • CNIL Topics API Analysis (2023) — French DPA assessment of Privacy Sandbox proposals
  • CMA (UK Competition and Markets Authority) Privacy Sandbox Commitments — Google's commitments regarding Privacy Sandbox development
  • IAB Tech Lab Privacy Sandbox Task Force — Industry evaluation of Privacy Sandbox APIs

© mukul975, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references, assets) in skills/privacy/cookieless-alternatives of mukul975/Privacy-Data-Protection-Skills.

  • SKILL.md
  • assets/template.md
  • references/standards.md
  • references/workflows.md
  • scripts/process.py

Open the folder on GitHubat commit 9b2ef9e

Compare with similar skills

Cookieless Alternatives next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cookieless Alternatives compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cookieless Alternatives this skillmukul975/Privacy-Data-Protection-Skills301—~2.8kAutomated safety check: PassApache-2.0
Sentry Data Handlingjeremylongshore/tons-of-skills-marketplace2.8k—~4.2kAutomated safety check: PassMIT
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
HIPAA Safe Harbor Coverage Auditmaziyarpanahi/openmed5.5k—~1.7kAutomated safety check: PassApache-2.0
Korean Privacy Termskimlawtech/korean-privacy-terms587—~2.9kAutomated safety check: PassApache-2.0
Gdpr ComplianceSushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~3.9kAutomated safety check: PassMIT

Similar skills

  • Sentry Data Handling

    jeremylongshore/tons-of-skills-marketplace

    Configure GDPR-compliant data handling, PII scrubbing, and data retention policies in Sentry.

    2.8k GitHub stars~4.2k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Checks OpenMed de-identified clinical text against the 18 HIPAA Safe Harbor identifier categories and reports gaps and residual re-identification risk.

    5.5k GitHub stars~1.7k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Korean Privacy Terms

    kimlawtech/korean-privacy-terms

    처리방침·이용약관 자동 생성 스킬 패키지 (v4.0). An agent skill from kimlawtech/korean-privacy-terms.

    587 GitHub stars~2.9k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Gdpr Compliance

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert GDPR compliance assistant covering all four core workflows: (1) auditing code and systems for GDPR violations, (2) drafting GDPR-compliant documents such as privacy policies, Data Processing…

    946 GitHub starsUsed in 1 repo~3.9k tokens
    Legal & ComplianceAuto-check passed
  • Hipaa Compliance

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert HIPAA compliance assistant for healthcare and software contexts.

    946 GitHub starsUsed in 1 repo~2.3k tokens
    Legal & ComplianceAuto-check passed

More from mukul975/Privacy-Data-Protection-Skills

All 280 skills in this repo
  • Age Gating Services

    mukul975/Privacy-Data-Protection-Skills

    Implements age-gating mechanisms for online services to restrict access based on user age.

    301 GitHub stars~3.7k tokensUpdated 6 mo ago
    Auto-check passed
  • AI Data Retention

    mukul975/Privacy-Data-Protection-Skills

    Manages AI model retention and machine unlearning requirements.

    301 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • AI Dpia

    mukul975/Privacy-Data-Protection-Skills

    Conducts Data Protection Impact Assessments for AI and ML systems per EDPB Guidelines 04/2025 on AI processing.

    301 GitHub stars~3.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Dpia Mitigation Plan

    mukul975/Privacy-Data-Protection-Skills

    Structures risk mitigation planning and residual risk tracking for Data Protection Impact Assessments under GDPR Article 35(7)(d).

    301 GitHub stars~846 tokensUpdated 6 mo ago
    Auto-check passed
  • Gdpr Accountability

    mukul975/Privacy-Data-Protection-Skills

    Guides implementation of the GDPR accountability principle under Articles 5(2) and 24, including documentation requirements for policies, DPIAs, RoPA, training records, and breach logs.

    301 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Pia Threshold Screening

    mukul975/Privacy-Data-Protection-Skills

    Conducts pre-DPIA threshold screening to determine whether a full Data Protection Impact Assessment is required under GDPR Article 35.

    301 GitHub stars~880 tokensUpdated 6 mo ago
    Auto-check passed

Questions about Cookieless Alternatives

What does Cookieless Alternatives do?

Evaluating and implementing cookie-less tracking alternatives for a post-cookie era. Cookieless Alternatives is an agent skill from mukul975/Privacy-Data-Protection-Skills. Evaluating and implementing cookie-less tracking alternatives for a post-cookie era.

When should I use Cookieless Alternatives?

Cookieless Alternatives fits situations like: tasks that involve Privacy and GDPR; tasks that involve Backend development.

How do I install Cookieless Alternatives in Claude Code?

Run `npx skills add mukul975/Privacy-Data-Protection-Skills --skill cookieless-alternatives -a claude-code`. Or copy the skill folder (skills/privacy/cookieless-alternatives in mukul975/Privacy-Data-Protection-Skills) into .claude/skills/cookieless-alternatives in your project. Claude Code loads it when a task matches its description.

How do I install Cookieless Alternatives in Codex?

Run `npx skills add mukul975/Privacy-Data-Protection-Skills --skill cookieless-alternatives -a codex`. Or copy the skill folder (skills/privacy/cookieless-alternatives in mukul975/Privacy-Data-Protection-Skills) into .agents/skills/cookieless-alternatives in your project. Codex loads it when a task matches its description.

Can I use Cookieless Alternatives in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mukul975/Privacy-Data-Protection-Skills --skill cookieless-alternatives -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cookieless-alternatives, .gemini/skills/cookieless-alternatives, .github/skills/cookieless-alternatives and .opencode/skills/cookieless-alternatives in your project.

What does Cookieless Alternatives need to run?

Going by SKILL.md and its folder, Cookieless Alternatives needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Cookieless Alternatives access the network?

SKILL.md names 3 domains. In commands or code: ads.pinnacle-ecommerce.com, pinnacle-ecommerce.com and plausible.io; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Cookieless Alternatives safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cookieless Alternatives use?

Cookieless Alternatives is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cookieless Alternatives use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 816 tokens, read only when the agent opens those files.

What are the alternatives to Cookieless Alternatives?

Skills that share tags, products or a category with Cookieless Alternatives: Sentry Data Handling (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), C15t (c15t/c15t, 1.9k stars), HIPAA Safe Harbor Coverage Audit (maziyarpanahi/openmed, 5.5k stars) and Korean Privacy Terms (kimlawtech/korean-privacy-terms, 587 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cookieless Alternatives?

mukul975 (a GitHub user) maintains it in mukul975/Privacy-Data-Protection-Skills, which has 301 GitHub stars. The repository holds 280 skills in this directory. The repository was last updated on March 16, 2026.

Source: mukul975/Privacy-Data-Protection-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.