bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
- community
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-sandboxSKILL.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
| Need | Skill instead | |
|---|---|---|
| General app privacy permissions | photo/health picker skills as relevant | |
| Mobile pentest | android-pentesting-tricks | |
| Web Privacy Sandbox only | web privacy skills if present in catalog | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| API / concept | Purpose (high level) | |
|---|---|---|
| Topics API | Coarse interest signals without cross-site identifiers | |
| Attribution Reporting | Conversion measurement with delayed/noisy reports | |
| Protected Audience | Remarketing-like on-device auctions (API names evolve) | |
| SDK Runtime | Isolate ads SDKs; restricted permissions/comms | |
| GAID / LAT | Legacy advertising ID; user opt-out must be honored | |
| Consent | Regional 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
- Record ads stack (mediation, MMP, in-house), regions, data currently collected.
- Success: policy-compliant measurement path; GAID use minimized/justified; sandbox APIs behind feature flags; privacy review signed.
- Inventory SDKs that access advertising ID.
2. Inventory current tracking
- Note data shared with each partner.
- Map user controls (opt-out, delete).
3. Plan Privacy Sandbox adoption
| Need | Prefer | |
|---|---|---|
| Aggregate interest | Topics (where available) | |
| Conversion lift | Attribution Reporting | |
| Remarketing-like | Protected Audience with on-device auction | |
| Legacy | Time-boxed GAID with LAT respect |
- Feature-flag all new APIs.
- Keep server aggregation privacy-preserving (no re-identification attempts).
4. Integration hygiene
- Use debug enrollment only on test devices.
- Validate origin allowlists for attribution sources/triggers.
5. SDK Runtime / ads isolation notes
- Prefer ads SDKs that support Privacy Sandbox / runtime isolation guidance.
- Reduce custom WebView-based trackers.
- Audit IPC between app and ads processes for unexpected PII.
6. Verify compliance behaviors
- Confirm no shadow profiling via device fingerprint when ID unavailable (policy risk).
- Log analysis: no accidental PII in ads debug logs.
7. Hand off
- Privacy design doc: data flows, retention, legal bases.
- Partner contracts updated for new measurement.
- Monitor Play policy announcements quarterly.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Measurement | Sandbox APIs + aggregation | Fingerprinting to replace GAID | |
| Consent | Regional UX + honor opt-out | Ignore LAT | |
| SDKs | Minimal, reviewed | 15 trackers “for growth” | |
| Debugging | Test devices only | Production 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-standardsapplied
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
- SKILL.md in the repositoryCheckingandroid-privacy-sandbox/SKILL.md
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
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-privacy-sandbox)