Skip to content
Skillpedia
Mobile apps10k · #11931

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.md

Copy 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

Use this skill to help me: https://github.com/android/skills/blob/main/profilers/android-profiler/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills