frogo-sdk: Skill for Claude Code

.agents/skills/google-mobile-ads-android-migrate-to-next-gen/SKILL.md

google-mobile-ads-android-migrate-to-next-gen is a skill for Claude Code, Codex from frogobox/frogo-sdk. It costs 105 tokens per session (4,307 once invoked), scanned A, a copy of google-mobile-ads-android-migrate-to-next-gen, Apache-2.0.

A migration guide for replacing the legacy Google Mobile Ads SDK in an Android app with Google’s newer Mobile Ads SDK. It maps old dependencies, imports, classes, and method signatures to their replacements.

In plain words
What is it for?
Use it to update Gradle settings, dependency versions, Android SDK requirements, source imports, API calls, and build verification during the ads SDK migration.
Why use it?
It gives a structured way to update advertising code while avoiding duplicate dependencies and build errors caused by leaving old SDK components in the project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is frogobox/frogo-sdk's own configuration. It tells Claude Code and Codex how to work on frogo-sdk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything frogo-sdk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to frogobox/frogo-sdk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/frogobox/frogo-sdk/master/.agents/skills/google-mobile-ads-android-migrate-to-next-gen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/frogobox/frogo-sdk

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-mobile-ads-android-migrate-to-next-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/frogobox/frogo-sdk/google-mobile-ads-android-migrate-to-next-gen/github.svg)](https://agentmods.dev/skills/frogobox/frogo-sdk/google-mobile-ads-android-migrate-to-next-gen)
Your own site
<a href="https://agentmods.dev/skills/frogobox/frogo-sdk/google-mobile-ads-android-migrate-to-next-gen"><img src="https://agentmods.dev/badge/skills/frogobox/frogo-sdk/google-mobile-ads-android-migrate-to-next-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-mobile-ads-android-migrate-to-next-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/frogobox/frogo-sdk/google-mobile-ads-android-migrate-to-next-gen"><img src="https://agentmods.dev/badge/skills/frogobox/frogo-sdk/google-mobile-ads-android-migrate-to-next-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.04307
Opus 5 $0.00053 $0.02153
Sonnet 5 $0.00021 $0.00861
Haiku 4.5 $0.00011 $0.00431

Measured 11d ago against content hash e8a1e910b87e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

google-mobile-ads-android-migrate-to-next-gen scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS https://dl.google.com/dl/android/maven2/com/google/android/libraries/ads/mobile/sdk/ads-mobile-sdk/maven-metadata.xml | sed -n 's/.*<latest>\(.*\)<\/latest>.*/\1/p'
Origin

This is a copy

100% identical to google-mobile-ads-android-migrate-to-next-gen — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/google-mobile-ads-android-migrate-to-next-gen/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Migration Agent Instructions for the Google Mobile Ads SDK

Migration Workflow

Use this checklist to track your migration progress:

  • Configure Gradle:
    • Replace com.google.android.gms:play-services-ads with the latest stable version of com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk. If you cannot access Maven directly, run the following command to fetch the latest version. The version returned in the latest tag is the latest version of the GMA Next-Gen SDK:

      curl -sS https://dl.google.com/dl/android/maven2/com/google/android/libraries/ads/mobile/sdk/ads-mobile-sdk/maven-metadata.xml | sed -n 's/.*<latest>\(.*\)<\/latest>.*/\1/p'
      
    • Update minSdk (24+) and compileSdk (34+).

    • Exclude play-services-ads and play-services-ads-lite from all dependencies globally in the app-level build file to avoid duplicate symbol errors.

    • Sync Gradle before moving on to the next step.

  • Per-File Migration:
    • Refactor the codebase following the API Mapping and Method Mapping tables to migrate imports, class names, and method signature to GMA Next-Gen SDK.
  • Verify and Build:
    • Run gradle build -x test to confirm a successful clean build. Resolve any GMA SDK related compile errors.

Core Migration Rules

  • App ID Usage: Always use the value of the com.google.android.gms.ads.APPLICATION_ID meta-data tag from AndroidManifest.xml for the applicationId in InitializationConfig.
    • Constraint: Preserve the <meta-data> tag in the manifest; it is still required for publishers using the User Messaging Platform SDK.
  • Initialization Sequence:
    1. Call MobileAds.initialize() on a background thread.
    2. Ensure initialize() is called before any other SDK methods.
    3. If using RequestConfiguration, bundle it into InitializationConfig.Builder.setRequestConfiguration(). Do not call MobileAds.setRequestConfiguration() before initialization.
  • UI Threading: MANDATORY: Callbacks in GMA-Next Gen SDK are invoked on a background thread. ALL UI-RELATED OPERATIONS (e.g., Toasts, View updates, Fragment transactions) MUST be wrapped in runOnUiThread {} or Dispatchers.Main.launch {} within GMA SDK callbacks. SKIPPING THIS STEP WILL CAUSE THE APPLICATION TO CRASH.
  • Mediation: Classes implementing com.google.android.gms.ads.mediation.Adapter MUST continue using com.google.android.gms.ads.

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 197 lines · 105 tokens per session scan A e8a1e910b87e

Subscribe to this mod's changes

google-mobile-ads-android-migrate-to-next-gen is a skill published in the GitHub repository frogobox/frogo-sdk (21 stars, last pushed 9d ago), licensed Apache-2.0. It adds 105 tokens to every session and 4,307 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to google-mobile-ads-android-migrate-to-next-gen, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

sceneview-ios

Build 3D and AR apps on Apple platforms (iOS, macOS, visionOS) with SceneViewSwift — the SwiftUI wrapper around RealityKit. Use whenever the user asks for "3D in SwiftUI", "AR with ARKit in SwiftUI", a model viewer for iOS, or any Apple-platform 3D/AR app where the dependency is the SceneViewSwift Swift Package from…

sceneview/sceneview · 148 tokens

sceneview

Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…

sceneview/sceneview · 156 tokens

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

kotlin-tooling-agp9-migration

Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions…

Kotlin/kotlin-agent-skills · 105 tokens

ksafe

Use for persisting sensitive data from Kotlin/Compose Multiplatform shared code into one Keystore/Keychain-backed store across Android, iOS, macOS, JVM Desktop, and web: tokens, passwords, PINs, a database passphrase, encrypted preferences, Compose state. KSafe (:ksafe, :ksafe-compose, :ksafe-biometrics) is the…

ioannisa/KSafe · 262 tokens