Localise Android performance regressions from a Perfetto trace down to a place in the code. The skills drive the echolot CLI, which is installed separately: pipx install echolot.
Finds the line to fix. From a slow screen to a file and line, with the
numbers that prove it.
Same answer, every run. A pinned trace_processor: the same trace always
gives the same report.
No tracing code needed. Works on apps with zero trace {} calls; it
places temporary markers itself.
Works with your agent. A plugin for Claude Code, Codex and Cursor; any
other agent via echolot guide.
A large Kotlin app's cold start, five repeats with default thresholds: twelve
detectors fired with 255 rows. report.json keeps them all in about 240 KB,
and the overview the agent reads first is about 3.5 KB. Fifteen cold starts
are read in about nine seconds.
Quick start
pipx install echolot
Then the plugin, for the agent you use:
# Claude Code
claude plugin marketplace add grishan0v/echolot
claude plugin install echolot@echolot
# Codex
codex plugin marketplace add grishan0v/echolot
codex plugin add echolot@echolot
# Cursor: a copy in its folder for local plugins, then restart Cursor
echolot plugin cursor
Cursor also loads the plugins Claude Code has installed and enabled, so with
the plugin in Claude Code there is nothing to copy.
Open the agent in your Android project and say what is wrong:
The table as text
First time in a project: /echolot (sets it up: echolot.yml from the repository and a probe trace)
Cold start got slower: /echolot why is cold start slow
Scrolling stutters: /echolot the feed janks on scroll (a scroll scenario in echolot.yml, and Android 12+)
“App isn't responding”: /echolot the app froze, see anr.txt (the report from Crashlytics, Play Console or dumpsys dropbox)
With the plugin, the command is /echolot:echolot in Claude Code,
$echolot in Codex and /echolot in Cursor. Without it, echolot init puts /echolot into the
project's .claude/ and points other agents at echolot guide; see
The agent layer.
Without an agent
# record the scenario five times, and build the report from those traces
echolot collect -c echolot.yml -n 5
echolot analyze .echolot/traces/coldStart_iter*.perfetto-trace -c echolot.yml
# what changed since an earlier report
echolot compare before.json .echolot/out/report.json
In CI, one step after the benchmark analyzes its traces and compares them with
the report the last good run kept: