cmux-browser
Was er macht
Dieser Skill erklärt, wie du die cmux-Kommandozeile nutzt, um ein Browser-Fenster zu öffnen, seine Seite zu lesen, mit Elementen zu interagieren und Daten zu extrahieren. Er ist für Menschen, die cmux nutzen und wollen, dass ein Agent darin Webseiten bearbeitet.
Wann du ihn nutzt
- ✓Wenn du willst, dass ein Agent eine Seite in einem cmux-Browser-Fenster öffnet und Daten herausholt.
- ✓Wenn du ein Formular in cmux ausfüllen oder durch eine Webseite klicken musst.
- ✓Wenn der Zustand einer Seite vor dem nächsten Schritt geprüft werden soll.
Link zum Skill
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-browser/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Öffne die Preisseite dieser Website in cmux und kopiere für mich die Tarifnamen und Preise.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent erstellt eine Browser-Oberfläche oder wählt eine bestehende aus, macht einen interaktiven Snapshot der Seite und liest oder klickt dann die Elemente, die er braucht. Er übergibt immer das Oberflächen-Handle ausdrücklich, damit das richtige Fenster angesprochen wird.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Übernimmt er meinen Bildschirm?
Der Skill ist so gebaut, dass er ohne Fokusdiebstahl aus deinem aktuellen Fenster arbeitet.
Wie weiß er, welches Element er anklicken soll?
Er macht einen Snapshot der Seite und nutzt die Element-Referenzen aus diesem Snapshot.
Muss ich die Befehlssyntax kennen?
Nein. Der Agent liest die installierte Hilfe und nutzt die richtige Form des Befehls.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 29k
- Platz im Ranking
- #9793
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
cmux-capture
29kLässt deinen Agenten einen Screenshot oder eine kurze Aufnahme eines cmux-Fensters machen, damit du eine visuelle Änderung oder einen Fehler mit echten Belegen zeigen kannst.
cmux-cloud-vm
29kLässt deinen Agenten Befehle ausführen, Coding-Agenten starten und Arbeitsbereiche auf deinen cmux-Cloud-Rechnern anzeigen, wobei die Arbeit nach dem Schließen von Fenstern weiterläuft.
cmux-cua
29kLässt deinen Agenten echte macOS-Apps über die Computer-Use-Engine von cmux bedienen, indem er den Accessibility-Baum liest und in deinem Auftrag klickt, tippt und scrollt.
cmux-custom-sidebar
29kLässt deinen Agenten eine eigene cmux-Seitenleiste aus einer einfachen Beschreibung bauen, die etwa Arbeitsbereiche, Pull Requests oder eine Uhr zeigt, mit Live-Aktualisierung.
Ähnliche Skills
tavily
394kHilft deinem Agenten, mit Tavily im Web zu suchen und den Text bestimmter Webseiten zu holen, mit Optionen für Tiefe, Domains und Daten.
blogwatcher
394kLässt deinen Agenten Blogs und RSS- oder Atom-Feeds verfolgen, auf neue Artikel prüfen und die gelesenen Artikel markieren.
data-scraper-agent
280kHilft deinem Agenten, Daten aus beliebigen öffentlichen Quellen automatisch zu sammeln. Kann zeitgesteuert laufen, Informationen anreichern und Ergebnisse speichern.