cmux-browser

cmux-browser is a skill for Codex from rgomezcasas/dotfiles. It costs 39 tokens per session (2,480 once invoked), scanned A, original, MIT.

A command-line tool for controlling a web browser from an agent. It can open pages, inspect what is shown, interact with page controls, wait for page state, and extract information without taking focus from the user.

In plain words
What is it for?
Use it to test websites, inspect page content, click and navigate through browser interfaces, and collect data from them.
Why use it?
It provides a defined way to work with browser pages instead of relying on fragile manual steps or guessed page positions.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Use it to test websites, inspect page content, click and navigate through browser interfaces, and collect data from them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rgomezcasas/dotfiles/cmux-browser
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rgomezcasas/dotfiles --skill cmux-browser
Clone the repo
git clone --depth 1 https://github.com/rgomezcasas/dotfiles

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cmux-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/rgomezcasas/dotfiles/cmux-browser/github.svg)](https://agentmods.dev/skills/rgomezcasas/dotfiles/cmux-browser)
Your own site
<a href="https://agentmods.dev/skills/rgomezcasas/dotfiles/cmux-browser"><img src="https://agentmods.dev/badge/skills/rgomezcasas/dotfiles/cmux-browser/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cmux-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/rgomezcasas/dotfiles/cmux-browser"><img src="https://agentmods.dev/badge/skills/rgomezcasas/dotfiles/cmux-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.02480
Opus 5.5 $0.00016 $0.00992
Sonnet 5.5 $0.00008 $0.00496
Haiku 4.5 $0.00004 $0.00248

Measured 22d ago against content hash 450564b0079a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cmux-browser scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (templates/authenticated-session.sh, templates/capture-workflow.sh, templates/form-automation.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

config/agents/global_skills/cmux-browser/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on 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, or new. 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.

Read the full file on GitHub · 237 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago First seen · 237 lines · 39 tokens per session scan A 450564b0079a

Subscribe to this mod's changes

cmux-browser is a skill published in the GitHub repository rgomezcasas/dotfiles (363 stars, last pushed 9d ago), licensed MIT. It adds 39 tokens to every session and 2,480 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.

Related

Other skills, from other repositories