cmux-capture
What it does
It captures a PNG or JPEG screenshot of a cmux window, or a short MP4 or GIF recording of an action over time. It is for people who need to show what the app looks like right now.
When to use it
- ✓When you want a screenshot of a cmux window for a pull request or bug report.
- ✓When a change is visual and a reviewer needs evidence rather than a description.
- ✓When a drag or animation is easier to show as a short clip.
Skill link
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-capture/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Take a screenshot of the settings sheet in cmux so I can attach it to my pull request.”
5 new skills a week. 1 minute to read.
How it works
The agent uses the cmux capture command to save an image of the app window, or to start and stop a recording. It needs no screen recording permission, and works only on cmux's own windows.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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 startis refused withconflictwhile one is running.cmux record listsays whether anything is going, andcmux record statusreports 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-captionsturns 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_effectivein--jsonif a clip looks slower than expected. - A
gifis the shape to paste into a pull request, and--gifalready picks the 8 fps and half scale that keep one small; an mp4 is sharper and needs a click to play.scripts/pr-media.pyuploads 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.
--outon a path that is not a file is refused, and so is one whose extension does not match the format:--out clip.gifneeds--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
| Reference | When to use |
|---|---|
| references/commands.md | Every flag, the response shape, the error codes, window selection, limits |
FAQ
Does it need Screen Recording permission?
No. It captures only cmux's own windows through a path that needs no extra permission.
When should I record instead of taking a screenshot?
Record when the change happens over time, such as a drag or animation. Use a screenshot for a still view.
Can I capture just part of a window?
Yes. A region option lets you capture a specific rectangle in window points.
Details
Original description by the author
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.
repo: manaflow-ai/cmux
Popularity
- GitHub stars
- 29k
- Ranking position
- #9794
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cmux-browser
29kLets your agent open websites in cmux and read, click and extract information from browser panes without taking focus from your work.
cmux-cloud-vm
29kLets your agent run commands, start coding agents and show workspaces on your cmux Cloud machines, leaving work running after panes close.
cmux-cua
29kLets your agent operate real macOS apps through the cmux Computer Use engine, reading the accessibility tree and clicking, typing and scrolling on your behalf.
cmux-custom-sidebar
29kLets your agent build a custom cmux sidebar from a plain description, showing things such as workspaces, pull requests or a clock, with live updates.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.