jet-browser
Skill này làm gì
Jet Browser là chương trình tạo ra môi trường an toàn và cách ly để chạy các website. Nó cho phép bạn kiểm tra cách một website hoạt động trong một trình duyệt sạch, chụp “ảnh” các trang và tương tác với các phần tử như một người dùng thật, tất cả trong một môi trường có kiểm soát.
Khi nào nên dùng
- ✓Khi bạn cần kiểm thử một website trong một môi trường sạch và cách ly.
- ✓Để chụp “ảnh” (ảnh chụp màn hình) các trang web tự động.
- ✓Để tự động hóa các tác vụ lặp lại trên website, như điền biểu mẫu.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/jet-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
“Tôi muốn kiểm thử cách website X hoạt động trong một trình duyệt cách ly và chụp ảnh màn hình trang chính.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Nó tạo ra một “container” (hộp cách ly) nơi một trình duyệt đặc biệt (WebKit) chạy. Bạn gửi lệnh cho nó, như “đi đến trang này” hoặc “nhấn vào đây”, và nó trả về kết quả, chẳng hạn như hình ảnh hoặc thông tin về trang.
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.
Jet Browser
Overview
Use Jet Browser as a replaceable browser-runtime boundary for an agent or deterministic test runner. It runs one isolated WPE WebKit session per container and exposes ordered JSONL commands for navigation, native input, semantic inspection, screenshots, and cleanup.
Keep model selection, reasoning, credentials, and orchestration in the calling project. Jet Browser is a browser runtime, not an agent framework, hosted proxy network, anti-bot service, or bridge to a user's personal Chrome profile.
When to Use This Skill
- Use when a project needs a self-hosted browser process with an explicit container lifecycle.
- Use when a harness needs framework-neutral, ordered JSONL instead of a bundled agent loop.
- Use when native pointer, keyboard, touch, DOM, and screenshot evidence should share one runtime.
- Use when a repository needs a reproducible offline smoke test or GitHub Actions browser-runtime check.
- Do not use this skill to control an already-running personal Chrome or reuse its logged-in state; use the environment's permission-approved CDP workflow for that.
Safe Setup and Verification
1. Establish the boundary before downloading
Confirm that the user wants a separate Jet Browser container rather than their daily browser. Check for Docker and Node.js 24+, and report a missing requirement instead of claiming the runtime was verified.
For a new checkout or upgrade, identify an immutable release or full commit, inspect the repository's package.json, lifecycle scripts, lockfile, Dockerfiles, executable files, symlinks, network access, and credential handling, and summarize what will run. Obtain explicit approval before downloading and again before installing dependencies, building images, or starting containers. A Git commit pin provides reproducibility, not proof of trust.
The v0.9.0 source commit reviewed for this catalog entry is:
b0867303260212eaeb427970b9a7fc6f8eed2fe1
Review a newer source tree independently before changing that pin.
2. Run the standalone acceptance flow
After the approvals above, install the pinned source's exact lockfile dependencies and run its standalone check:
npm ci
npm run standalone
Treat the command's observed JSON result as the acceptance check. A passing run must start the local page, verify the JavaScript marker, type through the native input path, capture a PNG, keep the smoke browser's outbound network disabled, and shut the container down cleanly.
For source changes, also run:
npm test
cargo test --all-targets
Never report a pass when Docker, Node.js, the image build, browser startup, native input, DOM verification, screenshot capture, or cleanup did not actually complete.
3. Integrate the documented contract
Read docs/demo.md for the container lifecycle and docs/agent-tools.md for model-facing declarations. Prefer the versioned declarations exported by sdk/tools.mjs; do not invent tool names, input fields, or response shapes.
Send one JSON command per line and consume one JSON response per line. Preserve ordering, bound inputs and outputs in the calling harness, and close the session in guaranteed cleanup. Keep one container per mutually untrusted session, mount profile or download paths explicitly, and never pass unrelated host credentials into the container.
Use semantic evidence for target selection and screenshots for visual verification when both are available. Treat evaluation, imported profiles, downloads, and outbound network access as privileged capabilities that require the calling application to define its own authorization and policy gates.
Examples
Example 1: Verify a pinned source checkout
After inspecting the pinned source and receiving the required approvals:
git clone --filter=blob:none --no-checkout https://github.com/masakaai/jet-browser.git
git -C jet-browser checkout --detach b0867303260212eaeb427970b9a7fc6f8eed2fe1
cd jet-browser
npm ci
npm run standalone
Report the exact command result and which acceptance assertions ran. Do not translate a partial build or startup log into a successful verification.
Example 2: Verify Jet Browser in GitHub Actions
Pin the Action to the reviewed full commit rather than a moving branch or tag:
permissions:
contents: read
jobs:
verify-browser-runtime:
runs-on: ubuntu-latest
steps:
- name: Verify Jet Browser
…
Câu hỏi thường gặp
Tôi có cần cài Chrome không?
Không, Jet Browser dùng một phiên bản trình duyệt khác gọi là WebKit, chạy trong môi trường cách ly của riêng nó.
Tôi có thể dùng tài khoản đã đăng nhập trên Chrome thông thường không?
Không, Jet Browser hoàn toàn tách biệt khỏi trình duyệt cá nhân của bạn. Nó không truy cập tài khoản hay lịch sử của bạn.
Dùng có an toàn không?
Có, nó được thiết kế để an toàn vì chạy trong môi trường cách ly và không chia sẻ thông tin với trình duyệt chính của bạn. Quan trọng là luôn kiểm tra nguồn gốc chương trình trước khi dùng.
Chi tiết
Mô tả gốc của tác giả
Verify or integrate Jet Browser when a project needs isolated WPE WebKit sessions, native input, screenshots, ordered JSONL automation, or reproducible runtime checks.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4989
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của 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.