browser-video-recording
ما الذي تفعله
توجّه هذه المهارة الوكيل خلال صنع فيديو بأسلوب تسجيل الشاشة من لقطات المتصفح، بما في ذلك نقرات المؤشر والتكبير الذي يتبع الحركة. وهي لمن يصنع عروضًا توضيحية أو دروسًا من صفحة ويب.
متى تستخدمها
- ✓عندما تريد فيديو عرض توضيحي للمتصفح مع نقرات مرئية للمؤشر.
- ✓عندما تريد إعادة تسجيل خطوات المتصفح كفيديو سلس.
- ✓عندما يحتاج عرض توضيحي إلى تكبير يتبع الحركة على الصفحة.
رابط المهارة
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/browser-video-recording/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اصنع فيديو عرض قصيرًا لخطوات التسجيل في متصفحي، مع نقرات للمؤشر وتكبير سلس.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يلتقط الوكيل حالات المتصفح، ثم يحولها سكربت مرفق إلى فيديو بمؤشر طبيعي وتكبير هادئ. ويفحص تفاصيل الفيديو وصورة مصغرة قبل التسليم.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Browser Video Recording
Dependency Model
Separate the workflow into three layers:
- Browser control and source frames: Use the Codex in-app browser through the Browser skill/MCP. Do not use Chrome when the user asks for Codex browser or the project says not to. The browser layer supplies real screenshots and real click/scroll/navigation states.
- Local video renderer: Use the bundled Python script to render screenshots into an MP4 with a natural macOS cursor, subtle click scale, and calm zoom-follow framing. This does not require a screen-recording MCP.
- Optional native recorder integration: Use a native recording MCP only when callable and explicitly useful for starting/stopping an actual app recording or opening a generated project. If unavailable, blocked, or unable to capture the Codex browser surface, fall back to the screenshot-to-video renderer and explain the fallback.
Self-Contained Execution
This skill is enough for another Codex instance to perform the Python rendering as long as the full skill folder is installed, including scripts/render_browser_demo.py. Codex should run the bundled script instead of recreating the renderer.
Required local tools:
python3- Python package
Pillow ffmpegandffprobe
Optional macOS cursor extraction uses swift and /usr/sbin/screencapture. If those are unavailable, provide a transparent PNG through cursor_asset and set cursor_hotspot in the config.
The Browser skill/MCP is still needed for fresh Codex in-app browser screenshots. If it is unavailable, use the best available browser automation screenshot source and state the fallback.
Optional Native Recorder Support
For native app recording, verify the MCP supports:
- Use
frameRate: 60. - Use
resolutionRawValue: "4K". - Use
ratioPresetRawValue: "4:3"for region recordings. - Use an explicit
selectedRegionOnScreenwhen cropping to an embedded browser viewport.
For the local renderer, 4K 4:3 means 3840x2880. If a native recorder exposes a 4K enum, treat it as an app-side resolution preset and pair it with 4:3 region selection when recording through that MCP.
Capture Workflow
Use browser:control-in-app-browser first. After loading its docs, drive the in-app browser with the Node/browser API:
- Set viewport to
1920x1440for 4:3 4K output, then reset it before finishing. - Navigate to the requested page and perform actual clicks, backs, searches, and scrolls.
- Save browser-only screenshots after each important state change. Use names like
01-results-top.png,02-after-card-click.png,03-back-results.png. - Record the viewport coordinates of each click/scroll target. The final cursor path should land on those points, pause, click, then move to the next meaningful point.
Avoid desktop coordinate automation unless the user explicitly needs system UI. Codex browser visibility may not expose a capturable macOS surface; screenshots from the browser API are the reliable source.
Motion Rules
Make the cursor feel purposeful:
- Use sparse, mostly straight cursor paths.
- Pause briefly on a target before clicking.
- Do not wander over unrelated UI.
- Let the page transition happen after the click, not before.
- Use only subtle click feedback: scale dip/rebound, not decorative rings unless requested.
- Keep zoom-follow calmer than the cursor. The camera should frame the clicked content, not chase every small mouse move.
Default visual target:
- Real macOS pointer extracted from the compositor, or an existing transparent cursor asset.
- Cursor scale
3.0, matching the large cursor style commonly used in edited demo recordings. - Click animation strength
15for a subtle click scale dip. - Rotation strength up to
8deg, only from horizontal velocity.
Render Script
Use scripts/render_browser_demo.py for deterministic 60 fps 4:3 4K output:
python3 /path/to/browser-video-recording/scripts/render_browser_demo.py \
--config /tmp/browser-demo-config.json \
--output /tmp/browser-demo-4x3-4k-60fps.mp4
Generate a starter config:
python3 /path/to/browser-video-recording/scripts/render_browser_demo.py --write-template
The config supplies:
shots: map of state names to screenshot PNG paths.scene_starts:[time, shotName, transition]entries.cursor_keys:[time, x, y]viewport-coordinate entries.camera_keys:[time, x, y, zoom]entries.click_times: click timestamps.duration,fps,
الأسئلة الشائعة
هل تحتاج إلى أداة تسجيل شاشة؟
لا. تحوّل المهارة لقطات الشاشة إلى فيديو بسكربت مرفق، ومسجّل الشاشة الأصلي اختياري.
ما الأدوات التي يجب تثبيتها؟
Python مع حزمة Pillow، إضافة إلى ffmpeg وffprobe.
هل تحتاج إلى جهاز Mac؟
استخراج المؤشر مخصص لـ macOS. وعندما لا تتوفر هذه الأدوات، تستخدم المهارة مؤشرًا بديلًا.
التفاصيل
الوصف الأصلي من المؤلف
Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography, zoom-follow framing, ffprobe/thumbnail verification, and optional native recording compatibility checks. Use when the user asks to record or re-record browser actions, show cursor clicks and zooms, make Dribbble/UI inspiration or product demo recordings, or asks whether Codex, Playwright, or an MCP can produce a natural browser demo video.
repo: MengTo/Skills
الشعبية
- نجوم GitHub
- 7.2k
- الترتيب
- #13332
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
3d-cloth-material
7.2kيساعد وكيلك على بناء قماش منسوج واقعي في Three.js، مع نسيج الخيوط والبريق الناعم والثنيات الطبيعية والأطراف والدروز.
3d-falling-leaves
7.2kيساعد وكيلك على إضافة أوراق متساقطة واقعية إلى مشهد ثلاثي الأبعاد، تتقلب وتنجرف مع الريح وتُعاد تدويرها مع حركة الكاميرا.
3d-four-seasons
7.2kيساعد وكيلك على إضافة مظاهر الربيع والصيف والخريف والشتاء إلى مشهد ثلاثي الأبعاد، بتغيير النباتات والضوء والسماء والثلج دون إعادة بناء المشهد.
3d-high-poly-models
7.2kيساعد وكيلك على بناء نماذج ثلاثية الأبعاد مفصلة بأشكال ناعمة وحواف مقنعة، ثم تجهيز نسخ أخف تعمل جيدًا على الويب.
مهارات مشابهة
taste-application
280kيساعد وكيلك على إنشاء فيديوهات بأسلوب محدد. يمكنه نسخ إيقاع المونتاج من فيديو مرجعي، وإنشاء مشاهد جديدة، وضبط الألوان، ومونتاج كل شيء مع لقطات أخرى.
taste-distillation
280kيتيح لوكيلك تحليل الفيديوهات لإنشاء حزمة أسلوب. تتضمن الألوان وإيقاع القطع والعناصر البصرية التي يمكن إعادة استخدامها لإنشاء فيديوهات جديدة بالمظهر نفسه.
ui-demo
280kيجعل وكيلك يسجل فيديوهات عرض احترافية لواجهات المستخدم. مفيد لإنشاء الشروحات أو إظهار طريقة عمل تطبيق ويب.