# cmux-capture

Capture a cmux window as an image or video from the CLI. Use it to show a visual change in a pull request or attach evidence to a bug report.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 383 installs · ★ 28491
- Author: manaflow-ai
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/manaflow-ai/cmux/tree/HEAD/skills/cmux-capture/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/cmux-capture

## What it does

The skill uses `cmux shot` for a still image and `cmux record` for motion such as a drag or animation. You can set a window region, choose PNG, JPEG, MP4, or GIF, and add captions to a recording. Both commands can return their response as `--json`.

A recording ends when it reaches `--max-seconds`, which defaults to 15 and cannot exceed 120. Only one recording can run at a time, so another `record start` is rejected until it stops. Capture is limited to cmux windows; another app in front of one will not appear in the video.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-capture -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cmux-capture/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cmux-capture/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-capture -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cmux-capture/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-capture -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cmux-capture/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install manaflow-ai/cmux cmux-capture
```

2. **Manually: put the files in place**
- File: `.github/skills/cmux-capture/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-capture -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/manaflow-ai/cmux --path skills/cmux-capture
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cmux-capture/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-capture -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/manaflow-ai/cmux/tree/HEAD/skills/cmux-capture/SKILL.md

## When to use it
- capture a cmux window for a pull request
- record a drag or animation as a GIF
- save a selected window region
- caption moments in a screen recording

## Example prompts
- Capture the current cmux window for a pull request.
- Record the sidebar being dragged as a GIF and caption the key moment.
- Capture region `0,0,420,900` and save the sidebar's final state.

## Similar
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1200000 installs
- [hyperframes-cli](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes-cli.md) — skill · 1300000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs

From the same set: [manaflow-ai/cmux](https://affpapa.org/en/nevibecode/by/manaflow-ai/cmux.md) — 24 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
