android-benchmark-comparison — скилл для Claude Code: как установить
Скилл задаёт протокол для экспериментов с бенчмарками на физических Android-устройствах. Пригодится, когда нужно выбрать конфигурацию по умолчанию или разобрать спорные замеры.
npx skills add chrisbanes/skills --skill android-benchmark-comparison -a claude-codeЧто делает android-benchmark-comparison
Скилл выстраивает сравнение Android-сборок как строгий эксперимент. Агент требует протоколировать идентификаторы сборок, яркость экрана, температуру и сетевые условия. Запрещено отбирать только быстрые прогоны. Все сводные метрики рассчитываются по неокруглённым наблюдениям, а порядок тестов обязательно балансируют или меняют на противоположный.
Когда результаты тестов переворачиваются, выбор дефолтной конфигурации откладывается. Для поиска причин проверяют аппаратные трейсы с перекрывающимися метками времени. Режим fixed-performance не гарантирует корректную привязку к ядрам CPU. Если менялась маска affinity, агент требует вернуть исходные значения и подтвердить восстановление до следующего запуска.
Скилл не подходит для поиска проблем Compose в коде без сравнения конфигураций. Замеры времени кадров на CPU не показывают нагрузку на шейдеры GPU. Устройства ведут себя по-разному, поэтому маски процессора и настройки яркости нельзя переносить в постоянные дефолты проекта.
Какие задачи решает
- сопоставить конфигурации бенчмарков на физических Android-устройствах
- локализовать причины смены рангов конфигураций в повторных прогонах
- проверить корректность привязки CPU affinity и режима fixed-performance по трейсам
- объединить замеры без преждевременного отсечения медленных итераций
Примеры запросов агенту
- «Помоги сравнить замеры двух сборок на реальном устройстве и проверь порядок запусков.»
- «Разберись, почему в повторном тесте изменился порядок лидеров среди конфигураций.»
- «Проверь трейсы на перекрытие временных меток и подтверди возврат настроек CPU affinity.»
Как установить android-benchmark-comparison
1Через Skills CLI (Vercel)
npx skills add chrisbanes/skills --skill android-benchmark-comparison -a claude-code2Вручную: положить файлы
~/.claude/skills/android-benchmark-comparison/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/android-benchmark-comparison/
1Через Skills CLI (Vercel)
npx skills add chrisbanes/skills --skill android-benchmark-comparison -a codex2Вручную: положить файлы
.agents/skills/android-benchmark-comparison/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add chrisbanes/skills --skill android-benchmark-comparison -a cursor2Вручную: положить файлы
.cursor/skills/android-benchmark-comparison/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install chrisbanes/skills android-benchmark-comparison2Вручную: положить файлы
.github/skills/android-benchmark-comparison/SKILL.md1Через Skills CLI (Vercel)
npx skills add chrisbanes/skills --skill android-benchmark-comparison -a gemini-cli2Командой платформы
gemini skills install https://github.com/chrisbanes/skills --path skills/android-benchmark-comparisonВручную: положить файлы
.devin/skills/android-benchmark-comparison/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add chrisbanes/skills --skill android-benchmark-comparison -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о android-benchmark-comparison
Как установить android-benchmark-comparison в Claude Code?
Выполните команду npx skills add chrisbanes/skills --skill android-benchmark-comparison -a claude-code.
Зачем нужен скилл android-benchmark-comparison?
Он задаёт правила тестирования Android-сборок на реальных устройствах: балансировку порядка прогонов, фиксацию условий среды и проверку аппаратных трейсов при нестабильных результатах.
Можно ли использовать скилл для поиска проблем с Compose в коде?
Нет, скилл не предназначен для диагностики производительности Compose на уровне кода без сопоставления конфигураций. Он служит для аппаратных экспериментов и проверки влияния настроек окружения.
Исходный текст
SKILL.md · Apache-2.0
--- name: android-benchmark-comparison description: Use when comparing physical Android benchmark configurations, investigating inconsistent rankings, or selecting an Android default from measured results. Do not use for code-level Compose performance diagnosis without a configuration comparison. --- # Android benchmark comparison ## Core principle Treat a physical Android configuration comparison as a reproducible experiment: verify comparable workloads and device conditions before interpreting a ranking or choosing a default. ## Procedure 1. State the decision, configurations, workloads, metric definitions, and repetitions. Preserve exact build identity, configuration, raw results, and traces; then verify every intended case and iteration ran. Distinguish missing, failed, and excluded runs; do not compare only the fastest survivors. 2. Control and record relevant device conditions, including device model and state, thermal and power mode, display brightness, background load, and network or input conditions. Keep device-specific commands and CPU masks in the project's runbook. 3. Balance or reverse run order and repeat the comparison. Report the spread and whether the ordering holds; do not discard slow iterations after seeing the result. 4. When rankings reverse or variability is material, defer a firm default decision until the reversal is resolved. Give the complete next comparison, not just its first blocker: confirm the same named cases and iterations, repeat with balanced or reversed run order, and inspect trace data whose timestamps overlap each measured interval for placement, contention, or thermal changes. Fixed-performance mode does not prove CPU placement. If an affinity experiment was attempted, discover the device topology and verify placement during the measured interval. Restore the recorded original affinity settings after the experiment and verify that restoration before another run; do not merely note that restoration needs checking. Label verified affinity runs as controlled comparisons. If the original settings or any other check are unavailable, state the gap and keep any default choice explicitly provisional. 5. Calculate summaries from unrounded observations, then round only for presentation. Name the aggregation explicitly: the mean of per-run percentiles is not a percentile of pooled observations. Choose an aggregation that answers the stated decision; do not prescribe one statistic universally. 6. Separate controlled-experiment evidence from normal user performance. If several conditions changed together, report the comparison as more controlled but do not attribute its whole difference to one control. Use CPU frame-duration evidence to inform a visual quality/performance decision, without claiming it measures GPU shader time. 7. Finish with the raw-evidence location, completed-case counts, variability, trace findings, controls and restoration status, plus the bounded decision or remaining uncertainty. When a reversal is unresolved, state the full sequence still needed: matching coverage, balanced or reversed order, measured-interval trace inspection, and restoration of any changed affinity settings. If fixed-performance mode or an affinity command is cited, state that neither proves CPU placement without trace verification. Name *run order* explicitly in the recommendation: a "balanced comparison" alone does not tell the team to balance or reverse run order. Label any earlier default choice provisional. ## Boundaries - A single stable benchmark run can support a narrow observation, but not a robust configuration ranking. - Do not turn a device-specific CPU mask, brightness value, iteration count, or summary statistic into a permanent default. - When traces or repeat coverage cannot resolve a reversal, keep the default unchanged or make a provisional decision with that limitation explicit.
© chrisbanes · Apache-2.0 · chrisbanes/skills