Логотип Uloop Control Play Mode

Uloop Control Play Mode

Спільнота
hatayama
uloop-control-play-mode

Control Unity Editor Play Mode. Use to Play (or Resume, its alias), Stop, Pause, or Step Play Mode, or query Status without side effects, for runtime behavior checks and frame inspection.

Огляд

Видавецьhatayama
Репозиторійunity-cli-loop
Назва навичкиuloop-control-play-mode
Зірки
578
Форки
49
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: hatayama. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Uloop Control Play Mode у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/hatayama/unity-cli-loop/tree/main/.agents/skills/uloop-control-play-mode
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatayama/unity-cli-loop.git /tmp/unity-cli-loop
mkdir -p .claude/skills
cp -r /tmp/unity-cli-loop/.agents/skills/uloop-control-play-mode .claude/skills/uloop-control-play-mode
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Uloop Control Play Mode в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Uloop Control Play Mode, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Uloop Control Play Mode не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

uloop control-play-mode

Control Unity Editor play mode (play/stop/pause/step) or query its state without side effects (status).

Usage

bash
uloop control-play-mode [options]

Parameters

ParameterTypeDefaultDescription
--actionstringPlayPlay - start Play Mode, Stop - stop Play Mode, Pause - pause Play Mode, Step - advance one frame while paused, Status - report current state without changing anything, Resume - alias of Play in every state, including starting Play Mode when stopped
--timeout-secondsinteger180Maximum seconds to wait for the requested play mode state
--unsaved-changesstringkeepHow Play from Edit Mode handles unsaved Scene/Prefab Stage changes: keep enters Play Mode without saving (like the Editor's Play button); save writes them first; fail stops if any exist

Output

Returns JSON with the current play mode state:

  • IsPlaying: Whether Unity is currently in play mode
  • IsPaused: Whether play mode is paused
  • Changed: Whether the requested action changed the current play mode state
  • WasAlreadyStopped: Whether Stop was requested while Play Mode was already stopped
  • ResumedFromPause: Whether Play resumed a paused Play Mode session instead of starting a new one
  • Message: Description of the action performed
  • Warning (string, optional): Set when the action carries a caveat. With --unsaved-changes save it starts by listing every Scene and Prefab Stage it saved. A fresh Play start always notes that the session started from Edit-time scene state; additionally, when active hot-reload patches or enabled pause points exist and Domain Reload is enabled, it reports how many of them the Play-entry domain reload will discard. Pause points enabled with --persist are counted separately: they are re-armed after the reload, and the warning points at pause-point-status for the re-arm result. Status also reports when Play Mode is running while the Unity Editor is unfocused, because progress may be throttled; run uloop focus-window, or use the pause-point --await/--trigger flow instead of polling for progress.
  • StoppedBy (string, optional): Why Play Mode last stopped: cli-control-play-mode, cli-compile-stop-setting, cli-run-tests-cancel, script-compilation, or unknown. Present on Stop when Play Mode was already stopped, and on Status when Play Mode is not running. Omitted when this Editor session has no confirmed stop.
  • StoppedAt (string, optional): UTC ISO 8601 timestamp of that stop. Omitted together with StoppedBy when no stop is recorded.
  • ActiveScenario (string, optional): Name of the active non-default Play Mode configuration (for example a Multiplayer Play Mode scenario). Omitted when the default configuration is active.

Notes

  • Stop on an already-stopped Editor sets Changed: false, WasAlreadyStopped: true
  • Play on an Editor that is already playing is a no-op: it sets Changed: false and leaves the current session (its accumulated state, spawned objects, progress) untouched instead of restarting it. If you need a clean state for verification, explicitly Stop then Play rather than relying on Play alone to reset anything.
  • Play while Play Mode is paused resumes the same session: it sets Changed: true, ResumedFromPause: true, and Message: "Play mode resumed" — the session is not restarted.
  • Resume is an alias of Play and behaves identically in every state, including starting Play Mode when stopped.
  • Step advances exactly one frame and leaves PlayMode paused (the Editor's Next Frame button); it is independent of Time.timeScale and requires PlayMode to be running
  • The command waits for the requested state before returning. Increase --timeout-seconds for projects with slow PlayMode entry.
  • Before relying on PlayMode behavior as verification evidence, check uloop get-logs --log-type Error for pre-existing errors. An error already present when PlayMode starts can otherwise be mistaken for one caused by the action under test.
  • Status reads the current state with no side effects: Changed is always false, no waiting, no scene saving, and it is never rejected by compile errors. It reports whether compile errors would currently block Play (BlockedByCompileErrors with the CompileErrors list), read from the last compile result without triggering a new compile. It does not predict unsaved-changes blocking: BlockedByUnsavedChanges describes a Play request that --unsaved-changes stopped, and Status never checks.
  • --unsaved-changes applies only when Play enters Play Mode from Edit Mode; resuming a paused session never saves or checks. With the default keep, unsaved edits stay in memory: Unity restores them when Play Mode ends, and Scene files on disk are not rewritten.
  • Play fails immediately with a CONTROL_PLAY_MODE_UNSAVED_CHANGES error when fail finds unsaved changes, or when save cannot save them — most commonly an Untitled scene, which has no path to save to. The error message lists exactly which scenes or prefab stages blocked it; use keep, or save the Untitled scene to an explicit path (or discard the changes), then retry.
  • Play and Stop follow the active Play Mode configuration like the Editor's Play button: with a Multiplayer Play Mode scenario selected they start and stop its Virtual Players too. To find and command Virtual Players, read references/multiplayer-play-mode.md.
  • Play from Edit mode triggers a domain reload (unless Enter Play Mode Options disable it), which discards all active hot-reload patches and every enabled pause point; pause points enabled with --persist are then re-armed from their saved enable request. The response Warning reports the counts being dropped and, separately, how many re-arm. Edits that were only hot-reloaded are not part of the compiled assemblies, so the new session runs the last compiled code — run uloop compile before Play to keep them, or re-apply uloop hot-reload after Play Mode starts.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Uloop Control Play Mode?

Control Unity Editor Play Mode. Use to Play (or Resume, its alias), Stop, Pause, or Step Play Mode, or query Status without side effects, for runtime behavior checks and frame inspection.

Навіщо використовувати Uloop Control Play Mode у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Uloop Control Play Mode — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Uloop Control Play Mode у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/hatayama/unity-cli-loop/tree/main/.agents/skills/uloop-control-play-mode. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Uloop Control Play Mode?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Uloop Control Play Mode?

Зі скількома забажаєте. У TypingMind ви можете використовувати Uloop Control Play Mode із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Uloop Control Play Mode?

Так. На GitHub цю навичку публікує hatayama за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇