agent-browser
Skill này làm gì
AI agent này dùng trình duyệt thật để xem và tương tác với website. Nó được dùng để kiểm tra điều gì đó có hoạt động như mong đợi không, chụp ảnh màn hình hoặc lấy thông tin cụ thể từ trang web.
Khi nào nên dùng
- ✓Khi bạn cần xem một trang web trông như thế nào trong trình duyệt để xác nhận một thay đổi.
- ✓Khi bạn cần lấy văn bản hoặc thông tin chỉ xuất hiện sau khi trang tải xong.
- ✓Khi người dùng báo rằng có gì đó bị lỗi trên trang và bạn cần xem lỗi.
Liên kết skill
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/optional/browser/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
“Chụp ảnh màn hình trang tin tức chính và cho biết nút đăng nhập có hiển thị không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Nó mở trình duyệt, đi đến địa chỉ bạn yêu cầu, và có thể nhấn nút hoặc điền ô nhập. Trong khi làm việc, nó có thể chụp ảnh màn hình hoặc ghi lại các lỗi xuất hiệ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.
Agent Browser
Use a controlled browser to verify behavior, capture evidence, or extract information from web pages that a static fetch cannot reach (SPAs, login-gated pages, dynamic content). This skill is about supervised verification, not unattended scraping.
When to use
- You need a screenshot of a deployed page or a local dev server to confirm a UI change.
- You need to read JavaScript-rendered content that
curl/wgetwill not see. - A user reports a UI bug and you need to reproduce it interactively to capture console errors, network requests, or layout state.
- You need to walk through a short flow (load page, click, observe) to verify acceptance criteria.
When not to use
- The page is reachable as static HTML. Use
curl/HTTP fetch — it is cheaper, faster, and more reliable. - The task is unattended large-scale scraping. That belongs to a dedicated scraper with rate limits, robots.txt handling, and a real user agent policy — not this skill.
- The site is behind authentication you do not own credentials for, or whose terms of service prohibit automation.
- The site involves sensitive accounts (banking, healthcare, government) where automation risks lockout or compliance issues.
Before launching the browser
- Confirm the URL and what state should be true after navigation.
- Decide what evidence is needed: full-page screenshot, viewport screenshot, console log, network trace, HTML snapshot, extracted text.
- Decide the viewport size that matters for the task (mobile vs desktop). Default to a desktop size unless the task is mobile-specific.
- For local dev servers, confirm the server is running and the port is what you expect.
Driving the browser
A typical verification session:
- Launch with a real-looking user agent when the target is the public internet; an unrealistic UA flags automation traffic.
- Set a sane viewport (e.g., 1366×768 desktop, 390×844 iPhone-ish).
- Navigate and wait for the right signal. Prefer waiting for a specific selector or network-idle over arbitrary sleeps.
- Capture evidence immediately after the wait condition succeeds, before any interaction perturbs the state.
- Interact deliberately. One click at a time, with a wait between actions; re-screenshot after each meaningful state change.
- Read the console and network panels for unexpected errors, 4xx/5xx responses, or slow requests.
- Close the browser cleanly when done. Long-running browser sessions leak memory and hold ports.
What evidence to record
For a verification task, deliver:
- A full-page or viewport screenshot of each meaningful state.
- The console log, filtered to warnings/errors.
- Any non-2xx network response with the URL, status, and a short response body excerpt.
- A short narration: "Navigated to X, observed Y, clicked Z, observed W."
For a UI bug repro, also record:
- The exact reproduction steps the user can follow.
- Viewport size and (where relevant) device pixel ratio.
- Whether the bug reproduces on first load vs after interaction.
Login-gated pages
- Prefer programmatic auth (API token, magic link) over UI login.
- If UI login is the only path, the user must provide credentials explicitly for this run. Never reuse credentials outside the session.
- Do not store credentials in the session log, screenshot, or returned output.
Performance and politeness
- Throttle to one navigation per few seconds when touching shared infra.
- Respect
robots.txtfor public sites you are inspecting at any volume. - Cancel navigations if a page exceeds a reasonable timeout (e.g., 30s); the page is broken or rate-limiting you.
- Do not retry forever on failure. Retry once with a longer timeout, then escalate.
Common failure modes
- Selector not found. Page changed, or you are waiting before render. Take a screenshot to see actual state; adjust the selector.
- Click does nothing. The element is offscreen, covered by a modal, or in a shadow DOM. Scroll into view or pierce the shadow root.
- Headless detection. Some sites detect headless Chrome and serve a different page. Use a non-headless mode or a fingerprint-realistic configuration only when authorized.
- Cross-origin iframe blocking. Iframes you do not own cannot be inspected; the page must offer the data outside the iframe or the task is infeasible.
Anti-patterns
- Long unsupervised browser sessions that drift from the original task.
…
Câu hỏi thường gặp
Tôi có thể dùng để tải nhiều file từ một website không?
Không, agent này dùng để kiểm tra những điều cụ thể, không tự động tải hoặc thu thập dữ liệu hàng loạt.
Nó có thể đăng nhập vào các website yêu cầu đăng nhập không?
Có, nhưng bạn cần cung cấp tên người dùng và mật khẩu tại thời điểm đó, và nó không lưu thông tin này. Đừng dùng cho các trang nhạy cảm như ngân hàng.
Nó làm gì nếu website không tải được?
Nó chờ một khoảng thời gian hợp lý, và nếu trang vẫn không tải, nó dừng lại và báo cáo sự cố.
Chi tiết
Mô tả gốc của tác giả
Drive a real browser to inspect or interact with a web page or app — navigate, take screenshots, read console and network, fill simple forms — for verification tasks, not unattended automation.
repo: paperclipai/paperclip
Độ phổ biến
- Sao GitHub
- 103k
- Vị trí xếp hạng
- #806
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
delegate-work
103kGiúp agent giao việc cho agent khác. Hữu ích để chia nhỏ các tác vụ phức tạp và theo dõi tiến độ có tổ chức.
follow-up-results
103kGiúp agent kiểm tra kết quả từ các công việc trước. Hữu ích để theo dõi tiến độ tác vụ và thêm phản hồi từ con người.
review-my-team
103kGiúp agent rà soát nhóm đã kết nối. Hữu ích để có bản tóm tắt về nhóm, tác vụ, điểm nghẽn và các phê duyệt đang chờ.
paperclip-task-bridge
103kGiúp agent tạo và quản lý tác vụ trên nền tảng khác. Hữu ích để làm việc trực tiếp với các hệ thống quản lý dự án.
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.