Chuyển đến nội dung
Skillpedia
Kiểm thử16k · #10860

browser

Skill này làm gì

Skill này cho phép agent thao tác trên trang web trong các khung trình duyệt bên trong Paradev. Dành cho người muốn agent xem trước một trang, kiểm tra một trang hoặc bấm qua một luồng web.

Khi nào nên dùng

  • ✓Khi bạn muốn agent mở một ứng dụng web cục bộ và kiểm tra giao diện.
  • ✓Khi bạn cần ảnh chụp màn hình hoặc đọc đầu ra console của một trang.
  • ✓Khi bạn muốn agent điền form hoặc bấm qua một luồng web trong trình duyệt đã đăng nhập của bạn.

Liên kết skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/browser/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/browser/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Mở ứng dụng cục bộ của tôi tại localhost:3000, chụp màn hình và cho tôi biết console nói gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent gửi lệnh qua dòng lệnh Paradev tới một khung trình duyệt mà bạn có thể thấy, nên mỗi bước diễn ra trong cùng phiên bạn đang dùng. Nó đọc trang dưới dạng văn bản và thao tác bằng cách nhấp và gõ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Paradev Browser Control

paradev is an alias for the superset CLI: every superset command here also runs as paradev.

Drive web pages through the browser panes inside a Paradev workspace with the superset browser commands. Every operation runs in the pane the user can see, against the pane's real, logged-in session. A raw Chrome DevTools Protocol (CDP) endpoint covers anything the high-level verbs don't.

Choose a surface

  • If a plain HTTP request or an API can answer (a public page, docs, a JSON endpoint), use curl or your fetch tool and skip the browser.
  • Default to the in-app pane whenever the page is, or can be, open in a workspace pane: previewing a dev server, verifying UI the user is watching, clicking through a flow in the app.
  • Use Browser Use only when the panes cannot reach the target: a Chrome window outside Paradev, a host with no desktop app attached (pane commands error clearly there), or work that needs an isolated or cloud browser. Read references/browser-use.md before using it; it covers install consent, attaching, and cleanup.

Browser Use can also drive a pane, and for three kinds of pane task it's the nicer tool: an open-ended goal to run end to end ("get through this signup"), a long multi-step flow on a shifting UI, or a recorded walkthrough. If one of those fits and Browser Use isn't installed, offer it once ("I can hand this to Browser Use, which drives multi-step flows more cleanly, but it's a one-minute install. Want that, or should I drive the pane directly?"), then respect the answer for the rest of the session, and hand a pane to Browser Use only after the user has said yes (the pane is their signed-in session and its CDP URL carries a token). Don't offer it for a screenshot, one eval, or a plain read; the pane verbs already cover those.

Establish the control surface

  1. Run superset schema 2>/dev/null | jq -re '.commands[] | select(.path==["browser"]) | .commands[].path[1]' || superset browser --help and require list, open, navigate, screenshot, eval, console, and cdp. The --help fallback covers a CLI older than 1.34.0 (no schema) and a machine without jq. If the verbs are absent, run superset update and recheck. The app-bundled CLI (~/.superset/bin/superset) updates only with the desktop app, so if it lacks browser, updating the app is the fix; check type -a superset for another install before giving up.
  2. Resolve the workspace. Inside a workspace, use $SUPERSET_WORKSPACE_ID; otherwise superset workspaces list --local --json and pick the target. Pass --host <id> for a remote host.
  3. Panes live in the desktop app. A host with no desktop attached (a standalone superset start) has no panes and every command errors clearly; surface that rather than retrying.

Find or open a pane

Every pane has a stable paneId, scoped to its workspace: pass the same --workspace you opened it under or the operation is rejected.

superset browser list --workspace <id> --json
superset browser open --workspace <id> --url https://example.com --json
superset browser open --workspace <id> --url http://localhost:3000 --target new-tab --json

--target new-tab opens a fresh tab and focuses it; the default current-tab reuses the active browser pane. Opening needs the workspace visible in the desktop app (the renderer creates the pane), so if it times out, ask the user to open the workspace.

To put the page in the right sidebar beside the user's work instead, and when superset panes --help succeeds (older CLIs lack panes), run superset panes open browser --workspace <id> --url <url> (superset:panes), then find the pane with superset browser list --workspace <id> --json.

Drive with the high-level verbs

# Point an existing pane at a new URL
superset browser navigate --workspace <id> --pane <paneId> --url https://…

# Capture a PNG (base64 by default; --out writes a file)
superset browser screenshot --workspace <id> --pane <paneId> --out shot.png

# Read the pane's captured console output
superset browser console --workspace <id> --pane <paneId> --max-lines 100

# Evaluate JavaScript in the page and return the result
superset browser eval --workspace <id> --pane <paneId> \
  --code "document.querySelector('h1')?.textContent"

Screenshot to see state, eval to read structured data (.textContent, .value = …, element.click(), location.href), console to

Câu hỏi thường gặp

Agent có dùng được các trang tôi đang đăng nhập không?

Có. Các thao tác chạy trong phiên thật của khung, nên trang mở ra với đăng nhập bạn đã có sẵn ở đó.

Khi nào nó không nên dùng khung trình duyệt?

Với một trang công khai đơn giản hoặc một API, một lệnh tải thông thường là đủ, và skill nói rằng trong trường hợp đó nên bỏ qua trình duyệt.

Tôi có thể xem nó làm việc không?

Có. Khung hiển thị trong không gian làm việc của bạn, nên bạn có thể thấy từng bước khi nó diễn ra.

Chi tiết

Mô tả gốc của tác giả

Open, navigate, screenshot, read, click, and type in web pages from an agent. Use when the user asks to open a URL, preview or verify a running web app, check a page's console, fill a form, click through a web flow, or automate anything in a browser, including "open localhost:3000", "screenshot the page", "what does the console say", "click the submit button", "I'm logged in on Chrome". Drives the in-app browser pane of a Paradev (formerly Superset) workspace by default and Browser Use for browsers the panes cannot reach.

repo: ParadevAI/Paradev

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10860
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự