Agent Skillsandroid/skills › android-profiler

android-profiler

GitHub

Android性能分析协调器,负责意图澄清与路由。指导用户记录系统追踪、堆转储等数据,并执行相应的分析与调试工作流,解决卡顿、内存泄漏及启动慢等问题。

profilers/android-profiler/SKILL.md android/skills

Trigger Scenarios

请求录制Android性能数据(如系统追踪、堆转储) 分析Android应用性能瓶颈、卡顿或内存泄漏 调查Android应用启动问题

Install

npx skills add android/skills --skill android-profiler -g -y
More Options

Non-standard path

npx skills add https://github.com/android/skills/tree/main/profilers/android-profiler -g -y

Use without installing

npx skills use android/skills@android-profiler

指定 Agent (Claude Code)

npx skills add android/skills --skill android-profiler -a claude-code -g -y

安装 repo 全部 skill

npx skills add android/skills --all -g -y

预览 repo 内 skill

npx skills add android/skills --list

SKILL.md

Frontmatter
{
    "name": "android-profiler",
    "license": "Complete terms in LICENSE.txt",
    "metadata": {
        "author": "Google LLC",
        "keywords": [
            "Android performance",
            "debugging",
            "profiling",
            "recording",
            "trace analysis",
            "memory leaks",
            "bottleneck",
            "jank",
            "SQL"
        ],
        "last-updated": "2026-08-06"
    },
    "description": "Manages Android performance profiling and debugging. Triggers when the user asks to record or analyze Android performance data, such as system traces, heap dumps, method recordings, callstack samples, memory allocations, or investigate bottlenecks, jank, memory leaks, and app startup issues on Android, or when the user asks to write, debug, or execute ad-hoc SQL queries. Applies to both user and system apps or services.\n"
}

Android Profiler Orchestrator

Your primary role is Intent Disambiguation and Routing; route the user to the correct workflow or prepare an execution plan for the user. Work with the user to finalize the plan and then proceed with the plan execution, addressing singular as well as composite needs.

Prerequisites and Setup

Before executing any workflows, read references/env_setup.md (it sits next to this file in the skill root). 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 $SKILL_ROOT/recording/recording_orchestrator.md. 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 $SKILL_ROOT/analysis/analysis_orchestrator.md.

Version History

  • 6685cac Current 2026-08-19 22:25

Same Skill Collection

build-system/agp/agp-9-upgrade/SKILL.md
camera/camerax/SKILL.md
device-ai/appfunctions/SKILL.md
devtools/android-cli/SKILL.md
identity/verified-email/SKILL.md
jetpack-compose/migration/migrate-xml-views-to-jetpack-compose/SKILL.md
jetpack-compose/theming/styles/SKILL.md
media/media3-cast-integration/SKILL.md
navigation/navigation-3/SKILL.md
performance/r8-analyzer/SKILL.md
play/engage-sdk-integration/SKILL.md
play/play-billing-library-version-upgrade/SKILL.md
play/play-policy-insights/SKILL.md
profilers/perfetto-sql/SKILL.md
profilers/perfetto-trace-analysis/SKILL.md
security/android-intent-security/SKILL.md
system/edge-to-edge/SKILL.md
testing/testing-setup/SKILL.md
wear/wear-compose-m3/SKILL.md
xr/display-glasses-with-jetpack-compose-glimmer/SKILL.md
jetpack-compose/adaptive/SKILL.md
tv/leanback-to-compose-tv-migration/SKILL.md

Metadata

Files
0
Version
6685cac
Hash
6385aeb4
Indexed
2026-08-19 22:25

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 05:25
浙ICP备14020137号-1 $mapa de visitantes$