Index of every page on this site: llms.txt
All skills
android avatar

/android-profiler

@7f7b217
by androidandroid/skills11k stars
703
Run it yourself

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, leaks, and allocation churn; performing A/B baseline trace comparisons to find regressions; executing ad hoc PerfettoSQL queries on Android traces.

Use this Skill: https://skilld.dev/gh/android/skills/android-profiler

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

recordingrecording_orchestrator.md

≈394 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Use the guidelines below to orchestrate between recording workflows after disambiguating the user intent (for example, recording a system trace or a heap dump). The guidelines below ensure pre-flight checks are always performed and domain-specific profiling flags are applied accurately.

Understand the Goal

Identify the explicit artifact and the recording goal the user wants (for example, a system trace or a heap dump). Before proceeding, ensure you have an answer to the following question: "User intends to record a {target artifact}".

Workflow Discovery and Execution Planning

If the user's request involves multiple distinct recording goals (for example, setting up a specialized environment AND recording a system trace), do not merge them:

  1. Use your file search tools (for example, grep_search) to recursively scan the $SKILL_ROOT/recording/workflows/ directory for workflow entry points (markdown files defining a top-level name: key in their frontmatter, ignoring internal references/ subdirectories). Find all the workflows that match the user's target artifact and goal.
  2. Propose all the matched workflows as options to the user, along with simple details on why they apply. Work with the user and converge on an execution plan.
  3. Continue with the user selection.

The user may ask to execute one or more workflows - sequentially or in parallel, or stitch two workflows together. When this happens, perform a quick scan of these workflows to ensure they are compatible with each other, and clarify with the user before proceeding.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts8d3 checks · Risk SAFE
  • Gen Agent Trust Hub8d

    The skill is a comprehensive performance analysis tool for Android. It records and analyzes Perfetto traces and heap dumps by utilizing official scripts and binaries downloaded from Google's GitHub repository and Google Cloud Storage. All external resources originate from trusted domains and organizations.

  • Socket8d

    No alerts

  • Snyk8d

    Risk: LOW · No issues

Signed by skilld at 7f7b217. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 1 hour ago.

Activeupdated last week
Other metadata
metadata
{
  "author": "Google LLC",
  "last-updated": "2026-11-10",
  "keywords": [
    "android performance",
    "debugging",
    "profiling",
    "recording",
    "trace analysis",
    "memory leaks",
    "bottleneck",
    "jank",
    "SQL"
  ]
}

README badge

README badge for android/skills/android-profiler