Interceptor
できること
このスキルは、実際のブラウザーと Mac のアプリを制御し、エージェントがページを開き、クリックし、画面に表示された内容を読み、スクリーンショットを撮れるようにします。テストが通るだけでなく、サイトやアプリが動くことを確かめたい開発者向けです。
使う場面
- ✓デプロイの後に、ウェブサイトが正しく表示されることを確認したいとき。
- ✓ページにコンソールエラーや空白の表示があり、デバッグしたいとき。
- ✓特定の画面幅でのページのスクリーンショットがほしいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Interceptor/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“新しい価格ページがデスクトップとスマートフォンの幅で読み込まれるかを確認し、レイアウトの問題があれば教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、隔離されたテストプロファイルでブラウザーを動かすため、あなた自身のセッションやウィンドウには触れません。ページの構造、コンソール、ネットワークの状態を読み取り、何かが動くと主張する前に確認したスクリーンショットを撮ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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 |
よくある質問
個人のブラウザーのログイン情報を使いますか?
いいえ。操作は隔離されたテストプロファイルで行われ、既定のプロファイルとウィンドウには触れません。
ログインは扱えますか?
手順は自分で進められますが、自分が持っていない秘密情報や同意画面に出会ったら止まり、あなたが承認できるようにします。
画面幅を変えたスクリーンショットは撮れますか?
はい。指定した幅ごとに一枚ずつ撮ります。通常は 1440 と 390 ピクセルです。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 20k
- ランキング
- #10436
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。