Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

js-eyes

bởi imjszhang

Web & Frontend Development
298Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: Summarize the content of my open GitHub PR tab

AGENT
  1. 1

    Calls js_eyes_get_tabs to list all open browser tabs

  2. 2

    Identifies the GitHub PR tab by its URL

  3. 3

    Calls js_eyes_get_html with the tab ID to retrieve full HTML

  4. 4

    Parses and summarizes the PR description and comments

ĐẦU RA

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-eyes

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết