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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
curlor 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.mdbefore 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
- Run
superset schema 2>/dev/null | jq -re '.commands[] | select(.path==["browser"]) | .commands[].path[1]' || superset browser --helpand requirelist,open,navigate,screenshot,eval,console, andcdp. The--helpfallback covers a CLI older than 1.34.0 (noschema) and a machine withoutjq. If the verbs are absent, runsuperset updateand recheck. The app-bundled CLI (~/.superset/bin/superset) updates only with the desktop app, so if it lacksbrowser, updating the app is the fix; checktype -a supersetfor another install before giving up. - Resolve the workspace. Inside a workspace, use
$SUPERSET_WORKSPACE_ID; otherwisesuperset workspaces list --local --jsonand pick the target. Pass--host <id>for a remote host. - 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
Bình luận
- …
Thêm skill từ kho mã này
decide
16kHướng dẫn bạn từng quyết định về thiết kế hoặc code, mỗi lần một việc, có lựa chọn rõ ràng và khuyến nghị. Ghi lại mọi câu trả lời và đưa ra bản tóm tắt cuối.
mobile-demo-film
16kBiến video quay màn hình điện thoại thành video demo gọn gàng, có thẻ tiêu đề, khung điện thoại và thẻ kết thúc. Hợp với demo tính năng và clip ra mắt.
redesign
16kXem xét một thành phần giao diện và đề xuất cách sửa cụ thể về khoảng cách, độ tương phản, thứ bậc và bố cục. Cũng có thể áp dụng thay đổi.
superset-settings
16kCho phép agent xem và thay đổi cài đặt ứng dụng desktop Paradev, như giao diện, phông chữ và thông báo, từ dòng lệnh.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.