Use agent skills

Select platform: Android iOS

Agent skills for Google Mobile Ads SDK are portable, self-contained modules of Google Mobile Ads SDK knowledge, instructions, and workflows. These skills are designed to help AI assistants understand Google Mobile Ads SDK and run complex tasks with higher accuracy. For all available agent skills, see the ads folder in the GitHub repository.

This page covers installing and updating agent skills.

Install the agent skills

Agent skills for Google Mobile Ads SDK work with AI assistants that support skills, including Antigravity, Claude Code, Codex, and Cursor.

To install agent skills for Google Mobile Ads SDK, run the following command:

npx skills add google/skills/skills/ads

Agent skills for Google Mobile Ads SDK begin with google-mobile-ads.

Update the agent skills

To make sure AI assistant has the latest Google Mobile Ads SDK features and recommendations, update your agent skills. The following example updates all agent skills for Google Mobile Ads SDK:

npx skills update --all

View available skills

You can use agent skills for Google Mobile Ads SDK by prompting your preferred AI assistant. The following table describes all available skills and sample prompts:

Skill Description Sample prompt
google-mobile-ads-get-started Assists with adding the GMA Next-Gen SDK to your app for the first time, setting the application ID, and initializing Google Mobile Ads SDK. Help me initialize the Google Mobile Ads SDK
google-mobile-ads-banner Assists with implementing banner ads, such as large anchored adaptive banners and inline adaptive banners. Add a banner ad to my app
google-mobile-ads-interstitial Assists with implementing full-screen interstitial ads and showing the ads at natural transition points in your app. Add an interstitial ad to my app
google-mobile-ads-rewarded Assists with implementing rewarded ads, showing the ads, and handling user reward callbacks. Implement a rewarded ad
google-mobile-ads-android-migrate-to-next-gen Assists with migrating an existing Android app from Google Mobile Ads SDK (Legacy) to GMA Next-Gen SDK. Migrate my app to GMA Next-Gen SDK
google-mobile-ads-validate Assists with validating a project's Google Mobile Ads SDK integration, conducting pre-launch audits, and checking against common implementation errors. Validate my Google Mobile Ads SDK integration