js-eyes
imjszhang tarafından
Web & Frontend DevelopmentÖzet
Browser automation for AI agents — control tabs, extract content, execute scripts and manage cookies via WebSocket.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Gereksinimler
- JS Eyes browser extension installed in Chrome, Edge, or Firefox
Kurulum
clawhub install imjszhang/js-eyesCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.