demostage

Captures terminal sessions and compiles them into reproducible gif and mp4 demos.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/UniverLab/univerlab --skill demostage-univerlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: demostage
Source: https://github.com/UniverLab/univerlab/tree/main/public/.well-known/agent-skills/demostage
Command: npx skills add https://github.com/UniverLab/univerlab --skill demostage-univerlab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Terminal demos are usually one-off screen recordings that cannot be versioned, edited, or reproduced. DemoStage turns demos into code: it captures a session as events, normalizes them into a clean demo.toml score, replays that score deterministically, and exports the result to gif or mp4. ## Core Features & Use Cases - Capture and normalize: Record an interactive PTY session into a raw macro, then normalize human imperfections into a clean demo.toml score. - Deterministic replay and export: Execute the score with demo record to produce a .rec file, then compile it to gif or mp4 with demo export, with auto-provisioned ffmpeg and Chromium. - Multi-pane compositions: Combine terminal, browser, and PDF panes in scenes with layout strings, captions, scrolling, and focus control. - Use Case: Author a demo.toml by hand that types cargo build --release, waits for "Finished", then reveals a browser pane showing the rendered PDF, and export a reproducible mp4 for your README. ## Quick Start Ask the agent to capture a terminal session with demo capture, then record the resulting demo.toml and export it as a gif.

Frequently Asked Questions about demostage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record a terminal demo as a gif?▼

Run demo capture to record an interactive PTY session, which produces a normalized demo.toml score. Then run demo record to execute the score into a .rec file, and demo export gif to render the final animation.

How do I create a terminal demo without recording live?▼

Author a demo.toml file by hand defining layout panes and timeline actions such as type, keypress, wait, and wait_for_stdout. Then run demo record followed by demo export to produce the gif or mp4 without any live capture.

Can I combine a terminal and browser in one demo recording?▼

Yes, add a browser pane to the layout with a url pointing to a PDF or web page, then use focus and scroll timeline actions to control it. The gif or mp4 export composites both panes, and Chromium is auto-fetched on first use.

Does demo capture record passwords typed during a session?▼

Input typed at password or passphrase prompts is forwarded but not recorded, using a heuristic detection. However, secrets printed to stdout by programs are not redacted, so review the macro and score before sharing.

Why does demo export fail or produce nothing?▼

Export plays back a .rec recording and does not execute the score, so you must run demo record first. For mp4, ffmpeg is auto-fetched; if the download is blocked, install it via your package manager and check demo doctor.