muxy-cli
Muxy CLI Guide
The muxy command lets an agent or script control a running Muxy workspace: open projects, switch projects/worktrees/tabs, create split panes, send keystrokes to a pane, and read back what a pane is showing. You drive the same workspace the user sees — treat it as a shared surface, not a private scratchpad.
This skill is the usage layer — when to reach for the CLI and how to use it safely. For the full command reference, output formats, and security model, read the docs page (append /plain for raw Markdown):
The LLM-friendly index lists every Muxy docs page: https://muxy.app/llms.txt.
When to use it
- You are running inside a Muxy pane and want to spawn a sibling pane (a dev server, a test watcher, a logs tail) instead of blocking your own terminal.
muxy split-right/split-downstart from your pane automatically — Muxy exportsMUXY_PANE_IDinto every pane and the CLI reads it. - You need to orchestrate work across panes — start a process in one pane, then later send it input or read its output by pane ID.
- You are scripting project setup — open a folder, switch to the right worktree, lay out a known split arrangement.
Don't use it to do work a plain shell command can do in your own pane. Splitting, sending keys, and reading screens are for when the work genuinely belongs in another pane the user is watching.