ai/skills/perfetto/SKILL-template.md
This skill orchestrates Perfetto trace analysis.
Before running any trace_processor command, read
setup.md (it sits next to this
file, in this skill's environment-references/ directory). It defines how to
make trace_processor invokable and what to set $SKILL_ROOT to — the anchor
every other path in this skill (including the $SKILL_ROOT/... links here) is
written against. It is the only always-required file.
If you need to capture a new trace from an Android device:
If you have a resolved trace file and want to investigate memory leaks, object retention, or optimize heap usage:
If you have a resolved trace with GPU activity and want to know whether the workload is GPU-bound or host-bound:
If you want to load a trace and write custom PerfettoSQL queries:
Workflows above are self-contained (they carry their own queries); read
querying.md only for ad-hoc work outside a workflow.