cmux-browser
Fungsinya
Skill ini menjelaskan cara memakai baris perintah cmux untuk membuka panel peramban, membaca halamannya, berinteraksi dengan elemen, dan mengekstrak data. Ditujukan untuk orang yang memakai cmux dan ingin agent bekerja melalui halaman web di dalamnya.
Kapan dipakai
- ✓Saat Anda ingin agent membuka situs di panel peramban cmux dan mengambil datanya.
- ✓Ketika Anda perlu mengisi atau mengklik halaman web di dalam cmux.
- ✓Saat Anda ingin kondisi halaman diperiksa sebelum langkah berikutnya.
Link skill
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-browser/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buka halaman harga situs web ini di cmux dan salin nama paket serta harganya untuk saya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membuat atau menargetkan permukaan peramban, mengambil snapshot interaktif halaman, lalu membaca atau mengklik elemen yang dibutuhkan. Ia selalu memberikan handle permukaan secara eksplisit agar menargetkan panel yang benar.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Browser Automation with cmux
Read the CLI contract first
Check the binary that will actually run before giving an exact command:
cmux browser --help
cmux --version
There are two deliberately different command shapes:
- Create a browser surface with
open,open-split, ornew. These commands may be workspace-scoped and do not need a surface handle. - Use an existing surface with every surface-bound navigation, inspection, interaction, tab, state, or diagnostic command. Pass the handle explicitly with
--surface <handle>or as the first positional token.
Prefer the flag form in scripts because it makes the target unmissable:
SURFACE="surface:7" # use a ref returned by discovery; do not guess an index
cmux browser --surface "$SURFACE" get url
cmux browser --surface "$SURFACE" get-url # accepted alias
cmux browser --surface "$SURFACE" snapshot --interactive
cmux browser --surface "$SURFACE" snapshot -i # accepted alias
cmux browser --surface "$SURFACE" url # accepted alias
cmux browser --surface "$SURFACE" tab list
cmux browser --surface "$SURFACE" click e1 --snapshot-after
The positional form is equivalent (cmux browser "$SURFACE" get url). url and
get-url are accepted URL aliases, and the short interactive snapshot flag is
accepted when a surface is already present; use get url and
snapshot --interactive in new documentation so the target and operation are
clear. Surface-bound operations have no unscoped form. The current CLI's
explicitly global browser verbs (open, open-split, new, identify,
import, profile, profiles, react-grab, reactgrab, devtools,
dev-tools, focus-mode, design-mode, zoom, and history) may omit the
handle and use caller/workspace routing; do not infer a target from visible
focus for any other verb.
Find an existing browser surface without changing focus
identify, tree, and list commands are read-only and do not select a
workspace, pane, or browser. Do not infer that the visually focused surface is
the one the user wants.
First inspect the caller context (useful for the default workspace):
cmux identify --json
To discover browser surfaces in the caller or another workspace/window, use the all-window tree. It includes parent refs, so a browser in a different workspace can be targeted directly without selecting that workspace:
cmux tree --all --json \
| jq -r '
.windows[]? as $window
| $window.workspaces[]? as $workspace
| $workspace.panes[]? as $pane
| $pane.surfaces[]?
| select(.type == "browser")
| [$window.ref, $workspace.ref, $pane.ref, .ref]
| @tsv'
The filtered output is window, workspace, pane, and surface refs. Keep
the surface ref, then target it explicitly:
SURFACE="surface:N" # copied from the filtered tree output
cmux browser --surface "$SURFACE" get url
cmux browser --surface "$SURFACE" snapshot --interactive
If the user gives a URL or title instead of a workspace/pane, match that metadata locally and emit only the unique surface ref. This never prints the matched URL or title:
MATCH_FIELD="url" # use "title" when matching a page title
MATCH_VALUE="${BROWSER_URL_OR_TITLE:?set BROWSER_URL_OR_TITLE without logging it}"
SURFACE="$(
cmux tree --all --json |
jq -r --arg field "$MATCH_FIELD" --arg value "$MATCH_VALUE" '
[
.windows[]? as $window
| $window.workspaces[]? as $workspace
| $workspace.panes[]? as $pane
| $pane.surfaces[]?
| select(.type == "browser")
| select((if $field == "url" then (.url // "") else (.title // "") end) == $value)
| .ref
] as $matches
| if ($matches | length) == 1 then $matches[0]
elif ($matches | length) == 0 then error("no matching browser surface")
else error("multiple matches; use workspace/pane context")
end'
)"
if [[ -z "$SURFACE" ]]; then
printf '%s\n' 'no uniquely matching browser surface; provide workspace/pane context' >&2
exit 1
fi
cmux browser --surface "$SURFACE" get url
For one known workspace, cmux --json list-pane-surfaces --workspace <workspace> is a smaller read-only query. Raw tree/list payloads can contain
page URLs and titles; filter or redact them before logging or pasting them.
Never use a focus/select command merely to discover a surface.
Core workflow
Open (or create) a surface without stealing focus, cap
Pertanyaan umum
Apakah ia mengambil alih layar saya?
Skill ini dirancang agar bekerja tanpa mencuri fokus dari jendela Anda saat ini.
Bagaimana ia tahu elemen mana yang harus diklik?
Ia mengambil snapshot halaman dan memakai referensi elemen dari snapshot itu.
Apakah saya perlu tahu sintaks perintahnya?
Tidak. Agent membaca bantuan yang terpasang dan memakai bentuk perintah yang benar.
Detail
Deskripsi asli dari pembuat
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.
repo: manaflow-ai/cmux
Popularitas
- Bintang GitHub
- 29k
- Peringkat
- #9793
- Lisensi
- —
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
cmux-capture
29kMemungkinkan agent Anda mengambil tangkapan layar atau rekaman singkat dari jendela cmux, sehingga Anda bisa menunjukkan perubahan visual atau bug dengan bukti nyata.
cmux-cloud-vm
29kMemungkinkan agent Anda menjalankan perintah, memulai agent coding, dan menampilkan workspace di mesin cmux Cloud Anda, dengan pekerjaan tetap berjalan setelah panel ditutup.
cmux-cua
29kMemungkinkan agent Anda mengoperasikan aplikasi macOS sungguhan melalui mesin Computer Use cmux, dengan membaca pohon aksesibilitas serta mengklik, mengetik, dan menggulir atas nama Anda.
cmux-custom-sidebar
29kMemungkinkan agent Anda membangun sidebar cmux kustom dari deskripsi sederhana, yang menampilkan hal seperti workspace, pull request, atau jam, dengan pembaruan langsung.
Skill serupa
tavily
394kMembantu agent Anda mencari di web dengan Tavily dan mengambil teks dari halaman web tertentu, dengan opsi kedalaman, domain, dan tanggal.
blogwatcher
394kMemungkinkan agent Anda mengikuti blog dan feed RSS atau Atom, memeriksanya untuk artikel baru, dan menandai artikel yang sudah Anda baca.
data-scraper-agent
280kMembantu agent mengumpulkan data otomatis dari sumber publik. Bisa dijadwalkan, memperkaya informasi, dan menyimpan hasil. Berguna untuk memantau data online.