# Android Skills

Source: https://trendhub.net/skills/android-skills
Repository: https://github.com/android/skills
Author: Android (https://github.com/android)
License: Apache-2.0
GitHub stars: 10,871

Android Skills is the Android team's own collection of agent skills, each authored by Google LLC, covering build upgrades, Jetpack Compose, on-device AI, identity, Play, security, Wear OS, TV, cars and XR. The skills target areas where the team found models underperform, giving the agent step-by-step workflows and reference docs. It suits Android developers who use coding agents on real projects.

## What problems it solves

- **Agents use outdated Android APIs**: Each skill points the agent to current reference docs and migration guides and names the minimum SDK and library versions to use.
- **Version upgrades break builds halfway**: Upgrade skills for AGP 9, Play Billing and Compose migrations work in planned steps and rebuild after each one.
- **Compose apps jank under real load**: A performance audit checks every composable against seven categories and requires reading the matching reference before any fix.
- **Niche form factors lack good guidance**: Dedicated skills cover Wear OS widgets, TV migration from Leanback, parked car apps and display glasses.

## Install

### Android CLI (detected agents)

--all installs every skill for each detected agent (Gemini and Antigravity if none are found), while --project puts one skill in a given folder.

```
android skills add --all
android skills add r8-analyzer --project=.
android skills update --all
```

### Claude Code

Installs the collection as a Claude Code plugin.

```
/plugin marketplace add android/skills
/plugin install android-skills@android-skills
```

### Codex

Installs the collection as a Codex plugin.

```
codex plugin marketplace add android/skills
codex plugin add android-skills@android-skills
```

If you already use the Android CLI, it can install one skill or all of them for every agent it detects; otherwise use the Claude Code or Codex plugin. Many skills expect a Gradle-based Android project, and some need extras such as Python with protobuf for r8-analyzer or a connected device or emulator.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/agp-9-upgrade` (Build system): Migrates an Android project to Android Gradle Plugin 9 after first checking the current version, excluding Kotlin Multiplatform projects. (https://github.com/android/skills/tree/main/build-system/agp/agp-9-upgrade)
- `/camerax` (Camera): Guides CameraX work such as preview, capture and recording lifecycles, Camera2 interop and ML Kit or Media3 effects. (https://github.com/android/skills/tree/main/camera/camerax)
- `/android-for-cars-parked-apps` (Cars): Adapts video, game and browser apps to run while parked on Android Auto and Automotive OS within car app quality rules. (https://github.com/android/skills/tree/main/cars/android-for-cars-parked-apps)
- `/appfunctions` (On-device AI): Finds app workflows worth exposing as AppFunctions and generates the Kotlin code and KDoc so agents and shortcuts can call them. (https://github.com/android/skills/tree/main/device-ai/appfunctions)
- `/ml-kit-genai-prompt-api` (On-device AI): Adds the ML Kit GenAI Prompt API for on-device Gemini Nano requests, with structured output and prefix caching. (https://github.com/android/skills/tree/main/device-ai/ml-kit-genai-prompt-api)
- `/mlkit-agent-api` (On-device AI): Builds on-device agent loops with the ML Kit GenAI Agent API, AgentSession chat and AppFunctions tool calling. (https://github.com/android/skills/tree/main/device-ai/mlkit-agent-api)
- `/android-cli` (Developer tools): Teaches the agent the android command line for projects, SDK packages, emulators, UI dumps, screenshots, docs and journey tests. (https://trendhub.net/skills/android-skills/android-cli.markdown)
- `/restore-credentials` (Identity and sign-in): Implements Restore Credentials with Credential Manager so users are signed back in silently on a new device. (https://github.com/android/skills/tree/main/identity/restore-credentials)
- `/verified-email` (Identity and sign-in): Adds OTP-free verified email retrieval through Credential Manager digital credentials during sign-up. (https://github.com/android/skills/tree/main/identity/verified-email)
- `/ink-app-builder` (Jetpack Ink): Adds stylus and touch drawing with Jetpack Ink, including stock brushes, erasing, undo and redo and Room persistence. (https://github.com/android/skills/tree/main/jetpack-compose/ink/ink-app-builder)
- `/ink-custom-brush-builder` (Jetpack Ink): Writes custom Jetpack Ink BrushFamily definitions with tip shapes, input behaviours, layered coats and textures. (https://github.com/android/skills/tree/main/jetpack-compose/ink/ink-custom-brush-builder)
- `/adaptive` (Jetpack Compose): Makes Compose UIs adapt to phones, tablets, foldables, desktop, TV and XR, keeping state across configuration changes. (https://github.com/android/skills/tree/main/jetpack-compose/adaptive)
- `/jetpack-compose-performance` (Jetpack Compose): Audits Compose code for recomposition, layout, lazy list, animation, effect and drawing costs that cause dropped frames. (https://trendhub.net/skills/android-skills/jetpack-compose-performance.markdown)
- `/litert-lm` (LiteRT): Builds an Android chat, summary or extraction feature on an on-device open LLM via LiteRT-LM, from model download to streamed Compose UI. (https://github.com/android/skills/tree/main/device-ai/litert/litert-lm)
- `/litert-runtime` (LiteRT): Sets up .tflite inference with the LiteRT CompiledModel API on CPU or GPU, including migration from the old Interpreter. (https://github.com/android/skills/tree/main/device-ai/litert/litert-runtime)
- `/media3-cast-integration` (Media): Adds Google Cast playback through Jetpack Media3 CastPlayer, or migrates an app off the legacy Cast SDK. (https://github.com/android/skills/tree/main/media/media3-cast-integration)
- `/migrate-xml-views-to-jetpack-compose` (Migration): Moves one XML layout to Compose in ten steps, from a baseline screenshot to visual parity checks and XML removal. (https://trendhub.net/skills/android-skills/migrate-xml-views-to-jetpack-compose.markdown)
- `/ios-to-android` (Migration): Ports an iOS app or a single feature to Android with Compose, Room and coroutines, mapping each Apple framework to its counterpart. (https://github.com/android/skills/tree/main/migration/ios-to-android)
- `/navigation-3` (Navigation): Installs or migrates to Jetpack Navigation 3 and implements deep links, multiple back stacks, scenes and results. (https://github.com/android/skills/tree/main/navigation/navigation-3)
- `/navigation-event` (Navigation): Handles back gestures and Predictive Back animations in Compose with the NavigationEvent library on SDK 36 and up. (https://github.com/android/skills/tree/main/navigation/navigation-event)
- `/anr-audit-and-fix` (Performance): Scans code for main-thread blocking risks or diagnoses ANR stack dumps, proposing fixes only for app-caused defects. (https://github.com/android/skills/tree/main/performance/anr-audit-and-fix)
- `/r8-analyzer` (Performance): Runs R8 configuration analysis and reports redundant, overly broad or subsumed keep rules without editing the project. (https://trendhub.net/skills/android-skills/r8-analyzer.markdown)
- `/engage-sdk-integration` (Google Play): Integrates the Play Engage SDK by vertical and cluster, generating converter, request, worker and publisher classes. (https://github.com/android/skills/tree/main/play/engage-sdk-integration)
- `/play-billing-library-version-upgrade` (Google Play): Upgrades Play Billing Library to the latest stable release, in two-version steps when the app is far behind. (https://trendhub.net/skills/android-skills/play-billing-library-version-upgrade.markdown)
- `/play-policy-insights` (Google Play): Audits an app against Play policy areas, comparing code with store declarations for data safety, test login access and restricted permissions. (https://github.com/android/skills/tree/main/play/play-policy-insights)
- `/android-profiler` (Profiling): Records and analyses Perfetto traces and heap profiles to diagnose jank, slow startup, ANRs, memory pressure and battery drain. (https://github.com/android/skills/tree/main/profilers/android-profiler)
- `/android-intent-security` (Security): Audits exported components and incoming Intent handling to prevent Intent redirection and unauthorised access. (https://github.com/android/skills/tree/main/security/android-intent-security)
- `/android-permissions-security` (Security): Reviews custom permissions, IPC components, Binder caller checks and runtime permission flows for security gaps. (https://github.com/android/skills/tree/main/security/android-permissions-security)
- `/edge-to-edge` (System UI and widgets): Makes every Activity in a Compose app edge-to-edge and fixes insets, keyboard overlap and system bar legibility. (https://trendhub.net/skills/android-skills/edge-to-edge.markdown)
- `/glance-appwidget-updates-and-memory` (System UI and widgets): Keeps Glance and RemoteViews widgets updating correctly and inside the Android 17 bitmap memory limits. (https://github.com/android/skills/tree/main/system/glance-appwidget-updates-and-memory)
- `/glance-canonical-layouts` (System UI and widgets): Implements home screen widgets from the Glance canonical layouts, such as checklist, image grid and toolbar. (https://github.com/android/skills/tree/main/system/glance-canonical-layouts)
- `/testing-setup` (Testing): Assesses an app's test setup, then adds dependency injection for tests, unit, UI, screenshot and end-to-end tests and coverage. (https://trendhub.net/skills/android-skills/testing-setup.markdown)
- `/leanback-to-compose-tv-migration` (TV): Migrates Android TV screens from Leanback fragments to Compose for TV with D-pad focus and 10-foot layouts. (https://github.com/android/skills/tree/main/tv/leanback-to-compose-tv-migration)
- `/wear-compose-m3` (Wear OS): Creates or migrates Wear OS apps to Compose Material 3, covering scaffolds, transforming lists, ambient mode and previews. (https://github.com/android/skills/tree/main/wear/wear-compose-m3)
- `/wear-widgets` (Wear OS): Builds Wear OS widgets with Glance Wear and Remote Compose, including migration from ProtoLayout tiles. (https://github.com/android/skills/tree/main/wear/wear-widgets)
- `/display-glasses-with-jetpack-compose-glimmer` (XR glasses): Builds projected Android XR experiences for display glasses with the Jetpack Compose Glimmer toolkit. (https://github.com/android/skills/tree/main/xr/display-glasses-with-jetpack-compose-glimmer)
- `/projected-hardware` (XR glasses): Accesses camera and microphone on connected XR glasses, handling glasses permissions and projected context lifecycles. (https://github.com/android/skills/tree/main/xr/projected-hardware)

## Questions

### Is this an official Android project?

It lives in the android GitHub organisation, links to the skills page on developer.android.com and lists Google LLC as author of each skill.

### What does it cost?

Nothing; the repository is released under the Apache License 2.0.

### Which agents does it support?

The README documents plugins for Claude Code and Codex, and the Android CLI installs skills for any agent it detects, with Gemini and Antigravity as the fallback.

### Can I contribute skills?

Not directly. The README says public contributions are not accepted for now, but you can open GitHub issues with feedback or skill requests.

## Before you install

The skills edit Gradle files, manifests and Kotlin code, run Gradle builds and tests, and several drive devices through adb or the android CLI. Some run bundled Python scripts, android-cli includes a curl-to-shell installer for the CLI, and r8-analyzer may temporarily change settings.gradle after asking.
