/unity-cli:unity-perffrom unity-cli
Profiles Unity performance using the profiler CLI, analyzes GC allocations, CPU/GPU bottlenecks, and provides optimization suggestions. Useful for FPS drops and memory issues.
Ships in unity-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
PREREQUISITE:
../unity-shared/SKILL.md(Relay Server 経由で Unity Editor が起動/アクティブであること)skill 経由のコマンドは必ず
-i <instance>を付ける (unity-shared #インスタンス指定)。
1. /unity-verify Quick Verify コンパイルエラーがないことを確認
2. u -i <instance> play Play Mode 開始
3. u -i <instance> profiler start プロファイリング開始
4. 計測 (数秒〜数十秒)
5. u -i <instance> profiler snapshot スナップショット取得
u -i <instance> profiler frames --count 10 フレームデータ取得
6. u -i <instance> profiler stop 停止
7. u -i <instance> stop Play Mode 終了
8. 分析 → 最適化提案
u -i <instance> profiler start # 開始
u -i <instance> profiler stop # 停止
u -i <instance> profiler snapshot # 現在のスナップショット
u -i <instance> profiler frames --count 10 # 直近Nフレーム
| ボトルネック | 確認方法 | 対策 |
|---|---|---|
| CPU | frames の処理時間 | ホットパスの最適化 |
| GPU | frames の描画時間 | バッチング、LOD |
| GC | frames の GC Alloc | オブジェクトプール、struct 化 |
| メモリ | snapshot のメモリ使用量 | アセット圧縮、参照整理 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bigdra50/unity-cli --plugin unity-cli9 skills in this plugin
/unity-apiUnity API の探索と実行。u api schema で検索、u api call で任意の public static メソッドを呼ぶ。
Use for: "Unity API 呼び出し", "u api call", "schema 検索", "CLI 非対応操作のフォールバック"
/unity-assetアセット管理ワークフロー。依存関係調査、参照整合性チェック、パッケージ管理。
Use for: "アセット依存", "参照切れ", "パッケージ管理", "不要アセット"
/unity-buildビルドワークフロー。検証 → 設定確認 → ビルド実行 → エラー対応。
Use for: "ビルド", "ビルド実行", "プラットフォーム設定", "ビルドエラー"
/unity-debugランタイムエラー・NullReference・コンソールログの調査ワークフロー。
Use for: "エラー調査", "NullReference", "デバッグ", "コンソール確認", "ログ確認"
/unity-sceneシーン構築ワークフロー。オブジェクト配置、コンポーネント設定、Prefab化、シーン保存。
Use for: "シーン構築", "オブジェクト配置", "Prefab化", "コンポーネント設定"
/unity-sharedunity-cli 共通ルール。全 unity-* スキルが自動ロードする前提条件。Use as prerequisite for any unity-* skill (verification sequence, fallback order, security policy).Other plugins' skills for the same job