launch-unity
Skill0 starsChanged 4 months agoMITView on GitHub
Detect which Unity project to launch and start Unity Editor via uloop. Use when user says "unity起動", "Unity起動して", "Unity開いて", "launch unity", or asks to start the Unity Editor.
In this repository27 other files it gives its agents.
- brainstormingSkill
- codexSkill
- cognitive-rhythm-writingSkill
- commitSkill
- compressSkill
- create-skillSkill
- crit-reviewSkill
- cross-reviewSkill
- decompressSkill
- herdr-fork-popupSkill
- herdr-forkSkill
- init-rulesSkill
- install-skillsSkill
- japanese-tech-writingSkill
- llm-wikiSkill
- parallel-dispatchSkill
- pbcopySkill
- refactor-docSkill
- session-logSkill
- subagent-driven-developmentSkill
- sync-skillSkill
- test-driven-developmentSkill
- user-journeySkill
- using-git-worktreesSkill
- writing-plansSkill
- x-searchSkill
- yahoo-realtime-searchSkill
The file
Files
Unity 起動
対象の Unity プロジェクトを特定し、uloop launch で Unity Editor を起動する。
検出された Unity プロジェクト候補
!{ [ -f ProjectSettings/ProjectVersion.txt ] && echo "(current directory is a Unity project)"; find . -maxdepth 4 -name ProjectVersion.txt -path "*ProjectSettings*" -not -path "*/Library/*" 2>/dev/null | sed 's|/ProjectSettings/ProjectVersion.txt||'; } || true
起動対象の決定ルール(上から順に適用)
- 引数指定あり (
$ARGUMENTSにパス): そのパスを起動対象とする - カレントが Unity プロジェクト(上の候補に
(current directory is a Unity project)がある): カレントディレクトリを起動 - 候補が 1 つだけ: それを起動
- 候補が複数: 会話のコンテキストから判断する
- 直近で編集・調査していたファイルがどのプロジェクト配下か
- 会話で話題になっているアプリ名・機能がどのプロジェクトのものか
- 判断根拠をユーザーに一言伝えてから起動する
- コンテキストから判断できない: AskUserQuestion で候補を選択肢として提示し、ユーザーに選んでもらう。勝手に決めない
起動コマンド
uloop launch <project-path>- カレントを起動する場合はパス省略で
uloop launch uloop launchは fire-and-forget ではなく、Unity が CLI 操作可能になるまで待ってから終了する- Unity の初回起動・インポートには数分かかることがあるため、Bash の timeout は 600000ms(最大)を指定すること
- すでに Unity が起動している場合は既存ウィンドウがフォーカスされる。再起動が必要なときのみ
-rを付ける
起動後
- 出力される Unity バージョンとプロジェクトパスをユーザーに報告する
- エラーで終了した場合は出力をそのまま報告し、勝手にリトライしない
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

