跳到正文
cccskills
免费在 GitHub 公开

cmux-capture

Capture cmux windows as screenshots or video clips from the CLI. Create visual evidence for pull requests and bug reports, with region selection and captions to explain drags, animations, or layout changes.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Screenshot or record a cmux window from the CLI, for a pull request, a bug report, or to see what the app actually looks like right now. Use when a change is visual, when a drag or an animation cannot be described in text, or when a reviewer needs evidence rather than a claim.

查看安装方法

适用场景

  • Attaching screenshots of visual changes to a pull request
  • Recording drags and animations for a bug report
  • Capturing a specific window region with explanatory captions
  • Saving visual evidence during a CI run

包含的文件(2)

  • SKILL.md3.9 KB
  • references/commands.md6.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Screenshots and clips of cmux

cmux shot writes a png or a jpeg of a cmux window. cmux record writes an mp4 or a gif of one. Both capture only cmux's own windows, both go through the same permission-free path, and both work in a release build and inside CI. No Screen Recording permission is involved and none is ever requested.

cmux shot --label settings-sheet                  # png of the frontmost window
cmux shot --jpg --max-width 1200 --out ~/before.jpg
cmux record start --gif --max-seconds 8 --label sidebar-drag
cmux record note "dragging the workspace"         # caption, drawn into the clip
cmux record stop

shot prints <width>x<height> <bytes> <path>. record prints <id> <state> <frames> <path>. Both take --json for the whole response.

Which one

Take a screenshot when the thing is still: a sheet, a menu, a layout, a label, a color. Record when the thing is a change over time: a drag, an animation, a reorder, two views settling in an order, a spinner that should stop. A screenshot of a drag shows nothing, and a clip of a static sheet is a large file a reviewer has to click to play.

Working from a clip to a still

--region x,y,w,h is the same rectangle in both commands, in window points from the window's top left. So a detail noticed in a clip can be shot with the same four numbers:

cmux record start --region 0,0,420,900 --max-seconds 6   # watch the sidebar
cmux shot --region 0,0,420,900 --label sidebar-final     # keep the end state

Notes for an agent recording its own cmux

  • A recording stops itself at --max-seconds (default 15, maximum 120), so a clip is never left running by an agent that stops paying attention. Set it above the time the actions take or the clip ends early.
  • One at a time. A second record start is refused with conflict while one is running. cmux record list says whether anything is going, and cmux record status reports the frame count, with the effective frame rate in --json.
  • Caption as you go. cmux record note "<text>" draws text into the clip from that moment on. A clip has no step list beside it, so one note before each thing a reviewer should notice is worth more than a longer clip. --no-captions turns them off.
  • The clip is only cmux. Another app in front of the cmux window does not appear in the frames, so a capture does not have to own the screen.
  • Frames are timed by when they were captured, so a clip plays at the speed things happened even when the sampler fell behind the requested rate. Check fps_effective in --json if a clip looks slower than expected.
  • A gif is the shape to paste into a pull request, and --gif already picks the 8 fps and half scale that keep one small; an mp4 is sharper and needs a click to play. scripts/pr-media.py uploads either and converts an mp4 to a gif on the way.
  • Neither command replaces a directory or destroys an existing file before the new one is closed. --out on a path that is not a file is refused, and so is one whose extension does not match the format: --out clip.gif needs --gif.

In a CI dogfood tour

A dogfood scenario records with a record step wrapping the steps that matter, and captions with note, rather than by calling the CLI. The step table and the options are in cmux-testing/references/dogfood-scenarios.md.

Deep-dive references

ReferenceWhen to use
references/commands.mdEvery flag, the response shape, the error codes, window selection, limits

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

cmux

免费

Organize cmux windows, workspaces, and split panes so an agent can target the right terminal reliably. Create terminals with startup commands, move or reorder panels, change focus, and flash a panel to identify it.

中文简介正在准备中。当前显示英语简介。

  • Arrange terminals for several tasks
  • Start a development command in a new split
  • Move or reorder panels
manaflow-ai/cmux2.8万2026年10月22日 更新

Guide substantial Swift changes in cmux with rules for package boundaries, dependency direction, state management, concurrency, and API documentation. Structure code so public package types can be tested without launching the app.

中文简介正在准备中。当前显示英语简介。

  • Extracting a large app feature into Swift Packages
  • Reviewing dependencies between UI, domain models, and services
  • Restructuring state management and Swift 6 concurrency
manaflow-ai/cmux2.8万2026年10月22日 更新

Guide cmux backend changes with consistent rules for Effect, a TypeScript library for structured error handling. Covers Cloud VM state, database migrations, provider integrations, and authentication and payment checks so changes follow the intended architecture.

中文简介正在准备中。当前显示英语简介。

  • Implementing API error handling
  • Updating Cloud VM lifecycle logic
  • Preparing database migrations
manaflow-ai/cmux2.8万2026年10月22日 更新

Maintain cmux billing code with guidance on Stripe checkout, pricing, subscriptions, and access rights. It maps the relevant services and provides workflows for testing purchases, handling payment events, and rolling out billing changes.

中文简介正在准备中。当前显示英语简介。

  • Debugging checkout and subscription records
  • Updating prices and plan switching
  • Checking paid access and Cloud VM limits
manaflow-ai/cmux2.8万2026年10月22日 更新

Automate browsing in cmux panels without taking focus away from current work. Target a specific panel to open pages, fill forms, click controls, wait for page changes, extract content, and inspect download history.

中文简介正在准备中。当前显示英语简介。

  • Open and inspect sites without changing focus
  • Fill forms and check the result
  • Extract page text or HTML
manaflow-ai/cmux2.8万2026年10月22日 更新

Run commands and coding agents on existing cmux Cloud machines, monitor work that continues after disconnection, and present results through workspaces or service URLs. The skill guides machine selection, background execution, and result verification.

中文简介正在准备中。当前显示英语简介。

  • Run long commands that continue after disconnection
  • Assign coding work to a remote agent
  • Monitor remote work without opening panes
manaflow-ai/cmux2.8万2026年10月22日 更新

查看 manaflow-ai 的全部技能

报告此技能的问题