js-eyes
由 imjszhang 提供
Web & Frontend Development简介
Browser automation for AI agents — control tabs, extract content, execute scripts and manage cookies via WebSocket.
描述
该技能的功能
Browser extension and WebSocket server that lets AI agents automate a connected browser. Supports listing and managing tabs, extracting HTML, executing JavaScript in page context, and reading cookies. Works with Chrome, Edge, and Firefox.
Operates within the user's existing browser session, so agents can access authenticated pages without re-implementing login flows.
何时使用
- Scraping content from pages that require login
- Running JavaScript snippets in a live tab to extract dynamic data
- Reading session cookies from authenticated browser tabs
- Opening and navigating URLs as part of an automated research task
- Closing stale tabs based on URL patterns
示例工作流
User asks: Summarize the content of my open GitHub PR tab
- 1
Calls js_eyes_get_tabs to list all open browser tabs
- 2
Identifies the GitHub PR tab by its URL
- 3
Calls js_eyes_get_html with the tab ID to retrieve full HTML
- 4
Parses and summarizes the PR description and comments
A summary of the PR title, description, and recent comments
前置要求
- JS Eyes browser extension installed in Chrome, Edge, or Firefox
安装
clawhub install imjszhang/js-eyes运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。