Interceptor
Skill này làm gì
Điều khiển trình duyệt thật và các ứng dụng Mac để agent có thể mở trang, bấm, đọc những gì hiển thị và chụp ảnh màn hình. Skill dành cho nhà phát triển cần xác nhận website hoặc ứng dụng hoạt động, chứ không chỉ là các test của nó đạt.
Khi nào nên dùng
- ✓Khi bạn cần xác nhận một website hiển thị đúng sau khi triển khai.
- ✓Khi một trang hiện lỗi console hoặc nội dung trắng và bạn muốn gỡ lỗi.
- ✓Khi bạn cần ảnh chụp màn hình của trang ở một chiều rộng màn hình cụ thể.
Liên kết skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Interceptor/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
“Kiểm tra trang giá mới có tải trên màn hình máy tính và điện thoại không, và cho tôi biết các vấn đề bố cục nếu có.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy trình duyệt trong một profile thử nghiệm cách ly, nên các phiên và cửa sổ cá nhân của bạn không bị ảnh hưởng. Nó đọc cấu trúc trang, trạng thái console và mạng, và chụp ảnh màn hình mà nó kiểm tra trước khi khẳng định bất cứ điều gì hoạt động.
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.
Interceptor
Contents: Ideal State · Intent Routing · Data & Config · Gotchas · Examples
Drives the real Chrome test profile and native macOS apps through the interceptor CLI and guarded wrappers.
Ideal State
- Every browser action ran in the pinned isolated test context, only after that run's preflight gate exited 0; the operator's Default profile, windows and focus are untouched, and a gate failure ends the run instead of falling back.
- Browser work the operator would otherwise do by hand (open, click, fill, log in) was driven by the agent, up to the single step that needs a secret it does not hold or an OAuth or consent screen, where the operator sees the client, scopes and account and approves.
- Every "verified", "works" or "fixed" claim cites evidence from the real page or app: a structured read, console and network state, and a
Tools/Capture.shscreenshot that was read; motion and lifecycle claims come fromTools/VerifyViewport.tsor a ScrubFlow gallery. - A capture request gets one screenshot per width it names (usually 1440 and 390), each read back and confirmed to be the requested page, not another tab's or session's, and every element the request names is reported present or absent.
- A page called verified or live was judged as a whole at each width: overlapping, clipped or misplaced layout (cards over the header, a cut-off top) fails the claim even when the requested element is present.
- A fine-detail claim (logo, glyph, icon, a figure's limbs, hands and grip) rests on a
Tools/Zoom.tscrop of the full-resolution capture, so an extra arm cannot pass on a downscaled view. - When Interceptor could not deliver evidence, the report says verification was not captured; it never substitutes
screencapture,osascriptor file existence for visual evidence. - Native-app work leaves the frontmost app unchanged, shown by
frontmostbefore and after, and the tabs a run opened in the test profile are closed when it ends.
Intent Routing
Before an intent runs, load its bundle:
bun "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/LIFEOS/TOOLS/ContextLoad.ts" Interceptor load BUNDLE
Follow every requirement it returns; guide paths are relative to the skill root. Reload after compaction or a source change. Any truncation warning means the load failed, even if the END CONTEXTLOAD marker survived.
list shows sections and bundles; search "query" searches the indexed source; a failed search proves nothing (broaden it or load full). If the loader fails, read References/CompleteGuide.md and the relevant intent directly; never proceed on a partial load.
| Task | Bundle |
|---|---|
| Browser reads, interaction, or screenshot verification | verify |
| Motion, responsive behavior, or hidden-tab issues | motion |
| Native macOS application operations | native |
| Installation, platform troubleshooting, delegation, or a task no bundle fits or you are unsure of | full |
| Intent | Trigger | File |
|---|---|---|
| LaunchTestProfile | "test profile", "launch test profile", "isolated browser", "separate Chrome window", "start interceptor-test" | Intents/LaunchTestProfile.md |
| VerifyDeploy | "verify deploy", "check deploy", "confirm deploy", "deploy verification" | Intents/VerifyDeploy.md |
| ScrubFlow | "scrub flow", "record flow to video", "motion bug", "animation jank", "transition stutter", "flicker", "flow gallery", "catch motion a screenshot misses" | Intents/ScrubFlow.md |
| Reproduce | "reproduce", "reproduce bug", "debug page", "check page", "blank screen" | Intents/Reproduce.md |
| ReadAndExtract | "extract value", "read page", "pull a fact", "SPA state" | Intents/ReadAndExtract.md |
| DriveRichEditor | "drive Canva", "drive Docs", "drive Slides", "rich editor", "scene", "scene graph", "canvas-rendered" | Intents/DriveRichEditor.md |
| OverrideXhr | "override request", "request override", "force 500", "rewrite response", "mutate XHR" | Intents/OverrideXhr.md |
| ScreenshotForVlm | "screenshot for VLM", "VLM screenshot", "agent screenshot", "WebP 1568" | Intents/ScreenshotForVlm.md |
| MultiPageCompare | "compare pages", "multi-page compare", "facts across N pages", "designed by X vs Y" | Intents/MultiPageCompare.md |
| CaptureBackgroundedApp | "screenshot of Brave / Signal / Mail / X", "capture backgrounded app", "capture occluded window" | Intents/CaptureBackgroundedApp.md |
| DriveBackgroundedApp | "scroll Mail / type int |
Câu hỏi thường gặp
Nó có dùng đăng nhập trình duyệt cá nhân của tôi không?
Không. Mọi thao tác chạy trong một profile thử nghiệm cách ly, còn profile mặc định và các cửa sổ của bạn không bị động vào.
Nó có xử lý đăng nhập không?
Nó có thể tự thực hiện các bước, nhưng dừng lại trước bất kỳ bí mật nào nó không có hoặc bất kỳ màn hình đồng ý nào, để bạn có thể phê duyệt.
Nó có chụp ảnh màn hình ở các chiều rộng khác nhau không?
Có. Nó chụp một ảnh cho mỗi chiều rộng bạn chỉ định, thường là 1440 và 390 pixel.
Chi tiết
Mô tả gốc của tác giả
Real Chrome plus macOS Computer Use from inside the browser, real sessions; mandatory for visual deploy verification. USE WHEN verify deploy, confirm UI, screenshot verification, debug web, visual check, animation bug, console errors, JS errors, network traffic, HAR export, blank-page debug, what is happening on the page, authenticated page, reproduce bug, drive native app. NOT FOR pixel-only GUI work (ComputerUse), crawling (BrightData), scraping.
repo: danielmiessler/LifeOS
Độ phổ biến
- Sao GitHub
- 20k
- Vị trí xếp hạng
- #10436
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
LifeOS
20kGiúp agent của bạn thiết lập LifeOS, một hệ thống cá nhân ánh xạ trạng thái hiện tại tới trạng thái lý tưởng qua một cuộc phỏng vấn và một bảng điều khiển.
AnnualReports
20kGiúp agent của bạn tìm và so sánh báo cáo an ninh mạng thường niên từ các nhà cung cấp lớn, như xu hướng vi phạm và ransomware, có nguồn cho mọi số liệu.
ApertureOscillation
20kDạy agent của bạn kiểm tra một câu hỏi thiết kế ở phạm vi hẹp và phạm vi rộng, rồi chỉ ra chỗ hai câu trả lời mâu thuẫn trước khi bạn xây dựng.
Aphorisms
20kCho phép agent của bạn tìm, ghép và theo dõi các câu trích dẫn có ghi tác giả từ một bộ sưu tập được chọn lọc, tránh những câu vừa được dùng trong bản tin.
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.