android-profiler
できること
このスキルは、Androidの性能データを記録し、分析してボトルネックを見つけます。システムトレース、CPUのコールスタック、GPUメモリとヒープのプロファイル、Perfettoのトレースを扱います。カクつき、遅い起動、ANR、メモリの使用量を追うAndroid開発者向けです。
使う場面
- ✓Androidアプリの起動が遅い、カクつく、フレームを落とすとき、トレースを記録したいとき。
- ✓ANRやUIの問題について、Perfettoのトレースを分析したいとき。
- ✓Androidアプリのメモリの使用を調べるために、ヒープのプロファイルがほしいとき。
スキルのリンク
https://github.com/android/skills/blob/main/profilers/android-profiler/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アプリの起動に時間がかかりすぎます。トレースを記録して、どこで時間がかかっているか教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、まず何を記録したいかを把握し、事前確認を含む記録の手順に従います。そのうえで、データを分析の手順に回し、ボトルネックを見つけます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Your 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.
よくある質問
何を計測すべきかを推測しますか?
いいえ。依頼が不明確な場合、このスキルはまず何を記録または分析したいかを尋ねます。
どの種類のデータを記録できますか?
システムトレース、CPUのコールスタック、VulkanのGPUメモリ、Javaとネイティブのヒープのプロファイルなどを記録できます。
最初にセットアップは必要ですか?
はい。このスキルは、ルートの場所を設定し、依存関係を確認するため、まずセットアップのガイドを読みます。
詳細
作者による元の説明
Records and analyzes Android performance data and diagnoses performance bottlenecks across user apps, system apps, and system services, even if the user does not explicitly mention profiling or traces. Use when: recording system traces, CPU call stacks, Vulkan GPU/DRM memory, or Java/native heap profiles; analyzing Perfetto traces for UI jank, frame drops, ANRs, or app startup latency issues; investigating CPU bottlenecks, IPC/Binder storms, or thread scheduling stalls; diagnosing battery drain, modem power rails, and kernel wake locks; debugging memory pressure, Low Memory Kills (LMK), OOMs,
repo: android/skills
人気
- GitHubのスター
- 10k
- ランキング
- #11931
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/29
コメント
- …
このリポジトリの他のスキル
agp-9-upgrade
10kエージェントが、AndroidアプリをAndroid Gradle Plugin 9にアップグレードし、その破壊的変更に対応できるよう支援します。マルチプラットフォームのプロジェクトは対象外です。
camerax
10kエージェントが、CameraXを使ってAndroidのカメラ機能を作れるよう支援します。動画の録画、ハードウェアの制御、ML Kit、Media3のエフェクトを含みます。
android-for-cars-parked-apps
10kエージェントが、Androidの動画、ゲーム、ブラウザのアプリを、Android AutoとAndroid Automotiveで駐車中のアプリとして動かせるように適合させるよう支援します。
appfunctions
10kエージェントが、Androidアプリの主要な作業の流れを見つけ、AIエージェントや音声コマンドが実行できるAppFunctionsとして公開できるよう支援します。
似ているスキル
android-clean-architecture
280kエージェントがAndroidプロジェクトを効率よく整理できるようにします。コードを構造化して、保守や新機能の開発をしやすくします。
compose-multiplatform-patterns
280kエージェントがKMPプロジェクトでCompose MultiplatformとJetpack Composeのパターンを使えるようにします。状態管理、ナビゲーション、テーマ設定、パフォーマンスを扱います。
dart-flutter-patterns
280kエージェントがDartとFlutterのアプリ向けのコードを書けるようにします。最新のパターンを使い、堅牢で管理しやすいアプリを作ります。