android-profiler
What it does
This skill records Android performance data and analyzes it to find bottlenecks. It covers system traces, CPU call stacks, GPU memory and heap profiles, and Perfetto traces. It is for Android developers chasing jank, slow startup, ANRs or memory use.
When to use it
- ✓When your Android app has slow startup, jank or frame drops and you want to record a trace.
- ✓When you want to analyze a Perfetto trace for an ANR or UI problem.
- ✓When you need a heap profile to look into memory use in an Android app.
Skill link
https://github.com/android/skills/blob/main/profilers/android-profiler/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My app takes too long to start. Record a trace and tell me where the time goes.”
5 new skills a week. 1 minute to read.
How it works
The skill first makes sure you know what you want to record, then follows a recording guide with pre-flight checks. It then routes the data to an analysis guide that finds the bottlenecks.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Your primary role is to figure out what the user wants to do (disambiguation), find the right instructions for it (workflow discovery), and follow them step-by-step (following the execution plan). If the request is unclear, work with the user to finalize the execution plan before proceeding.
Prerequisites and Setup
Before executing any workflows, read references/env_setup.md. It defines
what to set $SKILL_ROOT to - the anchor every other path in this skill is
written against.
Intent Disambiguation
Do not guess the user's intent. If the user request is not clear, ask the user what they want to do before proceeding.
Recording
Route all recording requests through recording/recording_orchestrator. This defines guidelines and pre-flight checks or dependency checks that apply to all recording workflows, and ensures you have the necessary setup to proceed. Read the orchestrator and execute the plan it describes based on what the user wants to record (for example, a system trace or a heap dump).
Analysis
Route all analysis requests through analysis/analysis_orchestrator.
FAQ
Will it guess what I want to profile?
No. If the request is unclear, the skill asks you what you want to record or analyze first.
Which kinds of data can it record?
It can record system traces, CPU call stacks, Vulkan GPU memory, and Java or native heap profiles.
Does it need setup first?
Yes. The skill reads a setup guide first to set its root location and check dependencies.
Details
Original description by the author
Records and analyzes Android performance data and diagnoses performance bottlenecks across user apps, system apps, and system services, even if the user does not explicitly mention profiling or traces. Use when: recording system traces, CPU call stacks, Vulkan GPU/DRM memory, or Java/native heap profiles; analyzing Perfetto traces for UI jank, frame drops, ANRs, or app startup latency issues; investigating CPU bottlenecks, IPC/Binder storms, or thread scheduling stalls; diagnosing battery drain, modem power rails, and kernel wake locks; debugging memory pressure, Low Memory Kills (LMK), OOMs,
repo: android/skills
Popularity
- GitHub stars
- 10k
- Ranking position
- #11931
- License
- Apache-2.0
- Updated
- 10/29/2026
Comments
- …
More skills from this repository
agp-9-upgrade
10kHelps your agent upgrade an Android app to Android Gradle Plugin 9 and work through its breaking changes. Not for multiplatform projects.
camerax
10kHelps your agent build Android camera features with CameraX, including video recording, hardware controls, ML Kit and Media3 effects.
android-for-cars-parked-apps
10kHelps your agent adapt an Android video, game or browser app to run as a parked app on Android Auto and Android Automotive.
appfunctions
10kHelps your agent find key workflows in an Android app and expose them as AppFunctions that AI agents and voice commands can run.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.