شعار Uloop Record Video

Uloop Record Video

المجتمع
hatayama
uloop-record-video

سجّل عرض اللعبة أو أي نافذة في 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 أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها hatayama على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Uloop Record Video في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ 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؟

سجّل عرض اللعبة أو أي نافذة في 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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Uloop Record Video معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Uloop Record Video مجانية؟

نعم. نشرها hatayama على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇