browser_visible

browser_visible is a skill for Claude Code, Codex from mateaix/mateclaw. It costs 37 tokens per session (695 once invoked), scanned A, original, Apache-2.0.

Instructions for starting and controlling a real web browser either visibly or in the background. A visible browser shows its window so a person can watch, log in, or help with a task.

In plain words
What is it for?
It helps start and stop the browser, open pages, inspect them, click elements, enter text, use a shared debugging port, and work with login screens or verification codes.
Why use it?
It clarifies when to show the browser for demonstrations or manual login steps and when to keep it hidden for unattended automation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps start and stop the browser, open pages, inspect them, click elements, enter text, use a shared debugging port, and work with login screens or verification codes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mateaix/mateclaw/browser_visible
About the project

MateClaw is a pluggable agent runtime that coordinates AI agents, tools, conversations, memory, and workflows. It is designed for personal and multi-user AI assistants, including agents used through chat platforms. Catalogue add-ons provide skills for extending its agent workflows.

mateaix/mateclaw · 1,170 stars · on GitHub · claw.mate.vip

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 mateaix/mateclaw --skill browser_visible
Clone the repo
git clone --depth 1 https://github.com/mateaix/mateclaw

Made for: Claude Code, 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 browser_visible

README.md
[![agentmods](https://agentmods.dev/badge/skills/mateaix/mateclaw/browser_visible/github.svg)](https://agentmods.dev/skills/mateaix/mateclaw/browser_visible)
Your own site
<a href="https://agentmods.dev/skills/mateaix/mateclaw/browser_visible"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/browser_visible/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 browser_visible

Your own site · 80×15
<a href="https://agentmods.dev/skills/mateaix/mateclaw/browser_visible"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/browser_visible.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.00695
Opus 5.5 $0.00015 $0.00278
Sonnet 5.5 $0.00007 $0.00139
Haiku 4.5 $0.00004 $0.00069

Measured 1mo ago against content hash 95e548414360, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

browser_visible 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 1mo ago.

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.

mateclaw-server/src/main/resources/skills/browser_visible/SKILL.md · 94 lines

What it actually says

浏览器启动模式

本技能控制 browser_use 的启动方式,核心参数:

参数 类型 说明
headed Boolean true = 显示窗口;false(默认)= 无头模式
cdpPort Integer 指定 CDP 调试端口(不填则自动选择)

常见用法

无头模式(默认,后台自动化)

browser_use(action="start")

可见窗口(演示 / 需要人工操作)

browser_use(action="start", headed=true)

指定 CDP 端口(与外部工具共享)

browser_use(action="start", headed=true, cdpPort=9222)

标准操作序列

# 1. 启动
browser_use(action="start", headed=true)

# 2. 打开页面
browser_use(action="open", url="https://example.com")

# 3. 截取快照(查看页面内容)
browser_use(action="snapshot")

# 4. 点击元素
browser_use(action="click", selector="#submit-btn")

# 5. 输入文本
browser_use(action="type", selector="input[name=email]", text="[email protected]")

# 6. 完成后关闭
browser_use(action="stop")

何时用可见模式

场景 推荐参数
向用户演示操作过程 headed=true
需要用户手动登录(扫码、验证码) headed=true,遇到登录页暂停并提示用户
调试自动化脚本 headed=true
纯自动化、不需要展示 headed=false(默认)

跨平台可执行文件路径(需自定义浏览器时)

MateClaw 的 browser_use 会自动检测系统浏览器,无需手动指定路径。如需调试特定 Chrome 安装位置:

Windows 默认路径:

C:\Program Files\Google\Chrome\Application\chrome.exe
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

macOS 默认路径:

/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

Linux 默认路径:

/usr/bin/google-chrome
/usr/bin/chromium-browser

注意事项

  • 可见模式需要图形环境(GUI);无桌面的服务器无法使用
  • 若浏览器已在运行,须先 stop 再重新 start 才能切换 headed 状态
  • cdpPort 被占用时会报错,换端口或先停止占用该端口的进程
  • 用户手动操作可见浏览器不会刷新 Agent 的 idle 超时计时
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. 1mo ago First seen · 94 lines · 37 tokens per session scan A 95e548414360

Subscribe to this mod's changes

browser_visible is a skill published in the GitHub repository mateaix/mateclaw (1,170 stars, last pushed yesterday), licensed Apache-2.0. It adds 37 tokens to every session and 695 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories