Interceptor
What it does
Controls a real browser and Mac apps so an agent can open pages, click, read what is on screen and take screenshots. It is for developers who need to confirm a site or app works, not just that its tests pass.
When to use it
- ✓When you need to confirm a website looks right after a deploy.
- ✓When a page shows console errors or blank content and you want to debug it.
- ✓When you need a screenshot of a page at a specific screen width.
Skill link
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Interceptor/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check that the new pricing page loads on desktop and phone widths, and tell me about any layout problems.”
5 new skills a week. 1 minute to read.
How it works
The skill runs the browser in an isolated test profile, so your own sessions and windows are left alone. It reads the page structure, console and network state, and takes screenshots that it checks before claiming anything works.
Technical content (original SKILL.md)
Original text by the author, straight from 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 |
FAQ
Will it use my personal browser login?
No. Actions run in an isolated test profile, and your default profile and windows are untouched.
Does it handle logins?
It can drive the steps itself, but it stops at any secret it does not hold or any consent screen, so you can approve it.
Can it take screenshots at different widths?
Yes. It takes one screenshot per width you name, usually 1440 and 390 pixels.
Details
Original description by the author
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
Popularity
- GitHub stars
- 20k
- Ranking position
- #10436
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
LifeOS
20kHelps your agent set up LifeOS, a personal system that maps your current state to your ideal state through an interview and a dashboard.
AnnualReports
20kHelps your agent find and compare cybersecurity annual reports from major vendors, such as breach and ransomware trends, with a source for every figure.
ApertureOscillation
20kTeaches your agent to test one design question at a narrow scope and a wide scope, then name where the two answers clash before you build.
Aphorisms
20kLets your agent find, match, and track attributed quotes from a curated collection, avoiding ones recently used in your newsletter.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.