js-browser-ops-skill

js-browser-ops-skill is a skill for Claude Code, Codex from imjszhang/js-eyes. It costs 29 tokens per session (3,653 once invoked), scanned A, original, MIT.

A browser-control add-on for reading and interacting with any website, including taking screenshots. It uses JS Eyes and supports page reading, clicks, form entry, waiting, and scrolling.

In plain words
What is it for?
Use it to read page content, click or fill controls, wait for page changes, scroll through pages, and capture screenshots. It requires Node.js 22+, JS Eyes, a connected browser extension, and a running JS-Eyes Server.
Why use it?
It removes the need to write separate browser automation for each website. It can turn web pages into structured text and metadata for an agent to use.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to read page content, click or fill controls, wait for page changes, scroll through pages, and capture screenshots. It requires Node.js 22+, JS Eyes, a connected browser extension, and a running JS-Eyes Server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/imjszhang/js-eyes/js-browser-ops-skill
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 imjszhang/js-eyes --skill js-browser-ops-skill
Clone the repo
git clone --depth 1 https://github.com/imjszhang/js-eyes

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 js-browser-ops-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-browser-ops-skill/github.svg)](https://agentmods.dev/skills/imjszhang/js-eyes/js-browser-ops-skill)
Your own site
<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-browser-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-browser-ops-skill/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 js-browser-ops-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-browser-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-browser-ops-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,653 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.00029 $0.03653
Opus 5 $0.00015 $0.01826
Sonnet 5 $0.00006 $0.00731
Haiku 4.5 $0.00003 $0.00365

Measured yesterday against content hash dcb1113bd5fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

js-browser-ops-skill 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 yesterday.

The scan reads SKILL.md. This mod also ships 24 executable files (bridges/_visual-browser.js, cli/index.js, index.js, …), 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.

skills/js-browser-ops-skill/SKILL.md · 280 lines

How it starts

The opening of the file, as written. The whole thing — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.

js-browser-ops-skill

通用浏览器操作技能 — 基于 js-eyes 浏览器自动化,提供面向任意网站的内容读取、DOM 交互和截图能力。

与其他平台特化技能(如 js-x-ops-skilljs-zhihu-ops-skill)不同,本技能不绑定特定平台,适用于所有网页。

依赖

本技能依赖 js-eyes 技能提供的浏览器自动化能力。使用前请确保:

  1. Node.js 22+、JS Eyes 2.8.5+,且 JS-Eyes Server 已运行
  2. 浏览器已安装 JS-Eyes 扩展并连接到服务器
  3. browser_click / browser_fill_form / browser_wait_for / browser_scroll 使用扩展内置操作,不要求 Raw Eval;页面正文抽取等脚本能力需要宿主设置 security.allowRawEval: true
  4. JS Eyes 2.5+ 会把宿主的 Raw Eval 设置同步到扩展;扩展存储中的显式 false 仍可强制关闭
  5. Chrome 脚本能力要求 Chrome 135+;Chrome 138+ 还需在浏览器扩展设置中开启 Allow User Scripts

登录要求取决于目标网页;本 Skill 不执行登录自动化。

提供的 AI 工具

工具 说明
browser_read_page 读取网页正文。打开后先按 waitUntil / minContentChars 等待,短空壳返回 content_too_short 而不是导航栏。自开标签默认读完关闭;keepOpen 才回传可复用 tabId
browser_read_pages 批量读取。返回每条 { url, ok, data?, error? },单条失败不影响其余;同 host 默认串行并遵守最小间隔。
browser_click 点击页面元素,支持 CSS 选择器、XPath、文本内容匹配
browser_fill_form 填写表单字段(input/textarea/select/contenteditable)
browser_wait_for 等待元素出现或条件满足(基于 MutationObserver)
browser_scroll 页面滚动(到顶部/底部、指定元素、指定像素偏移)
browser_screenshot 调用 browser.captureScreenshot 获取截图结果
browser_cleanup_session 关闭本 session 仍打开的自开标签

编程 API

const { BrowserAutomation } = require('./lib/js-eyes-client');
const { readPage, readPages, clickElement, fillForm, scrollPage, cleanupTabSession } = require('./lib/api');

const browser = new BrowserAutomation('ws://localhost:18080');

// 纯读取默认会关闭自开标签,返回 tabId: null。
// 后续还要 click/fill 时必须 keepOpen,并禁用缓存以取得 live tabId。
const page = await readPage(browser, {
  url: 'https://example.com/article',
  format: 'markdown',
  noCache: true,
  keepOpen: true,
});

// 点击元素
await clickElement(browser, {
  tabId: page.tabId,
  selector: 'button.submit',
});

// 填写表单
await fillForm(browser, {
  tabId: page.tabId,
  selector: 'input[name="email"]',
  value: '[email protected]',
  clearFirst: true,
});

// 滚动到底部
await scrollPage(browser, {
  tabId: page.tabId,
  target: 'bottom',
});

await cleanupTabSession(browser);

const pages = await readPages(browser, {
  urls: ['https://a.example/1', 'https://b.example/2'],
  format: 'markdown',
  concurrency: 3,
  perHostMinIntervalMs: 1000,
  perHostConcurrency: 1,
  timeoutMs: 30000,
  totalTimeoutMs: 180000,
  signal,
});

Read the full file on GitHub · 280 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. yesterday Changed · +72 lines dcb1113bd5fb
  2. 9d ago First seen · 208 lines · 29 tokens per session scan A 6d1cbb3c37bb

Subscribe to this mod's changes

js-browser-ops-skill is a skill published in the GitHub repository imjszhang/js-eyes (43 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 3,653 once invoked, about $0.0001 per session on Opus 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

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens