About android-profiler
A skill for organizing Android profiling and analysis tasks through intent clarification, workflow discovery, and stepwise execution. It requires reading environment setup first and routes recording and analysis requests through separate orchestrators.
Key features
- 01Clarify user intent first
- 02Discover workflows for each task
- 03Route recording through its orchestrator
- 04Route analysis through its orchestrator
- 05Read environment setup before execution
Use cases
- 01Clarify ambiguous analysis or recording requests
- 02Record a system trace or heap dump through the workflow
- 03Select the appropriate steps for an analysis task
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ android/ skills --skill android-profilerAfter installing, type/android-profilerin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
analysis/analysis_orchestrator.mdanalysis/workflows/perfetto-sql/perfetto_sql.mdanalysis/workflows/perfetto-trace-analysis/perfetto_trace_analysis.mdanalysis/workflows/perfetto-trace-analysis/references/per_candidate_analysis.mdtriage.mdanalysis/workflows/perfetto-trace-analysis/references/hints/hints_cpu.mdhints_graphics.mdhints_io.mdhints_ipc.mdhints_memory.mdhints_power.mdrecording/recording_orchestrator.mdrecording/workflows/perfetto-trace-recording/perfetto_trace_recording.mdrecording/workflows/perfetto-trace-recording/references/trace_config_reference.mdrecording/workflows/perfetto-trace-recording/references/example-configs/app_jank.pftxtcpu_profile.pftxtjava_heap_dump.pftxtlong_background.pftxtmemory_counters.pftxtnative_heap.pftxtsched_cpu.pftxtreferences/env_setup.mdreferences/perfetto/setup.mdsql.mdreferences/perfetto/bin/trace_processorDetails
From the project READMEYour 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.