cmux
Skill1.1k starsChanged 12 months agoMITView on GitHub
Manage cloud development sandboxes with cmux. Create, sync, and access remote VMs. Includes browser automation via Chrome CDP for scraping, testing, and web interaction.
- Installs packages
17 other projects use a version of this.
Adopted by
Most recently taken up by
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- davidondrej/skillstheir own version, first seen Oct 3, 2026
- manaflow-ai/cmuxtheir own version, first seen Sep 27, 2026
- will-ness-ai/skillstheir own version, first seen Aug 13, 2026
- derickson/claude-skillstheir own version, first seen Jul 28, 2026
- kellykampen/agent-skillstheir own version, first seen Jul 28, 2026
Used with
Projects with it also use cmux-browser, cmux-markdown and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
manaflow-aiSkillcmux-browser
Automate the browser inside cmux. Use for cmux browser, browser surface, webview, current workspace browser, snapshot refs, DOM actions, waits, screenshots, cookies, storage, tabs, downloads, console, errors, and browser session state.
Also in 4 projects that use this
basicmachines-coSkillcmux-markdown
Open markdown files in a formatted viewer panel with live reload. Use when you need to display plans, documentation, or notes alongside the terminal with rich rendering (headings, code blocks, tables, lists).
Also in 3 projects that use this
basicmachines-coSkillcmux-settings
View and edit cmux settings in ~/.config/cmux/cmux.json. Use when the user wants to change cmux preferences (appearance, sidebar, notifications, automation, browser, shortcuts), set a value by JSON path, validate the file, open it in an editor, or look up which keys cmux recognizes. Triggers on '/cmux-settings', 'change cmux setting', 'set <something> in cmux', 'cmux config', 'cmux.json', or 'rebind a cmux shortcut'.
Also in 3 projects that use this
matyasstochSkilldistribute-skill-to-all-agents
Distribute a newly-created agent skill across all 4 canonical skill folders on a local machine so Claude Code, Codex/OpenAI Agents, Pi Agent, and Hermes all see it. Use whenever the user says "give this skill to all agents", "distribute this skill", "sync skills across agents", or after creating a new skill that should be globally available. Covers the .claude/skills symlink and the ~/.pi/agent/skills (NOT ~/.pi/skills) trap.
Also in 3 projects that use this
manaflow-aiSkillcmux-workspace
Work inside the current cmux workspace and terminal. Use for cmux workspace, current workspace, caller surface, panes, surfaces, tagged reloads, socket targeting, and non-interfering cmux automation.
Also in 3 projects that use this
matyasstochSkilleffective-agent-skills
How to write effective agent skills — what to do, what not to do, anatomy, progressive disclosure, design patterns, anti-patterns, testing, security. Read this whenever a skill (Claude Skill, Agent Skill, SKILL.md) is being created, edited, reviewed, or debugged. Use when the user says "create a skill", "new skill", "update this skill", "improve a skill", "why isn't my skill triggering", or anything else involving authoring or editing SKILL.md files.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- manaflow-ai/cmux★ 28ksame name
- davidondrej/skills★ 4.1ksame name
- basicmachines-co/basic-memory★ 4.1ksame name
- glebis/claude-skills★ 387same name
- will-ness-ai/skills★ 168same name
- matyasstoch/david-skills★ 59same name
- nikships/skills-registry★ 22same name
- attentiondotnet/davidondrej-skills★ 11same name
- boundsj/agent-skills★ 2same name
- goddaehee/cmux-claude-skill★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 0 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 196
When a dev server runs in the sandbox (e.g., Vite on port 5173, Next.js on port 3000), E2B creates publicly accessible URLs like …
- Very specific: line 203
Only VSCode URLs (cmux code <id>) and VNC URLs (cmux vnc <id>) should be shared — these have proper token auth
- Very specific: line 219
Run cmux login first if not authenticated
- Very specific: line 220
Use --json flag for machine-readable output
- Very specific: line 221
Use -t <team> to override default team
- Very specific: line 222
Use -v for verbose output
- Very specific: line 223
Always run snapshot first to see available elements before browser automation
- Very specific: line 224
Use element refs (@e1) for reliability over CSS selectors
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cmux - Cloud Sandboxes for Development
cmux manages cloud sandboxes for development. Use these commands to create, manage, and access remote development environments with built-in browser automation.
Installation
npm install -g cmuxQuick Start
cmux login # Authenticate (opens browser)
cmux start ./my-project # Create sandbox, upload directory → returns ID
cmux start . # Or use current directory
cmux code <id> # Open VS Code
cmux pty <id> # Open terminal session
cmux upload <id> ./my-project # Upload files/directories to sandbox
cmux download <id> ./output # Download files from sandbox
cmux computer screenshot <id> # Take browser screenshot
cmux stop <id> # Stop sandbox
cmux delete <id> # Delete sandbox
cmux ls # List all sandboxesPreferred: Always use
cmux start .orcmux start <local-path>to sync your local directory to a cloud sandbox. This is the recommended workflow over cloning from a git repo.
Commands
Authentication
cmux login # Login (opens browser)
cmux logout # Logout and clear credentials
cmux whoami # Show current user and teamSandbox Lifecycle
# Preferred: local-to-cloud (syncs your local directory to the sandbox)
cmux start . # Create sandbox from current directory (recommended)
cmux start ./my-project # Create sandbox from a specific local directory
cmux start -o . # Create from local dir and open VS Code immediately
# Alternative: clone from git
cmux start --git user/repo # Clone a git repo into sandbox
cmux start --docker # Create sandbox with Docker support
cmux ls # List all sandboxes
cmux status <id> # Show sandbox details and URLs
cmux stop <id> # Stop sandbox
cmux extend <id> # Extend sandbox timeout
cmux delete <id> # Delete sandbox permanently
cmux templates # List available templatesAccess Sandbox
cmux code <id> # Open VS Code in browser
cmux vnc <id> # Open VNC desktop in browser
cmux pty <id> # Interactive terminal sessionWork with Sandbox
cmux pty <id> # Interactive terminal session (use this to run commands)
cmux exec <id> <command> # Execute a one-off commandImportant: Prefer
cmux ptyfor interactive work. Usecmux execonly for quick one-off commands.
File Transfer
Upload and download files or directories between local machine and sandbox.
# Upload (local → sandbox)
cmux upload <id> # Upload current dir to /home/user/workspace
cmux upload <id> ./my-project # Upload directory to workspace
cmux upload <id> ./config.json # Upload single file to workspace
cmux upload <id> . -r /home/user/app # Upload to specific remote path
cmux upload <id> . --watch # Watch and re-upload on changes
cmux upload <id> . --delete # Delete remote files not present locally
cmux upload <id> . -e "*.log" # Exclude patterns
# Download (sandbox → local)
cmux download <id> # Download workspace to current dir
cmux download <id> ./output # Download workspace to ./output
cmux download <id> . -r /home/user/app # Download from specific remote pathBrowser Automation (cmux computer)
Control Chrome browser via CDP in the sandbox's VNC desktop.
Navigation
cmux computer open <id> <url> # Navigate to URL
cmux computer back <id> # Navigate back
cmux computer forward <id> # Navigate forward
cmux computer reload <id> # Reload page
cmux computer url <id> # Get current URL
cmux computer title <id> # Get page titleInspect Page
cmux computer snapshot <id> # Get accessibility tree with element refs (@e1, @e2...)
cmux computer screenshot <id> # Take screenshot (base64 to stdout)
cmux computer screenshot <id> out.png # Save screenshot to fileInteract with Elements
cmux computer click <id> <selector> # Click element (@e1 or CSS selector)
cmux computer type <id> "text" # Type into focused element
cmux computer fill <id> <sel> "value" # Clear input and fill with value
cmux computer press <id> <key> # Press key (Enter, Tab, Escape, etc.)
cmux computer hover <id> <selector> # Hover over element
cmux computer scroll <id> [direction] # Scroll page (up/down/left/right)
cmux computer wait <id> <selector> # Wait for element to appearElement Selectors
Two ways to select elements:
- Element refs from snapshot:
@e1,@e2,@e3... - CSS selectors:
#id,.class,button[type="submit"]
Sandbox IDs
Sandbox IDs look like cmux_abc12345. Use the full ID when running commands. Get IDs from cmux ls or cmux start output.
Common Workflows
Create and develop in a sandbox (preferred: local-to-cloud)
cmux start ./my-project # Creates sandbox, uploads files
cmux code cmux_abc123 # Open VS Code
cmux pty cmux_abc123 # Open terminal to run commands (e.g. npm install && npm run dev)File transfer workflow
cmux upload cmux_abc123 ./my-project # Push local files to sandbox
# ... do work in sandbox ...
cmux download cmux_abc123 ./output # Pull files from sandbox to localBrowser automation: Login to a website
cmux computer open cmux_abc123 "https://example.com/login"
cmux computer snapshot cmux_abc123
# Output: @e1 [input] Email, @e2 [input] Password, @e3 [button] Sign In
cmux computer fill cmux_abc123 @e1 "user@example.com"
cmux computer fill cmux_abc123 @e2 "password123"
cmux computer click cmux_abc123 @e3
cmux computer screenshot cmux_abc123 result.pngBrowser automation: Scrape data
cmux computer open cmux_abc123 "https://example.com/data"
cmux computer snapshot cmux_abc123 # Get structured accessibility tree
cmux computer screenshot cmux_abc123 # Visual captureClean up
cmux stop cmux_abc123 # Stop (can restart later)
cmux delete cmux_abc123 # Delete permanentlySecurity: Dev Server URLs
CRITICAL: NEVER share or output raw E2B port-forwarded URLs.
When a dev server runs in the sandbox (e.g., Vite on port 5173, Next.js on port 3000), E2B creates publicly accessible URLs like https://5173-xxx.e2b.app. These URLs have NO authentication — anyone with the link can access the running application.
Rules:
- NEVER output URLs like
https://5173-xxx.e2b.app,https://3000-xxx.e2b.app, or anyhttps://<port>-xxx.e2b.appURL - NEVER construct or guess E2B port URLs from sandbox metadata
- ALWAYS tell the user to view dev servers through VNC:
cmux vnc <id> - VNC is protected by token authentication (
?tkn=) and is the only safe way to view dev server output - Only VSCode URLs (
cmux code <id>) and VNC URLs (cmux vnc <id>) should be shared — these have proper token auth
When a dev server is started:
✓ Dev server running on port 5173
View it in your sandbox's VNC desktop: cmux vnc <id>
(The browser inside VNC can access http://localhost:5173)NEVER do this:
Frontend: https://5173-xxx.e2b.app ← WRONG: publicly accessible, no authTips
- Run
cmux loginfirst if not authenticated - Use
--jsonflag for machine-readable output - Use
-t <team>to override default team - Use
-vfor verbose output - Always run
snapshotfirst to see available elements before browser automation - Use element refs (
@e1) for reliability over CSS selectors
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

