cmux-browser

Automate browser navigation, DOM interaction, and page inspection via cmux browser commands.

5|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/lauhon/pi --skill cmux-browser-lauhon
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cmux-browser
Source: https://github.com/lauhon/pi/tree/main/skills/cmux-browser
Command: npx skills add https://github.com/lauhon/pi --skill cmux-browser-lauhon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually testing web pages, filling forms, and extracting data from websites is repetitive and error-prone. This Skill lets you drive a real browser through cmux CLI commands to navigate pages, interact with DOM elements, capture screenshots, and extract information programmatically. ## Core Features & Use Cases - Navigation & Waiting: Open URLs, manage tabs, and block until load states, selectors, text, or custom JavaScript conditions are met. - DOM Interaction & Inspection: Click, type, fill forms, scroll, take snapshots and screenshots, and query element state with getters, finders, and boolean checks. - State & Session Management: Read and write cookies, local/session storage, save and restore full browser state, and monitor console logs and page errors. - Use Case: Automate an end-to-end checkout test by opening the store page, filling the email and payment form, clicking submit, waiting for the confirmation text, and capturing a screenshot for verification. ## Quick Start Ask the AI to open a website with cmux browser, fill in a login form, submit it, and take a screenshot of the resulting page.

Frequently Asked Questions about cmux-browser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate browser actions with cmux?▼

Open a URL with cmux browser open, find the target with cmux browser identify, then run commands against surface:N such as click, fill, and snapshot. Use --snapshot-after on mutating actions to verify results immediately.

How to fill and submit a web form from the command line?▼

Use cmux browser surface:N fill with a CSS selector and --text value for each field, then click the submit button with --snapshot-after. Confirm success with cmux browser surface:N wait --text on the expected confirmation message.

Can cmux browser wait for dynamic page content to load?▼

Yes, the wait command blocks until a condition is met, including load state, CSS selector visibility, specific text, URL patterns, or arbitrary JavaScript functions. Set --timeout-ms to control how long it waits before failing.

Does cmux browser support cookies and local storage?▼

Yes, it provides commands to get, set, and clear cookies, as well as read and write local and session storage. You can also save the full browser state to a JSON file and restore it later.

Why is my cmux browser click or selector not working?▼

Run console list and errors list to check for page errors, then take a screenshot and an interactive snapshot to verify the element exists and is visible. Use the highlight command to confirm your selector targets the right element.