browser
Skill này làm gì
Skill này cho phép agent AI làm việc qua một trình duyệt thật, mở trang, đọc và nhấp chuột. Skill dành cho các tác vụ cần một trang web đang hoạt động được dùng từng bước.
Khi nào nên dùng
- ✓Khi một tác vụ cần agent mở một trang web và thao tác trên đó từng bước.
- ✓Khi agent phải đọc nội dung hiện tại của một trang trực tiếp trước khi trả lời.
- ✓Khi bước đăng nhập, captcha hoặc xác thực hai lớp cần được chuyển cho người thật xử lý.
Liên kết skill
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/browser-en/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ở cổng nhà cung cấp, tìm hóa đơn tháng này và cho tôi biết tổng số tiền.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kết nối với trình duyệt, mở trang và đọc những gì đang hiển thị. Nó thao tác từng bước một, kiểm tra lại trang trước khi báo cáo thành công, và chuyển các bước chỉ người mới làm được, như đăng nhập, cho bạn.
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.
Browser
Work with discipline: perceive the current page, act through the documented surface, then re-perceive before claiming success. State only facts observed in this turn. When stuck, a complete delivery is the step you are stuck on plus the partial results you have verified — never fill in content you did not observe just to produce a full answer.
Respect the human boundary: for login, captcha, 2FA, or any human-only step,
call await browser.handoff(...) and stop. Never automate those flows.
When the browser cannot finish, do not substitute data from another channel
(such as web_search) and still call it a browser result — state each fact's
real source.
This is QwenPaw's builtin Browser SDK, not Playwright. Its surface is closed: anything not listed does not exist. The complete reference is below; re-load this browser skill with the Skill tool if it is no longer in context.
<!-- BEGIN GENERATED: browser-manual -->QwenPaw Browser SDK — complete reference. This is QwenPaw's OWN internal SDK and this is the ENTIRE API; these are all the entrypoints. The SDK is already in scope as Browser — call the methods below directly. Write async Python. Work in a loop: perceive → act → verify.
Copy this shape:
browser = await Browser.connect() # connect once; reused all session page = await browser.open("https://example.com") # open a page obs = await page.snapshot() # PERCEIVE — page text is obs.text if len(obs.text) < 6000: print(obs.text) else: # Large page: read selectively instead of dumping everything. lines = [line for line in obs.text.splitlines() if "keyword" in line] print(f"{len(obs.text)} chars total; {len(lines)} matching lines:") print("\n".join(lines[:80]))
For a focused count, use: await page.snapshot(query="keyword")
await page.get_by_role("textbox", name="Search").fill("laptop") # ACT await page.get_by_role("button", name="Search").click() # ACT obs = await page.snapshot() # VERIFY — re-perceive to confirm print("Verified; inspect obs.text with the selective pattern above.")
Session state: this is a stateful session — variables you assign (browser, page) persist across calls, so connect once and reuse them. If a call reports the session was reset, re-run await Browser.connect().
Chrome backend caveat: with backend=chrome you operate inside the user's real browser. A session is a tab-ownership group — tabs are isolated per session, but identity (cookies, logins, storage) is shared with the user's profile and with every other session. Do not rely on session-level identity isolation on this backend.
browser (orchestration): await Browser.connect(*, identity: "auto"|"user"|"avatar"|"guest" = "auto") -> browser Connect as an identity: user, avatar, guest, or auto.
``auto`` picks ``user`` when Chrome is connected, otherwise ``guest``.
An unavailable explicit identity raises instead of substituting.
await browser.open(url: str | None = None) -> page
Open a page at url and return it.
Reuses this session's active page when one exists; otherwise a
new page is created. Pages are released when the response cycle ends;
start each cycle by calling ``open(url)`` again.
await browser.pages() -> list of page ref (.id, .url, .title, .active) List open pages with URL, title, and active-state details. await browser.switch_page(page: page ref (.id, .url, .title, .active)) -> none Make the given page ref active for later operations. await browser.close_page(page: page ref (.id, .url, .title, .active)) -> none Close the given page ref in this session. await browser.session_status() -> session status (.owner, .variant, .context, .connected) Report the owner, variant, context, and connected state. await browser.handoff(reason: str, instructions: str = "") -> a result dict Hand a step back to a human (captcha, login, 2FA).
Pass a short reason and instructions; the run stops on this signal —
never automate these flows. The active cycle-scoped page is retained
for one extra response cycle after the handoff.
await browser.present(url: str | None = None) -> page Open a page retained for the chat lifetime. await browser.close() -> none Close this session's browser and release its context.
page (operation):
await page.goto(url: str) -> a result dict
Navigate this page to url and return raw navigation facts.
await page.go_back() ->
Câu hỏi thường gặp
Agent có đăng nhập thay tôi không?
Không. Đăng nhập, captcha và xác thực hai lớp được chuyển cho bạn, và agent dừng lại ở đó.
Agent có báo cáo kết quả mà nó chưa thấy không?
Không. Skill chỉ cho phép các sự kiện đã quan sát được trên trang trong tác vụ hiện tại.
Nếu trình duyệt không thể hoàn thành thì sao?
Agent báo cáo các bước đã hoàn thành và không lấp chỗ trống bằng dữ liệu từ nguồn khác.
Chi tiết
Mô tả gốc của tác giả
Drive a live browser with async Python against QwenPaw's builtin Browser SDK. The full reference is below; re-load this browser skill after context compaction.
repo: agentscope-ai/QwenPaw
Độ phổ biến
- Sao GitHub
- 37k
- Vị trí xếp hạng
- #7571
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
terraform-skill
37kGiúp agent của bạn viết, kiểm thử và xem xét mã hạ tầng Terraform hoặc OpenTofu, bao gồm module, CI/CD, quét bảo mật và các vấn đề về state.
computer_use
37kGiúp agent của bạn thao tác một ứng dụng Windows hoặc macOS đang chạy bằng cách quan sát màn hình, nhấp chuột và kiểm tra từng kết quả, khi không có công cụ trực tiếp nào làm được việc.
channel_message
37kGiúp agent của bạn gửi một tin nhắn một chiều đến một kênh hoặc phiên trò chuyện cụ thể, chẳng hạn thông báo khi tác vụ xong, sau khi nó đã tìm được đích đúng.
chat_with_agent
37kGiúp agent của bạn hỏi ý kiến một agent AI khác để có góc nhìn thứ hai, một kế hoạch hoặc một đánh giá, và tiếp tục cuộc trò chuyện đó với ngữ cảnh trước đó.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.