- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zenbu-labs/terminal-browser --skill verify -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zenbu-labs/terminal-browser --skill verify -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zenbu-labs/terminal-browser --skill verify -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add zenbu-labs/terminal-browser --skill verify -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/zenbu-labs/terminal-browser/tree/HEAD/.claude/skills/verifyTừ nhà phát hành
Apps here render via the kitty graphics protocol, so they can be verified
without a real terminal. Every verification is recorded: the harness in
tools/verify-recorder/ captures every frame the app emits, overlays your
inputs (click ripples, caption bar), encodes a video, and generates a summary
page. Do not hand-roll one-off pty scripts that only dump PNGs.
Write a driver script (in /tmp is fine) using the checked-in package:
import sys
sys.path.insert(0, "<repo>/tools/verify-recorder")
from driver import Driver
from recorder import Recorder
rec = Recorder("wheel-pan", title="Wheel pan keeps cursor anchored")
d = Driver(["<repo>/engine/target/debug/typing"], rec,
cols=120, rows=32, xpixel=1200, ypixel=800)
d.pump(3.0) # pump between actions so frames arrive
rec.check("app painted", d.frame_size is not None, f"{d.frame_size}")
w, h = d.frame_size # REAL framebuffer size — always use this
d.text("hello", "type into editor") # every input takes a description
d.click(w // 2, h // 3, "select the note") # mouse coords are pixels (1016 mode)
d.wheel(w // 2, h // 2, down=True, n=3, description="scroll content")
d.pump(1.0)
rec.check("scroll redrew", len(rec.frames) > 40, f"{len(rec.frames)} frames")
rec.still("after-scroll") # named snapshot for the summary page
d.stop("ctrl+c") # or "ctrl+q" depending on the app
rec.finish() # composites markers, encodes mp4, writes summary
Driver spawns the argv in a pty (TERM=xterm-kitty, TIOCSWINSZ with pixel
dims, answers the \x1b[?1016$p mouse probe), decodes kitty a=T,f=32,o=z
frames, and feeds them to the recorder. Node apps: spawn
["npx", "tsx", "src/main.tsx", ...] with cwd= the package dir (tsx
resolves tsconfig from cwd; a wrong cwd silently drops jsx config).key("enter"/"esc"/"ctrl+q"/"super+shift+z"), text,
click, press/drag/release (a drag needs all three — click sends
press+release together), move, wheel. Descriptions become the video
caption bar and the summary timeline — write what the step is testing.rec.check(name, ok, detail) for every assertion; rec.still(name) to pin
the current frame into the summary.recorder.png_read(rec.frames[-1]["path"])) — the summary shows pass/fail.rec.finish() prints the run dir and summary path. Always end by opening
the summary in a split:
pixel open file:///tmp/verify-runs/<name>-<stamp>/summary.html
That page is the deliverable: what was tested (clickable timeline that seeks the video), the checks table, the stills, and the video of the whole run. Watch out for FAIL rows before declaring the verification passed.
d.frame_size, never from the requested pixels, or clicks land ~5% off.d.stop does) or the exit is never observed.d.key("esc") handles it); a bare \x1b makes
the app swallow the next escape sequence as literal text.move if
the screenshot should show hover styling./tmp/verify-runs/<name>-<stamp>/: frames/,
events.jsonl, run.json, verification.mp4, summary.html.Drive an engine app headlessly in a pty, record a video of the whole verification, and open a summary page (video + timeline + checks) with pixel open.
---name: verifydescription: Drive an engine app headlessly in a pty, record a video of the whole verification, and open a summary page…---# .claude/skills/verify/SKILL.mdCâu hỏi thường gặp
Tải .claude/skills/verify/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/zenbu-labs/terminal-browser.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.