Use agent skills

Select platform: Android New 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 GitHub repository google-mobile-ads.

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.

The following example installs all agent skills for Google Mobile Ads SDK:

npx skills add google/skills/ads/google-mobile-ads --skill '*' --agent universal --yes

The --agent universal flag puts the skill in the standard .agents/skills folder that agents use.

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

The following table describes all available skills for Google Mobile Ads SDK features:

Skill Description
google-mobile-ads-get-started Assists with adding the Google Mobile Ads SDK to your app for the first time, setting the application ID, and initializing Google Mobile Ads SDK.
google-mobile-ads-banner Assists with implementing banner ads, such as large anchored adaptive banners and inline adaptive banners.
google-mobile-ads-interstitial Assists with implementing full-screen interstitial ads and showing the ads at natural transition points in your app.
google-mobile-ads-rewarded Assists with implementing rewarded ads, showing the ads, and handling user reward callbacks.
google-mobile-ads-android-migrate-to-next-gen Assists with migrating an existing Android app from Google Mobile Ads SDK to GMA Next-Gen SDK.

You can implement agent skills for Google Mobile Ads SDK by prompting your preferred AI assistant. The agent skills can guide your AI assistant to perform the following example tasks:

  • Help me initialize the Google Mobile Ads SDK.
  • Add a banner ad to my app.
  • Implement a rewarded ad.