Interceptor
Что он делает
Управляет настоящим браузером и приложениями на Mac, чтобы агент мог открывать страницы, нажимать, читать то, что на экране, и делать скриншоты. Он нужен разработчикам, которым надо убедиться, что сайт или приложение работает, а не только что проходят их тесты.
Когда использовать
- ✓Когда нужно убедиться, что сайт выглядит правильно после развёртывания.
- ✓Когда страница выводит ошибки в консоли или пустой экран, и вы хотите её отладить.
- ✓Когда нужен скриншот страницы определённой ширины экрана.
Ссылка на скилл
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Interceptor/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проверь, что новая страница с ценами открывается в ширине десктопа и телефона, и расскажи о любых проблемах с версткой.”
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
- Обновлён
- 28.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
LifeOS
20kПомогает вашему агенту настроить LifeOS, личную систему, которая через интервью и панель сопоставляет ваше текущее состояние с желаемым.
AnnualReports
20kПомогает вашему агенту находить и сравнивать ежегодные отчёты по кибербезопасности, с источником для каждой цифры.
ApertureOscillation
20kУчит вашего агента проверять один вопрос по проекту в узком и широком масштабе, а затем называть места, где два ответа расходятся, до начала сборки.
Aphorisms
20kПомогает вашему агенту находить, подбирать и вести учёт цитат с указанием автора из подборки, не повторяя недавно использованные.
Похожие скиллы
test-driven-development
311kУчит агента сначала писать падающий тест, увидеть, что он падает, и только затем писать минимальный код, который его проходит, прежде чем создавать любую функцию или исправление.
verification-before-completion
311kУчит агента запускать настоящие проверки и читать их вывод, прежде чем утверждать, что задача, исправление или сборка готовы или проходят.
migrate-to-shoehorn
310kЗаменяет рискованные приведения типов в тестовых файлах на библиотеку shoehorn, чтобы тесты могли использовать неполные данные и проходить проверку типов.