Logo von Uloop Control Play Mode

Uloop Control Play Mode

Community
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.

Übersicht

Herausgeberhatayama
Repositoryunity-cli-loop
Skill-Nameuloop-control-play-mode
Sterne
578
Forks
49
Mitgelieferte Dateien
1
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 1

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von hatayama auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Uloop Control Play Mode in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/hatayama/unity-cli-loop/tree/main/.agents/skills/uloop-control-play-mode
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Uloop Control Play Mode in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Uloop Control Play Mode automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Uloop Control Play Mode nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill 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.

Warum Uloop Control Play Mode in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Uloop Control Play Mode besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Uloop Control Play Mode in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/hatayama/unity-cli-loop/tree/main/.agents/skills/uloop-control-play-mode ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Uloop Control Play Mode nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Uloop Control Play Mode verwenden?

So viele Sie möchten. In TypingMind können Sie Uloop Control Play Mode mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Uloop Control Play Mode kostenlos?

Ja. Der Skill wird von hatayama auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇