cli-anything-unrealinsights
できること
このスキルは、Unreal Insightsツールを使って、Unreal Engineプロジェクトのパフォーマンストレースを、AIエージェントが記録し分析できるようにします。プロジェクトの遅い部分を見つける必要があるゲーム開発者向けです。
使う場面
- ✓Unrealプロジェクトの実行中に、パフォーマンストレースを記録したいとき。
- ✓保存したトレースファイルの処理時間やカウンターのデータを要約したいとき。
- ✓お使いのコンピューターでどのUnreal Insightsプログラムが設定されているか確認したいとき。
スキルのリンク
https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-unrealinsights/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Unrealプロジェクトのパフォーマンストレースを記録し、どの部分が最も時間がかかっているかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、Windows上のUnreal Insightsプログラムを通じてトレースのキャプチャを開始し、トレースを保存して、処理時間のデータを書き出します。結果をテキストまたはJSONで要約します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
cli-anything-unrealinsights
Use this CLI when you need agent-friendly access to Unreal Insights trace capture and exporter workflows on Windows.
Prerequisites
- Windows
- Unreal Engine tools installed with
UnrealInsights.exe - Verified with UE 5.5; headless timing exporters include compatibility handling for UE 5.3-style command parsing where possible
- Optional explicit env vars:
UNREALINSIGHTS_EXEUNREAL_TRACE_SERVER_EXEUNREALINSIGHTS_TRACE
Core Commands
Backend discovery
cli-anything-unrealinsights --json backend info
To use a source-built engine's matching UnrealInsights.exe:
cli-anything-unrealinsights --json backend ensure-insights `
--engine-root 'D:\code\D5\d5render-ue5_3'
This first looks for Engine\Binaries\Win64\UnrealInsights.exe under the
specified engine root, then builds it with that engine's Build.bat if needed.
Trace session state
cli-anything-unrealinsights trace set D:\captures\session.utrace
cli-anything-unrealinsights --json trace info
Trace Store discovery
cli-anything-unrealinsights --json store info
cli-anything-unrealinsights --json store list --live-only
cli-anything-unrealinsights --json store latest --set-current
Capture orchestration
cli-anything-unrealinsights --json capture run `
--project 'D:\Projects\MyGame\MyGame.uproject' `
--engine-root 'D:\Program Files\Epic Games\UE_5.5' `
--output-trace D:\captures\boot.utrace `
--channels "default,bookmark" `
--exec-cmd "Trace.Bookmark BootStart" `
--wait --timeout 300
You can also keep using the explicit form:
cli-anything-unrealinsights --json capture run `
'D:\Program Files\Epic Games\UE_5.5\Engine\Binaries\Win64\UnrealEditor.exe' `
--target-arg 'D:\Projects\MyGame\MyGame.uproject'
Continuous capture session control
cli-anything-unrealinsights --json capture start `
--project 'D:\Projects\MyGame\MyGame.uproject' `
--engine-root 'D:\Program Files\Epic Games\UE_5.5' `
--output-trace D:\captures\live_session.utrace
cli-anything-unrealinsights --json capture status
cli-anything-unrealinsights --json capture snapshot D:\captures\live_snapshot.utrace
cli-anything-unrealinsights --json capture stop
This is the preferred flow when an agent needs to start profiling now and stop or snapshot later in a follow-up turn.
If a tracked capture session is still running, capture start now requires
--replace so the previous process is stopped before a new one is launched.
Live trace control backend
$env:UNREALINSIGHTS_LIVE_EXEC='ushell-wrapper --pid {pid} --cmd "{cmd}"'
cli-anything-unrealinsights --json live processes
cli-anything-unrealinsights --json live trace-status --pid 1234
cli-anything-unrealinsights --json live bookmark --pid 1234 "BeforeExport"
cli-anything-unrealinsights --json live stop-trace --pid 1234
Live command delivery requires UNREALINSIGHTS_LIVE_EXEC or --backend-command.
If no backend is configured, live commands return a JSON error and do not claim
success. live stop-trace stops trace collection without killing the UE process;
capture stop still terminates the harness-launched process tree.
GUI co-pilot
cli-anything-unrealinsights --json gui status
cli-anything-unrealinsights --json gui open --trace D:\captures\session.utrace
cli-anything-unrealinsights --json gui open-latest
GUI commands omit -NoUI and -AutoQuit so Unreal Insights remains open.
Offline exporters
cli-anything-unrealinsights --json -t D:\captures\session.utrace export threads D:\out\threads.csv
cli-anything-unrealinsights --json -t D:\captures\session.utrace export timer-stats D:\out\stats.csv --region=EXPORT_CAPTURE
cli-anything-unrealinsights --json -t D:\captures\session.utrace export counter-values D:\out\counter_values.csv --counter=*
Prefer equals-form wildcard filters such as --timers=* and --counter=*.
The harness passes simple values to UnrealInsights without inner quotes so
wildcards remain usable inside -ExecOnAnalysisCompleteCmd.
Batch response files
cli-anything-unrealinsights --json -t D:\captures\session.utrace batch run-rsp D:\out\exports.rsp
Analyze summaries
cli-anything-unrealinsights --json -t D:\captures\session.utrace analyze summary --out D:\out\summary
cli-anything-unrealinsights --jso
よくある質問
Windowsでのみ使えますか?
はい。このスキルはWindows向けで、UnrealInsights.exeプログラムのインストールが必要です。
どのUnreal Engineのバージョンで検証されましたか?
Unreal Engine 5.5で検証されたとされています。バージョン5.3の一部の対応も含まれています。
自分でビルドしたエンジンを使えますか?
はい。バックエンドのコマンドで、ソースからビルドしたエンジンのフォルダから、Unreal Insightsプログラムを探したりビルドしたりできます。
詳細
作者による元の説明
Capture Unreal Engine traces, inspect Trace Store files, keep Unreal Insights GUI open, and export/summarize timing/counter data.
repo: HKUDS/CLI-Anything
人気
- GitHubのスター
- 58k
- ランキング
- #3251
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
cli-anything-3mf
58kエージェントが3Dプリントのファイルを調べて直せるようにします。丸い穴を見つける、そのサイズを変える、メッシュを修復する、2つのファイルを比べることができます。
cli-anything-qgis
58kエージェントがターミナルからQGISのマッププロジェクトを開き、編集し、書き出せるようにします。レイヤー、フィーチャー、印刷レイアウト、処理ツールを含みます。
cli-anything-adguardhome
58kエージェントがAdGuard Homeを管理できるようにします。AdGuard Homeはネットワーク全体で広告を遮断するツールで、フィルター、DNSの書き換え、クライアント、クエリのログを扱います。
cli-anything-anygen
58kエージェントが、AnyGenのサービスを使って、書かれたプロンプトからスライド、文書、ウェブサイト、図を生成できるようにします。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。