Логотип Uloop Record Video

Uloop Record Video

Сообщество
hatayama
uloop-record-video

Запишите Game View или любое окно Editor (Scene, Inspector и т. д.) в видео .mp4 или .webm. Используйте, когда снимка экрана недостаточно: для записи движения, анимации, физики или последовательности игрового процесса.

Add to TypingMind

Обзор

Издательhatayama
Репозиторийunity-cli-loop
Название навыкаuloop-record-video
Звёзды
578
Форки
49
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — hatayama. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Uloop Record Video в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/hatayama/unity-cli-loop/tree/main/.agents/skills/uloop-record-video
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
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-record-video .claude/skills/uloop-record-video
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Uloop Record Video в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Uloop Record Video, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Uloop Record Video не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Task

Record the Unity Game View while Play Mode is running, or any Editor window with --window-name, then hand the file path to the user or inspect frames from it.

Workflow

  1. For a Game View recording, ensure Play Mode is running (uloop control-play-mode --action Play) and the Game View is open; start fails in Edit Mode. With --window-name the recording targets that Editor window instead and needs no Play Mode.
  2. uloop record-video --action start [options]. It returns immediately; encoding continues inside the Editor.
  3. Drive the scene with other uloop commands (simulate-keyboard, simulate-mouse-input, replay-input, ...). Do not run uloop compile mid-recording: a compile that runs auto-stops and finalizes the file (when Unity's Script Changes While Playing is Recompile After Finished Playing, the compile is refused instead and the recording continues). Exiting Play Mode also auto-stops a Game View recording; a --window-name recording keeps running when Play Mode stops.
  4. uloop record-video --action stop. The file is playable only after this call (or after an auto-stop).
  5. Read OutputPath from the JSON and use exactly that path. The output directory holds earlier recordings too (the newest 20 per extension are kept), so ls -t can pick a stale file.
  6. To inspect the content yourself, extract stills with ffmpeg (e.g. ffmpeg -i "<OutputPath>" -vf fps=1 frames_%03d.png) and view the PNGs. Otherwise report the path and duration to the user.

Tool Reference

bash
uloop record-video --action start [--frame-rate <fps>] [--max-duration-seconds <sec>] [--resolution-scale <0.1-1.0>] [--quality <low|medium|high>] [--window-name <name>] [--match-mode <exact|prefix|contains>] [--output-path <file>]
uloop record-video --action status
uloop record-video --action stop

Parameters

ParameterTypeDefaultDescription
--actionenumstartstart - begin recording, stop - finalize the file, status - report progress
--frame-rateinteger30Output video fps. Valid range 1–60. Frames are paced by wall-clock time; when the Editor renders slower than this, the previous frame is repeated. Used by start only.
--max-duration-secondsinteger60Auto-stop safety limit in seconds. Valid range 1–600. Used by start only.
--resolution-scalenumber1.0Resolution scale (0.1 to 1.0) applied to the Game View size before encoding. 0.5 cuts file size and encoding cost to about a quarter. Used by start only.
--qualityenummediumEncoder bitrate preset: low, medium, or high. Used by start only.
--window-namestringemptyEditor window title to record instead of the Game View (for example Scene, Inspector, Console). Empty records the Game View and requires Play Mode. A window recording does not require Play Mode, brings the tab to the front, repaints it every frame, and keeps running when Play Mode stops. Used by start only.
--match-modeenumexactWindow title matching for --window-name: exact, prefix, or contains (case-insensitive). Used by start only.
--output-pathstringemptyOutput file path. Empty uses .uloop/outputs/Videos/gameview_<yyyyMMdd_HHmmss_fff>.mp4 (.webm on Linux). Extension must be .mp4 (H.264) or .webm (VP8). Linux rejects .mp4. Used by start only.

Actions

ActionBehaviorTypical use
startValidates, opens the encoder, returns. One recording at a time; a second start fails until stop.Begin capture before driving input
statusReports live counters. When idle, reports the most recent auto-stopped recording.Check progress or find out why a recording ended
stopFinalizes the file and returns the final counters. When nothing is recording, returns the last auto-stopped recording once, then "No recording is in progress."End capture

Output

Returns JSON containing:

  • Success: Whether the request completed.
  • Message: Human-readable status.
  • Action: Echoes the executed action.
  • IsRecording: Whether a recording is active after this call.
  • OutputPath: Absolute path of the video file. Open this path; do not search the directory. A window recording uses the window_ name prefix instead of gameview_.
  • Width / Height: Encoded resolution after --resolution-scale and even rounding (0 when none).
  • FrameRate: Output fps (0 when none).
  • Quality: Bitrate preset in use.
  • EncodedFrameCount: Frames written to the encoder.
  • SkippedFrameCount: Frame slots that could not be captured (Game View closed or resized, or encoder refused a frame). The video keeps its timeline; skipped slots are simply missing.
  • ElapsedSeconds: Seconds since start (frozen after stop).
  • StoppedBy: Why the recording ended — "cli", "max-duration", "play-mode-exit", "window-closed", "assembly-reload", or "editor-quit". Omitted while recording.

Interpreting results

  • Success: false with Message "A recording is already in progress" → run stop first, then start again.
  • Success: false with "Play Mode view RenderTexture is not available" → open the Game View tab (uloop focus-window) and make sure a camera renders.
  • SkippedFrameCount growing while EncodedFrameCount stays flat → the Game View is closed, hidden, or resized. Restore it; recording resumes without restarting.
  • EncodedFrameCount far below ElapsedSeconds × FrameRate with few skips → the Editor is unfocused and throttling draws; run uloop focus-window before the next recording.
  • Success: false with "Window '...' not found" → pick the right title from the Open windows: list in the message, or use --match-mode prefix.
  • StoppedBy is not "cli" → the recording ended on its own; the file is still valid up to that point.

Notes

  • Odd Game View sizes are rounded down to even for H.264 (for example 1286×723 → 1286×722; the last pixel row/column is dropped).
  • The recording is wall-clock paced, so Play Mode pause records a still image, not a gap.
  • A window recording survives Play Mode stopping, but entering Play Mode with domain reload enabled (Unity's default) ends it with StoppedBy: "assembly-reload".
  • Default output is H.264 .mp4 on macOS/Windows and VP8 .webm on Linux. An explicit .webm path uses VP8 on every host.
  • Default recordings under .uloop/outputs/Videos/ keep only the newest 20 files per extension; a custom --output-path is never pruned.

Часто задаваемые вопросы

Что делает навык ИИ Uloop Record Video?

Запишите Game View или любое окно Editor (Scene, Inspector и т. д.) в видео .mp4 или .webm. Используйте, когда снимка экрана недостаточно: для записи движения, анимации, физики или последовательности игрового процесса.

Зачем использовать Uloop Record Video в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Uloop Record Video — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Uloop Record Video в TypingMind?

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

Какие модели ИИ могут использовать Uloop Record Video?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Uloop Record Video?

С любым количеством. В TypingMind вы можете использовать Uloop Record Video с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Uloop Record Video?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — hatayama. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇