Agent skill

Managing Mobile App Consent

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

Guide for mobile-specific consent management covering Apple ATT framework for iOS, Android permission model, in-app consent flows, SDK consent propagation to third-party libraries, and IDFA/GAID…

Apache-2.0Auto-check passedLegal & Compliance

Install Managing Mobile App Consent

skills CLI
$ npx skills add mukul975/Privacy-Data-Protection-Skills --skill managing-mobile-app-consent -a claude-code

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

GitHub CLI
$ gh skill install mukul975/Privacy-Data-Protection-Skills managing-mobile-app-consent --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/managing-mobile-app-consent .claude/skills/managing-mobile-app-consent && 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
managing-mobile-app-consent
GitHub stars
301
Token cost
~1.9k tokens
SKILL.md length
658 words
Files
5 (incl. scripts, references, assets)
Skills in repo
280
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guide for mobile-specific consent management covering Apple ATT framework for iOS, Android permission model, in-app consent flows, SDK consent propagation to third-party libraries, and IDFA/GAID…

  • Works in 4 steps: App launches → load only essential SDKs… → Consent flow completes → read consent… → For each SDK: initialize only if… → …
  • Tasks that involve Privacy and GDPR
  • SKILL.md covers Overview, Apple App Tracking…, Android Permission Model and… and In-App Consent Flow Design, plus 3 more sections
  • Runs Python scripts from its folder

What it does

Managing Mobile App Consent is an agent skill from mukul975/Privacy-Data-Protection-Skills. Guide for mobile-specific consent management covering Apple ATT framework for iOS, Android permission model, in-app consent flows, SDK consent propagation to third-party libraries, and IDFA/GAID handling. Addresses platform-specific requirements alongside GDPR and ePrivacy compliance for mobile applications.

Its SKILL.md is about 1.9k 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 Authorization and RBAC. It works with Android and iOS. 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 Authorization and RBAC

Example prompts

  • “/managing-mobile-app-consent”

Requirements

  • Python 3

Workflow steps

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

  1. App launches → load only essential SDKs (no tracking)
  2. Consent flow completes → read consent state
  3. For each SDK: initialize only if corresponding purpose is consented
  4. If consent is later withdrawn: disable SDK data collection (where SDK API supports it) or defer to next app restart

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

    No URLs in SKILL.md.

    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

Managing Mobile App Consent loads about 1.9k tokens when it runs, and up to ~3.5k if it reads all its reference files. Until then it costs about 84 tokens; SKILL.md has 658 words of instructions outside code blocks.

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

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). 658 words, ~1,924 tokens.

Download SKILL.mdSave it as .claude/skills/managing-mobile-app-consent/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
managing-mobile-app-consent
description
Guide for mobile-specific consent management covering Apple ATT framework for iOS, Android permission model, in-app consent flows, SDK consent propagation to third-party libraries, and IDFA/GAID handling. Addresses platform-specific requirements alongside GDPR and ePrivacy compliance for mobile applications.
license
Apache-2.0
metadata.author
mukul975
metadata.version
1.0
metadata.domain
privacy
metadata.subdomain
consent-management
metadata.tags
mobile-consent, att-framework, android-permissions, idfa, sdk-consent

Overview

Mobile applications present unique consent challenges: platform-level permission systems (Apple ATT, Android runtime permissions), advertising identifiers (IDFA/GAID), SDK-level data collection by third-party libraries, and limited screen real estate for consent interfaces. Compliance requires coordination between GDPR/ePrivacy requirements and platform-specific privacy frameworks.

Apple App Tracking Transparency (ATT) Framework

Requirements (iOS 14.5+, enforced April 2021)

Apple's ATT framework requires apps to request user permission before tracking across apps and websites owned by other companies. Key aspects:

  • NSUserTrackingUsageDescription: Apps must include a purpose string in Info.plist explaining why tracking is needed.
  • ATTrackingManager.requestTrackingAuthorization(): Must be called before accessing IDFA or performing tracking.
  • IDFA Access: The Identifier for Advertisers (IDFA) returns all zeros unless the user grants ATT permission.
  • Tracking Definition: Apple defines "tracking" as linking user/device data from your app with data from other companies' apps/websites for advertising or sharing with data brokers.
CloudVault SaaS Inc. ATT Implementation

Purpose String (NSUserTrackingUsageDescription): "CloudVault uses this identifier to measure the effectiveness of our advertising campaigns and provide relevant ads. You can change this in Settings at any time."

Pre-Permission Prompt (shown before ATT dialog): CloudVault SaaS Inc. displays a custom pre-permission screen explaining the value exchange before triggering the system ATT dialog:

"Help us improve CloudVault by allowing measurement of our advertising. This helps us understand which ads brought you here and improve our marketing spend. Your data is never sold. You can change this choice in iOS Settings at any time."

[Continue] → triggers ATTrackingManager.requestTrackingAuthorization()

ATT States and Handling
ATT StatusMeaningCloudVault Action
.notDeterminedUser hasn't been asked yetShow pre-permission screen, then request
.authorizedUser allowed trackingEnable IDFA access, attribution SDKs
.deniedUser denied trackingDisable IDFA, use SKAdNetwork for attribution
.restrictedTracking restricted by parental controls/MDMDo not request, use SKAdNetwork

Android Permission Model and Privacy Changes

Android 13+ (API 33) Ad ID Changes
  • AD_ID Permission: Apps must declare com.google.android.gms.permission.AD_ID in AndroidManifest.xml to access Google Advertising ID (GAID).
  • Google Play Requirements: Apps targeting children must not access GAID.
  • User Reset: Users can reset or delete their GAID in Android Settings.
Android Privacy Sandbox (In Development)

Google's Privacy Sandbox for Android introduces:

  • Topics API: Returns coarse-grained interest topics (replaces FLoC for mobile)
  • Attribution Reporting API: Privacy-preserving ad attribution (similar to SKAdNetwork)
  • FLEDGE: On-device ad auctions without cross-app tracking
Show full SKILL.md (278 more words)Show less
CloudVault SaaS Inc. Android Implementation
xml
<!-- AndroidManifest.xml -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

GAID is only accessed if the user has granted consent for advertising purposes through the in-app consent flow. If consent is not granted, GAID is not read.

App First Launch
  │
  ├─► Step 1: Welcome screen with privacy summary
  │     "Welcome to CloudVault. Before you get started,
  │      let's set up your privacy preferences."
  │     [Set Up Privacy]
  │
  ├─► Step 2: Layered consent screen
  │     ├─ Purpose 1: Analytics [Toggle, OFF by default]
  │     │   "Help us improve CloudVault by sharing anonymous usage data"
  │     │   [Learn More] → detailed Art. 13 information
  │     │
  │     ├─ Purpose 2: Advertising Measurement [Toggle, OFF by default]
  │     │   "Measure which ads brought you to CloudVault"
  │     │   [Learn More] → detailed information + ATT context
  │     │
  │     ├─ Purpose 3: Crash Reporting [Toggle, OFF by default]
  │     │   "Share crash reports to help us fix bugs faster"
  │     │   [Learn More] → data types, retention
  │     │
  │     └─ "You can change these at any time in Settings > Privacy"
  │
  ├─► Step 3: Record consent decisions
  │     ├─ Per-purpose consent records (standard fields)
  │     ├─ Platform: iOS/Android
  │     ├─ OS version, app version, device model
  │     └─ SDK consent propagation (see below)
  │
  ├─► Step 4: Platform-specific follow-up
  │     ├─ iOS: If advertising consent granted → trigger ATT dialog
  │     └─ Android: If advertising consent granted → access GAID
  │
  └─► Step 5: Proceed to app
        └─ SDKs initialized based on consent state

Third-party SDKs in the CloudVault mobile app must respect user consent:

SDKPurposeData CollectedConsent RequiredPropagation Method
Firebase AnalyticsUsage analyticsEvents, screen views, device infopur_analytics_001FirebaseAnalytics.setAnalyticsCollectionEnabled(granted)
CrashlyticsCrash reportingStack traces, device statepur_crash_003FirebaseCrashlytics.setCrashlyticsCollectionEnabled(granted)
AppsFlyerAttributionIDFA/GAID, install referrerpur_advertising_002AppsFlyerLib.start() only if consented
Google AdMobAdvertisingIDFA/GAID, device infopur_advertising_002MobileAds.setRequestConfiguration() with consent
SDK Initialization Pattern

SDKs must not be initialized before consent is obtained. CloudVault SaaS Inc. implements a "consent gate":

  1. App launches → load only essential SDKs (no tracking)
  2. Consent flow completes → read consent state
  3. For each SDK: initialize only if corresponding purpose is consented
  4. If consent is later withdrawn: disable SDK data collection (where SDK API supports it) or defer to next app restart

IDFA and GAID Handling

IdentifierPlatformWhen to AccessWhen NOT to Access
IDFAiOSATT status = .authorized AND pur_advertising_002 consentedATT denied/restricted OR advertising consent not granted
GAIDAndroidpur_advertising_002 consented AND AD_ID permission declaredAdvertising consent not granted OR app targets children

Key Regulatory References

  • GDPR Article 5(3) via ePrivacy Directive — Consent for device storage access
  • GDPR Article 7 — Conditions for consent (apply to in-app consent)
  • Apple ATT Framework Documentation — App Tracking Transparency requirements
  • Apple App Store Review Guideline 5.1.2 — Data Use and Sharing
  • Google Play Developer Policy — Advertising ID and User Data
  • CNIL Mobile Privacy Guidelines (2023) — Mobile-specific consent requirements
  • EDPB Guidelines 05/2020 — Consent in mobile context

© 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/managing-mobile-app-consent 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

Managing Mobile App Consent 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.

Managing Mobile App Consent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Managing Mobile App Consent this skillmukul975/Privacy-Data-Protection-Skills301—~1.9kAutomated safety check: PassApache-2.0
Cis ControlsSushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~4.2kAutomated safety check: PassMIT
Tos Clause Scannerzebbern/claude-code-guide4.7k1 repos~3.3kAutomated safety check: PassMIT
Healthcare Phi Complianceaffaan-m/ECC276k1 repos~1.4kAutomated safety check: PassMIT
Policy OpaAgentSecOps/SecOpsAgentKit2201 repos~3.5kAutomated safety check: PassCustom licence
Consent Flowgustavscirulis/snapgrid1161 repos~2.6kAutomated safety check: NotesCustom licence

Similar skills

  • Cis Controls

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

    Expert CIS Controls v8 (CIS Top 18) advisor — implementation group scoping (IG1/IG2/IG3), control gap assessments, safeguard-level guidance, asset inventory, software inventory, data protection…

    946 GitHub starsUsed in 1 repo~4.2k tokens
    Legal & ComplianceAuto-check passed
  • Tos Clause Scanner

    zebbern/claude-code-guide

    Audit Terms of Service, user agreements, and privacy policies for consumer risks, producing a structured report that flags unfair clauses, data traps, and liability issues.

    4.7k GitHub starsUsed in 1 repo~3.3k tokens
    Legal & ComplianceAuto-check passed
  • Protected Health Information (PHI) and PII compliance patterns for healthcare applications: data classification, row-level access control, tamper-proof audit trails, schema tagging, and common leak…

    276k GitHub starsUsed in 1 repo~1.4k tokens
    Legal & ComplianceAuto-check passed
  • Policy Opa

    AgentSecOps/SecOpsAgentKit

    Policy-as-code enforcement and compliance validation using Open Policy Agent (OPA).

    220 GitHub starsUsed in 1 repo~3.5k tokens
    Legal & ComplianceAuto-check passed
  • Consent Flow

    gustavscirulis/snapgrid

    Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration.

    116 GitHub starsUsed in 1 repo~2.6k tokens
    Legal & ComplianceAuto-check: notes
  • Intune Device Mgmt

    vinayaklatthe/microsoft-security-skills

    Guidance for Microsoft Intune device management — enrollment, configuration, compliance, and security baselines across Windows, macOS, iOS/iPadOS, and Android.

    175 GitHub stars~1.8k tokensUpdated 3 mo ago
    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

Works with

Questions about Managing Mobile App Consent

What does Managing Mobile App Consent do?

Guide for mobile-specific consent management covering Apple ATT framework for iOS, Android permission model, in-app consent flows, SDK consent propagation to third-party libraries, and IDFA/GAID…. Managing Mobile App Consent is an agent skill from mukul975/Privacy-Data-Protection-Skills. Guide for mobile-specific consent management covering Apple ATT framework for iOS, Android permission model, in-app consent flows, SDK consent propagation to third-party libraries, and IDFA/GAID handling.

When should I use Managing Mobile App Consent?

Managing Mobile App Consent fits situations like: tasks that involve Privacy and GDPR; tasks that involve Authorization and RBAC.

How do I install Managing Mobile App Consent in Claude Code?

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

How do I install Managing Mobile App Consent in Codex?

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

Can I use Managing Mobile App Consent 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 managing-mobile-app-consent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/managing-mobile-app-consent, .gemini/skills/managing-mobile-app-consent, .github/skills/managing-mobile-app-consent and .opencode/skills/managing-mobile-app-consent in your project.

What does Managing Mobile App Consent need to run?

Going by SKILL.md and its folder, Managing Mobile App Consent needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Managing Mobile App Consent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Managing Mobile App Consent 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 Managing Mobile App Consent use?

Managing Mobile App Consent 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 Managing Mobile App Consent use?

About 1.9k tokens (SKILL.md is roughly 7.7k 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 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Managing Mobile App Consent?

Skills that share tags, products or a category with Managing Mobile App Consent: Cis Controls (Sushegaad/Claude-Skills-Governance-Risk-and-Compliance, 946 stars), Tos Clause Scanner (zebbern/claude-code-guide, 4.7k stars), Healthcare Phi Compliance (affaan-m/ECC, 276k stars) and Policy Opa (AgentSecOps/SecOpsAgentKit, 220 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Managing Mobile App Consent?

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.