js-eyes
bởi imjszhang
Web & Frontend DevelopmentTóm tắt
Browser automation for AI agents — control tabs, extract content, execute scripts and manage cookies via WebSocket.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- JS Eyes browser extension installed in Chrome, Edge, or Firefox
Cài đặt
clawhub install imjszhang/js-eyesChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.