# cmux-cloud-vm

Gives an agent a procedure for cmux Cloud machines: run a bounded command or a detached coding agent, then read the terminal output.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 717 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-cloud-vm/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/cmux-cloud-vm

## What it does

The skill lays out how an agent should handle cmux Cloud machines: pick a target, start a command or a separate coding agent there, then show what came back. A machine terminal outlives the pane and the Mac connection, so a long build keeps going.

Start with discovery: `cmux vm --help`, `cmux auth status`, `cmux vm ls --json`, `cmux vm route --json`. Route tells you where a machine would land before anything exists, so read `would_provision` and the backend limits first. Then choose a verb: `cmux vm run` for a command with an exit code, `cmux vm agent` for a headless agent, `cmux vm dev` to set up a project layout, `cmux vm tree` and `cmux vm terminal read` to watch from a distance. A finished wait does not prove the tests passed, so check the exit result itself.

Host commands on the Mac need the desktop app, a signed-in account and its private tunnel; without all three nothing starts. Creating, forking, resetting or deleting a machine waits for your approval on that target. Account tokens stay on the host, and secrets travel through the env transfer paths rather than as command-line flags.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-cloud-vm -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-cloud-vm/SKILL.md

## When to use it
- run a long command on a remote machine and capture its exit code
- send a coding agent after a background task without babysitting a window
- read what a terminal printed while staying out of the panes
- check where a machine would be placed before creating one
- reuse an existing machine instead of spinning up another

## Example prompts
- Check `cmux vm ls --json` and tell me which machine already has a workspace for this task.
- Run `npm test` on `--machine <id>` and give me the exit code.
- Send a codex agent after this task with `--no-open` and leave it running.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 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
