rozi-visual
/rozi-visual
Perform live visual reviews while developing rozi: launch preview panes, inspect screenshots, record flows, and export videos. Use when behavior depends on a real PTY, subprocess timing, terminal behavior, rozi chrome, pane movement, or live interaction. Use tui-lipan-visual for deterministic/headless rendering and tui-lipan-app-builder for component state, messages, props, and wiring.
- Author
- tui-lipan ↗
- Repository
- rozi ↗
- Licence
- MPL-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MPL-2.0, otwarta.
What it does and when to use it
Perform live visual reviews while developing rozi: launch preview panes, inspect screenshots, record flows, and export videos. Use when behavior depends on a real PTY, subprocess timing, terminal behavior, rozi chrome, pane movement, or live interaction. Use tui-lipan-visual for deterministic/headless rendering and tui-lipan-app-builder for component state, messages, props, and wiring.
Original author description
Perform live visual reviews while developing rozi: launch preview panes, inspect screenshots, record flows, and export videos. Use when behavior depends on a real PTY, subprocess timing, terminal behavior, rozi chrome, pane movement, or live interaction. Use tui-lipan-visual for deterministic/headless rendering and tui-lipan-app-builder for component state, messages, props, and wiring.
How it works
- Sized host windows and graphics checks
- Read the current control contract
- Show a running application
- Drive and inspect a flow
- Record real motion
- Deliver a playable preview
SKILL.md preview
--- name: rozi-visual description: >- Perform live visual reviews while developing rozi: launch preview panes, inspect screenshots, record flows, and export videos. Use when behavior depends on a real PTY, subprocess timing, terminal behavior, rozi chrome, pane movement, or live interaction. Use tui-lipan-visual for deterministic/headless rendering and tui-lipan-app-builder for component state, messages, props, and wiring. --- # rozi visual This is a repository-local workflow skill for contributors developing rozi. It is not installed by `rozi skill install`; that command manages the single user-facing `rozi` control skill. Use `rozi-visual` when the question depends on a real PTY, subprocess timing, terminal behavior, rozi chrome, pane movement, or live interaction. Use `tui-lipan-visual` for deterministic or headless tui-lipan rendering. Use `tui-lipan-app-builder` for component state, messages, props, and application wiring. ## Sized host windows and graphics checks For a separate Ghostty test window or a controlled terminal benchmark, use the installed `ghostty-window-lab` skill at `~/.codex/skills/ghostty-window-lab/SKILL.md`. Its helper applies floating geometry before mapping, isolates XDG directories, verifies actual dimensions and closes only the owned process. Do not launch fullscreen and shrink afterward for a comparison. If the shared skill is unavailable, preserve those invariants in the local lab. For Kitty patches, host image overlays, reconnects or native/composed comparisons, use `kitty-rendering-validation` at `~/.codex/skills/kitty-rendering-validation/SKILL.md`. It retains the fixture, outgoing-command checks, lifecycle negative controls and measurement methods. A Rozi PNG capture alone does not prove native forwarding. Verify actual host commands and a physical screenshot. Use a release binary for performance measurements and stop compilation before sampling. Stop an owned detached session before closing its Ghostty window. ## Read the current control contract Read `rozi skill print` from the executable you are about to control. Its embedded contract is authoritative for that binary's endpoint, targeting, input, and ownership rules. This does not require the user-facing `rozi` skill to be installed or discovered by the agent. Use the same executable throughout the workflow. When testing the checkout, substitute `./target/debug/rozi` for every leading `rozi` command below, including `skill print` and `api describe`. Do not mix it with another `rozi` found on `PATH`. Use an absolute executable path if you change directories. Check `rozi api describe` for capabilities, then select the target according to that contract. Inspect live pane IDs and layout before starting the review. The commands below illustrate the workflow; the printed contract determines which endpoint and flags the binary supports. ## Show a running application Build the requested executable first. Launch it directly with `--argv` rather than typing a shell command into an existing pane: ```sh rozi split --cwd /absolute/project --title 'Preview' --argv /absolute/project/target/debug/app ``` Save `data.id` from the JSON response. `pty_ready:false` means the pane is starting, not that creation failed; do not split again. Wait for a recognizable screen: ```sh rozi capture-pane --target <ID> --wait-for 'Ready' --timeout 30s --format json rozi capture-pane --target <ID> --render png --output /absolute/scratch/preview.png ``` Inspect the saved PNG with the image viewer. Text is useful for readiness and output, but does not prove colors, borders, clipping, or layering. `capture-ui --render png --output ...` includes rozi's chrome and visible overlays; a pane capture shows just that terminal application. If the user wants to see the preview, use `pane reveal --target <ID>` in a Scrollable layout to show it without changing focus. Use `split --focus` only when activating the preview is within the request, and only through a UI endpoint. `--session NAME split --focus` cannot work. Leave an approval preview running and tell the user its controls. Close only your own temporary panes when they are no longer needed. ## Drive and inspect a flow Inspect the target before input, then wait on its response: ```sh rozi send-keys --target <ID> m --settle 500ms --timeout 10s --capture text rozi capture-pane --target <ID> --render png --output /absolute/scratch/open.png ``` An animation with a continuously updating clock may never settle. Use recognizable text for readiness and a recording for motion. A settled screenshot establishes the final screen, not whether opening or closing was smooth. Re-read IDs after a session or layout change. ## Record real motion For a requested video or recording, record only the target needed for that task. Use absolute scratch paths and a bounded duration. Set `--max-fps 60` for short animation reviews; the cap limits capture frequency and cannot create frames that the application did not draw. ```sh rozi record start --target <ID> --output /absolute/scratch/demo.rozirec --max-fps 60 --duration 30s rozi record mark 'opening' --target <ID> rozi send-keys --target <ID> d rozi record stop --target <ID> ``` For chrome, pane movement, or overlays owned by rozi, use `record start ui` and `record stop --ui` instead. A pane recording cannot show rozi's pane closing animation. Avoid recording unrelated panes or personal screens. Verify completion with `record list`; do not stop another recording. Detached recording paths refer to the session host; copy a remote file locally before export. Live recording follows actual elapsed time, so delayed commands and subprocess output are included. It is not a deterministic substitute for framework animation tests. ## Deliver a playable preview Stop recording before export. Keep `.rozirec` as the source. Export a cast when text replay is enough; it replaces displayed images with their terminal half-block approximations: ```sh rozi record export /absolute/scratch/demo.rozirec --to cast /absolute/scratch/demo.cast ``` For a video, use `video-frames` to keep a constant canvas even when the terminal resized: ```sh rozi record export /absolute/scratch/demo.rozirec --to video-frames /absolute/scratch/frames ffmpeg -f concat -safe 0 -i /absolute/scratch/frames/frames.ffconcat \ -vf 'pad=ceil(iw/2)*2:ceil(ih/2)*2' -c:v libx264 -bf 0 -pix_fmt yuv420p -fps_mode vfr \ -movflags +faststart /absolute/scratch/demo.mp4 ``` `video-frames` pads each frame to the maximum recorded width and height without stretching its content. It renders the native frame before padding its pixels, preserving clipping at terminal edges. `png-frames` preserves each frame's native dimensions. Both emit `frames.ffconcat` with actual durations: use that listing, not a guessed `-framerate`, to preserve motion and pauses. Check `rozi record --help` before using `video-frames` on an older binary. Inspect frames at entry, exit, and the final state before handing over the artifact. Report truncation or dropped changes if present. Delete temporary frame directories you created after encoding; keep requested deliverables outside the repository. Repository documentation captures must follow `tools/docs-captures/README.md` and use an isolated session.
Versions
The database has no other skills named rozi-visual.
Database snapshot: 13.11.2026 · package version 086a9df5fad2 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95rozi
Inspect and control Rozi terminal panes and sessions. Use when the user asks to use Rozi, or requests a live terminal preview in a verified Rozi pane. UI pane control requires ROZI=1 and a non-empty ROZI_SOCKET. - 100tui-lipan-app-builder
Build and refactor stateful end-user applications with tui-lipan in any repository. Use when a task needs Component/State/Message structure, props, callback boundaries, focus routing, async commands, reusable shells, app-specific styled widget helpers, app-author docs/examples,… - 100terminal-control
Drive and verify terminal applications with the termctrl CLI in a real PTY - read visible screens, run named live sessions, send typed keyboard input, wait for text, save evidence, record timelines, and export edited videos. Use when an agent must operate or test a TUI, REPL,… - 100tui-debug-in-pane
Use when you need to reproduce or debug TUI rendering issues (garbled output, broken streaming, layout corruption) by running ralph in a tmux split pane and capturing live output. - 100tui-testing
End-user proof for terminal UIs (Ink, blessed, textual, ratatui, curses): drive the real TUI in a real PTY as the end user with observe-then-act discipline, matched-assertion waits, three-facet evidence (screen + disk + logs), and pixel proof for visual claims. Codifies the… - 100doncheli-visual-test
Run visual regression tests by comparing UI screenshots against baselines. Activate when user mentions "visual test", "screenshot", "UI regression", "visual diff", "pixel diff", "visual snapshot".