cmux-browser

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

End-user browser automation with cmux. Use when you need to open sites, inspect or interact with browser surfaces, wait for page state, and extract data without stealing focus.

skills/cmux-browser/SKILL.md

Download bundle ↓
main · 6f118af13 bundle filesScanned 2026-09-15

templates/authenticated-session.sh

216 tokens · o200k_base · 733 bytes

Source excerpt starting at line 1.
#!/usr/bin/env bashset -euo pipefail if [[ -z "${1:-}" ]]; then  printf 'Usage: %s <surface> [state-file] [dashboard-url]\n' "${0##*/}" >&2  exit 2fi SURFACE="$1"STATE_FILE="${2:-./auth-state.json}"DASHBOARD_URL="${3:-https://app.example.com/dashboard}" if [ -f "$STATE_FILE" ]; then  cmux browser --surface "$SURFACE" state load "$STATE_FILE"fi cmux browser --surface "$SURFACE" goto "$DASHBOARD_URL"cmux browser --surface "$SURFACE" get urlcmux browser --surface "$SURFACE" wait --load-state complete --timeout-ms 15000cmux browser --surface "$SURFACE" snapshot --interactive echo "If redirected to login, complete login flow then run:"printf '  cmux browser --surface %q state save %q\n' "$SURFACE" "$STATE_FILE" 
Referenced from SKILL.md