synthetic-screen-recording
できること
このスキルは、TerminalSceneコンポーネントで偽のターミナル録画を作るべき場合と、実際の画面を録画すべき場合を示します。きれいで予測できるターミナル動画が欲しいソフトウェアのデモ制作者向けです。
使う場面
- ✓コマンドと出力が正確に分かっている、コマンドラインツールのデモが欲しいとき。
- ✓実際のデスクトップが映らない、プライバシーに配慮した録画が必要なとき。
- ✓入力のペースとタイミングを正確に設定したいとき。
スキルのリンク
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/synthetic-screen-recording/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のコマンドラインツールのインストールと実行方法を示す、短いターミナルのデモ動画を作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、コマンドと想定される出力をあらかじめ書き出し、TerminalSceneコンポーネントが、点滅するカーソルとスクロールする出力とともに、一文字ずつ入力していきます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
代わりに、実際の画面をいつ録画すべきですか?
このスキルでは、出力が予測できない場合、デモに実際のアプリの画面が必要な場合、または実際の録画を依頼された場合にだけ録画するよう勧めています。
結果は本物の録画に見えますか?
このスキルでは、ウィンドウの端、カーソル、スクロールする出力があり、本物の録画にとても近く見えると説明しています。
作るのに使うツールは何ですか?
Remotionの動画フレームワークを使い、偽のターミナルを描くTerminalSceneコンポーネントがあります。
詳細
作者による元の説明
Synthetic terminal-style screen recording guidance for Remotion `TerminalScene`.
repo: calesthio/OpenMontage
人気
- GitHubのスター
- 75k
- ランキング
- #2692
- ライセンス
- AGPL-3.0
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
3d-asset-generation
75kシーンに使う3Dオブジェクトの作り方を、カタログ、テキストや画像から3Dへのツール、最終的な組み立てのための Blender の中から選ぶよう、エージェントを支援します。
acestep
75k動画用の背景音楽、曲、ジングル、ステムを、オープンな ACE-Step の音楽生成ツールを使って作るよう、エージェントを支援します。
agents
75kElevenLabs を使って、顧客対応のボットやインタラクティブな音声キャラクターなど、音声のAIアシスタントを作ります。
ai-video-gen
75kテキストの説明や参考画像から、いくつかの動画生成サービスの中から選んで、AI の動画クリップを生成するよう、エージェントを支援します。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。