synthetic-screen-recording
Skill này làm gì
Skill này cho biết khi nào nên tạo một bản ghi terminal giả bằng thành phần TerminalScene và khi nào nên ghi màn hình thật. Nó dành cho người làm demo phần mềm muốn có video terminal gọn gàng và dễ đoán.
Khi nào nên dùng
- ✓Khi bạn muốn demo một công cụ dòng lệnh và biết chính xác các lệnh và đầu ra.
- ✓Khi bạn cần bản ghi bảo mật riêng tư không hiển thị màn hình thật của bạn.
- ✓Khi bạn muốn đặt nhịp gõ và thời gian chính xác.
Liên kết skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/synthetic-screen-recording/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm một video demo terminal ngắn cho thấy cách cài đặt và chạy công cụ dòng lệnh của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent viết trước các lệnh và đầu ra mong đợi, rồi thành phần TerminalScene gõ từng ký tự, với con trỏ nhấp nháy và đầu ra cuộn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Synthetic Screen Recording (Remotion TerminalScene)
Decision this skill answers: When the user wants a screen-recording-looking demo of a terminal, CLI tool, or coding workflow — do I capture the real desktop (OS screen recording via screen_recorder, Windows-MCP, Cap, or Playwright), or do I synthesize it in Remotion with the TerminalScene component?
Heuristic: If the agent can author the exact command/output sequence in advance, synthesize. Only capture live when the real behavior is unpredictable, needs a real app UI, or the user explicitly asked for a real recording.
Why this exists
v3 of the OpenMontage showcase tried to use Windows-MCP + screen_recorder to drive a Git-Bash window for the install walkthrough. It stalled on window positioning, focus races, and taskbar privacy concerns. We pivoted to pure Remotion rendering — a React component named TerminalScene that draws a fake terminal and types commands character-by-character. The output is visually indistinguishable from a real screen recording (same traffic-light window chrome, blinking cursor, scrolling output) but deterministic, privacy-safe, pixel-perfect at 1080p, and pace-controllable to the frame.
That component + pattern is the capability this skill makes discoverable.
When to use synthetic (TerminalScene)
YES, synthesize when:
- The demo is a terminal / CLI / coding session where commands and outputs are predictable
- The user wants a polished tutorial feel (clean typography, floating pills, cursor blink)
- Install walkthroughs, setup demos, API key config,
maketargets,git cloneflows - You need tight sync with narration — every command must land on a specific beat
- You want the result reproducible (re-render gets identical pixels)
- The user's actual desktop has private apps/windows visible you'd otherwise have to crop
NO, capture a real screen when:
- The demo is a real app UI that can't be faked (Figma, Photoshop, a web app with live state, a browser flow)
- The user explicitly asked for a recording of their actual screen
- The behavior depends on timing you can't script (streaming LLM output, real network latency)
- There's a visual quirk (a cursor effect, a plugin pop-up) that only appears in the live environment
For a browser demo → playwright-recording skill, not this one.
For a real desktop → screen_recorder tool or Cap via cap_recorder.
The component — TerminalScene
Located at: remotion-composer/src/components/TerminalScene.tsx
Exported from: remotion-composer/src/components/index.ts
Wired in dispatch: remotion-composer/src/Explainer.tsx (if (cut.type === "terminal_scene"))
Props:
interface TerminalSceneProps {
title?: string; // shown in the window title bar
steps: TerminalStep[]; // the timeline
prompt?: string; // "$", ">", etc.
accentColor?: string; // pill + prompt glow
backgroundColor?: string;
}
Step kinds:
{ kind: "cmd", text: string, typeSpeed?: number, holdSeconds?: number }
{ kind: "out", text: string, holdSeconds?: number }
{ kind: "pause", seconds: number }
{ kind: "pill", text: string, color?: string, durationSeconds?: number }
cmd— prints the prompt, types the text character-by-character (typeSpeedis seconds per character, default 0.035), then holds forholdSeconds(default 0.3)out— a line of program output, reveals instantly with a short fade-inpause— dead time. Terminal holds on last visible state. USE THIS TO SYNC WITH NARRATION.pill— non-blocking floating badge (top-right). Spring-in, hold, spring-out. Does NOT advance the cursor — the next step runs in parallel.
Authoring pattern
Author a new scene by adding a cut to build_composition.py (or your equivalent props builder):
install_steps = [
{"kind": "pause", "seconds": 7.0}, # wait for intro narration
{"kind": "cmd", "text": "git clone https://github.com/calesthio/OpenMontage.git",
"typeSpeed": 0.045, "holdSeconds": 0.3},
{"kind": "out", "text": "Cloning into 'OpenMontage'..."},
{"kind": "out", "text": "remote: Enumerating objects: 2847, done."},
{"kind": "pill", "text": "repo cloned", "color": "#34D399", "durationSeconds": 2.6},
{"kind": "pause", "seconds": 3.8}, # bridge to next narration cue
# ...
]
cuts.append({
"id": "install-terminal",
"type": "terminal_scene",
"terminalTitl
Câu hỏi thường gặp
Khi nào nên ghi màn hình thật thay thế?
Skill nói chỉ nên ghi trực tiếp khi đầu ra không đoán trước được, khi demo cần giao diện ứng dụng thật, hoặc khi bạn yêu cầu bản ghi thật.
Kết quả có giống bản ghi thật không?
Skill nói nó rất gần với bản ghi thật, có viền cửa sổ, con trỏ và đầu ra cuộn.
Công cụ dùng để tạo là gì?
Nó dùng framework video Remotion, với thành phần TerminalScene vẽ terminal giả.
Chi tiết
Mô tả gốc của tác giả
Synthetic terminal-style screen recording guidance for Remotion `TerminalScene`.
repo: calesthio/OpenMontage
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2692
- Giấy phép
- AGPL-3.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-asset-generation
75kGiúp agent của bạn chọn cách tạo đối tượng 3D cho một cảnh, bằng thư viện có sẵn, các tool chuyển văn bản hoặc ảnh thành 3D, và Blender để lắp ráp cuối cùng.
acestep
75kGiúp agent của bạn tạo nhạc nền, bài hát, jingle và các stem cho video bằng trình tạo nhạc mã nguồn mở ACE-Step.
agents
75kGiúp agent của bạn xây dựng trợ lý AI giọng nói bằng ElevenLabs, như bot chăm sóc khách hàng và nhân vật giọng nói tương tác.
ai-video-gen
75kGiúp agent của bạn tạo các đoạn video AI từ mô tả bằng văn bản hoặc ảnh tham khảo, chọn trong số nhiều dịch vụ tạo video.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.