agent-browser
Skill này làm gì
Skill này cho phép agent AI điều khiển trình duyệt cho các tác vụ web. Skill dành cho các việc như điền biểu mẫu, kiểm tra trang hoặc lấy dữ liệu từ một trang web.
Khi nào nên dùng
- ✓Khi bạn cần mở một trang web, nhấp qua trang và điền một biểu mẫu.
- ✓Khi bạn muốn có ảnh chụp màn hình của một trang hoặc dữ liệu được trích từ đó.
- ✓Khi bạn cần kiểm thử một ứng dụng web hoặc dùng một trang yêu cầu đăng nhập.
Liên kết skill
https://github.com/Tencent/WeKnora/blob/main/internal/application/service/builtin_skills/agent-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ở trang web này, điền biểu mẫu liên hệ và chụp ảnh màn hình trang xác nhận.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy một trình duyệt dòng lệnh có sẵn và vẫn mở giữa các bước. Agent đọc các thành phần tương tác của trang, thao tác từng cái một, và đọc lại trang sau mỗi thay đổi.
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.
agent-browser (browser inside the sandbox)
The CLI is already installed. Do not install it again, do not run
agent-browser install, and never install a browser yourself: the sandbox
pins its own Google Chrome. Run it with shell_exec and without skill_name.
Every call is one command; the browser stays open between calls.
Start here
This file is only the map. Load the real usage guide from the CLI itself, so the instructions always match the installed version:
agent-browser skills get core # workflows, common patterns, troubleshooting
agent-browser skills get core --full # adds the full command reference
agent-browser skills list # specialized guides bundled with the CLI
For quick tasks the loop below is enough; read core before anything harder
(waits, iframes, multiple tabs, downloads, auth flows).
Basic loop
agent-browser open https://example.com # the window opens on the Desktop tab
agent-browser snapshot -i # interactive elements as @e1, @e2, ...
agent-browser click @e2
agent-browser fill @e3 "text to type"
agent-browser screenshot /workspace/output/page.png
agent-browser close # closes the browser; the screen stays
Run snapshot -i again after every page change: refs from an older snapshot
go stale. agent-browser --help lists every other command.
Screens
The browser always opens as a visible window on the user's Desktop tab, so
the user can watch it and take over. Do not ask the user whether to show it,
and do not pass any flag to hide or show it. The user may click in the same
window while you work: run snapshot -i again before acting if the page may
have changed. A captcha, 2FA code or password is for the user to type in that
window, never in the chat.
Rules
- Do not pass
--session,--profile,--cdp,--auto-connect,--stateor--executable-path. The sandbox supplies the profile, the session and the browser; those flags are discarded. - Do not set DISPLAY, and do not target display :0. That screen belongs to other sessions.
- Close the browser only with
agent-browser close. Neverpkill/killchrome or agent-browser processes: other sessions' browsers run on this machine too, andagent-browser closeonly ever touches this session's own browser. - Cookie state is saved in a machine-level seed and restored before startup navigation. Live browsers mirror missing cookies and localStorage keys; existing keys are not overwritten. A receiving page may reload once idle. localStorage is shared from open pages, not persisted in the cookie seed. Cookie and password database files are shared; history, cache and IndexedDB stay in each profile. Signing out may affect shared login state. Windows remain on this session's screen. Never print cookie, password or token files.
Câu hỏi thường gặp
Skill có dùng Chrome cá nhân của tôi không?
Không. Đây là một trình duyệt riêng bên trong sandbox, không phải trình duyệt cục bộ trên máy tính của bạn.
Skill có tự cài trình duyệt không?
Không. Trình duyệt đã được cài sẵn, và skill yêu cầu agent không cài thêm trình duyệt khác.
Ảnh chụp màn hình được lưu ở đâu?
Chúng có thể được lưu vào một đường dẫn trong thư mục đầu ra của workspace.
Chi tiết
Mô tả gốc của tác giả
Use when the task needs a real web browser inside the sandbox - open a page, click, fill forms, take screenshots, extract or scrape data, test a web app, or use a site that needs a login. Drives the preinstalled agent-browser CLI; the browser window shows on the user's Desktop tab. This is NOT the local_browser tool, which controls the user's own Chrome on their computer.
repo: Tencent/WeKnora
Độ phổ biến
- Sao GitHub
- 36k
- Vị trí xếp hạng
- #7587
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
weknora-rag-search
36kHướng dẫn agent của bạn tìm kiếm trong cơ sở tri thức WeKnora, chọn giữa câu trả lời viết sẵn, đoạn văn bản thô, kết quả tài liệu hoặc tra cứu phiên.
weknora-shared
36kGiải thích cách đăng nhập vào công cụ dòng lệnh WeKnora và đọc kết quả, như hướng dẫn cơ sở trước mọi tác vụ WeKnora khá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.