bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox

Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Android Privacy Sandbox awareness for owned apps and ads stacks: Topics, Protected Audience / FLEDGE-era APIs, Attribution Reporting, SDK Runtime notes, and migration off third-party cookies/IDs. Use when product/ads engineering must adapt to Privacy Sandbox on Android — not for fingerprinting users to evade privacy controls.

Install

npx vskill@latest install bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox

SKILL.md

The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox.

Android Privacy Sandbox

Scope And Authorization

  • In scope: Apps, ads SDKs, and measurement stacks you operate, within platform policies.
  • Out of scope: Building cross-app tracking that violates Play policy or user expectations; reverse-engineering others’ ad accounts without authorization.
  • Coordinate with legal/privacy for advertising features.
  • Pair engineering with code-quality-standards.

When To Use

  • Migrating measurement from GAID-heavy flows toward Privacy Sandbox APIs.
  • Integrating Topics / Attribution Reporting / Protected Audience (names evolve).
  • Reviewing ads SDK surface under SDK Runtime constraints.
  • Product impact analysis when third-party cookies/IDs deprecate further.

Do Not Use As Primary

NeedSkill instead
General app privacy permissionsphoto/health picker skills as relevant
Mobile pentestandroid-pentesting-tricks
Web Privacy Sandbox onlyweb privacy skills if present in catalog
Implementation quality baselinecode-quality-standards

Domain Focus

API / conceptPurpose (high level)
Topics APICoarse interest signals without cross-site identifiers
Attribution ReportingConversion measurement with delayed/noisy reports
Protected AudienceRemarketing-like on-device auctions (API names evolve)
SDK RuntimeIsolate ads SDKs; restricted permissions/comms
GAID / LATLegacy advertising ID; user opt-out must be honored
ConsentRegional consent UX still required where law applies

Note: Privacy Sandbox APIs and timelines change — verify current Android developer docs for your target API level.

Workflow

1. Confirm product goals and success criteria
  1. Record ads stack (mediation, MMP, in-house), regions, data currently collected.
  2. Success: policy-compliant measurement path; GAID use minimized/justified; sandbox APIs behind feature flags; privacy review signed.
  3. Inventory SDKs that access advertising ID.
2. Inventory current tracking
bash
rg -n "AdvertisingIdClient|getId\\(|AD_ID|com.google.android.gms.ads" -S .
# Manifest
rg -n "AD_ID|com.google.android.gms.permission.AD_ID" app/src/main/AndroidManifest.xml
  1. Note data shared with each partner.
  2. Map user controls (opt-out, delete).
3. Plan Privacy Sandbox adoption
NeedPrefer
Aggregate interestTopics (where available)
Conversion liftAttribution Reporting
Remarketing-likeProtected Audience with on-device auction
LegacyTime-boxed GAID with LAT respect
  1. Feature-flag all new APIs.
  2. Keep server aggregation privacy-preserving (no re-identification attempts).
4. Integration hygiene
kotlin
// Conceptual — follow current Play services / AdServices APIs for your version
// - Declare permissions/services required by AdServices
// - Request measurement registration URLs only to owned endpoints
// - Handle API unavailability gracefully
  1. Use debug enrollment only on test devices.
  2. Validate origin allowlists for attribution sources/triggers.
5. SDK Runtime / ads isolation notes
  1. Prefer ads SDKs that support Privacy Sandbox / runtime isolation guidance.
  2. Reduce custom WebView-based trackers.
  3. Audit IPC between app and ads processes for unexpected PII.
6. Verify compliance behaviors
bash
# User limit ad tracking / delete advertising ID — ensure revenue path degrades, not crashes
adb shell settings get global limit_ad_tracking
# Manual QA: opt-out paths, consent rejection, child-directed modes if applicable
  1. Confirm no shadow profiling via device fingerprint when ID unavailable (policy risk).
  2. Log analysis: no accidental PII in ads debug logs.
7. Hand off
  1. Privacy design doc: data flows, retention, legal bases.
  2. Partner contracts updated for new measurement.
  3. Monitor Play policy announcements quarterly.

Good / Bad

TopicGoodBad
MeasurementSandbox APIs + aggregationFingerprinting to replace GAID
ConsentRegional UX + honor opt-outIgnore LAT
SDKsMinimal, reviewed15 trackers “for growth”
DebuggingTest devices onlyProduction verbose ads logs with PII

Output Checklist

  • [ ] Ads/measurement inventory complete
  • [ ] GAID usage justified or reduced
  • [ ] Sandbox API plan + feature flags
  • [ ] Attribution/Topics/PA integrations match current docs
  • [ ] Opt-out/consent paths tested
  • [ ] SDK Runtime / partner review done
  • [ ] Legal/privacy sign-off
  • [ ] code-quality-standards applied

Rules

  • Honor user privacy choices and Play policies.
  • Do not build evasion fingerprinting.
  • Keep PII out of ads debug pipelines.
  • Verify current API names/timelines — this domain moves quickly.
  • Owned apps and lawful advertising only.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox/badge)](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox)

Something wrong with this skill or its page? Tell us.