android-trace-sections
CommunityInstrument and inspect app performance traces.
Authorhimattm
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Android performance analysis requires precise timing and thread context beyond logs; this skill provides trace sections to answer "what happened when" with per-thread visibility and frame-boundary correlation.
Core Features & Use Cases
- AGENT_TRACE labeling for code sections to mark start/finish
- Capture Perfetto traces on-device or host
- Analyze traces with trace_processor queries to identify main-thread usage and frame correlation
- Use in hot paths to diagnose jank, slow startup, and thread contention
Quick Start
Wrap suspect blocks with AGENT_TRACE_<id> labels or Trace.beginSection, capture a trace, and inspect the results to verify timing on each thread.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: android-trace-sections Download link: https://github.com/himattm/skills/archive/main.zip#android-trace-sections Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.