Interceptor
यह क्या करती है
यह स्किल एक असली browser और Mac ऐप्स को नियंत्रित करती है, ताकि एजेंट पेज खोल सके, क्लिक कर सके, स्क्रीन पर जो है उसे पढ़ सके और स्क्रीनशॉट ले सके। यह उन डेवलपरों के लिए है जिन्हें पक्का करना है कि साइट या ऐप सचमुच काम करता है, सिर्फ़ इतना नहीं कि उसके टेस्ट पास हैं।
कब इस्तेमाल करें
- ✓जब आपको डिप्लॉय के बाद पक्का करना हो कि वेबसाइट सही दिखती है।
- ✓जब कोई पेज console त्रुटियाँ या खाली सामग्री दिखाए और आप उसे डीबग करना चाहते हों।
- ✓जब आपको किसी खास स्क्रीन चौड़ाई पर पेज का स्क्रीनशॉट चाहिए।
Skill का लिंक
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Interceptor/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“जाँचिए कि नई प्राइसिंग पेज डेस्कटॉप और फ़ोन की चौड़ाई पर लोड होता है, और लेआउट की कोई समस्या हो तो बताइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल browser को एक अलग टेस्ट प्रोफ़ाइल में चलाती है, ताकि आपके अपने सेशन और विंडो अछूते रहें। वह पेज की संरचना, console और network स्थिति पढ़ती है, और स्क्रीनशॉट लेती है, जिन्हें किसी बात को सही कहने से पहले जाँचती है।
तकनीकी सामग्री (मूल 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 |
अक्सर पूछे जाने वाले सवाल
क्या यह मेरा निजी browser लॉगिन इस्तेमाल करेगी?
नहीं। कार्रवाइयाँ एक अलग टेस्ट प्रोफ़ाइल में चलती हैं, और आपकी डिफ़ॉल्ट प्रोफ़ाइल व विंडो को नहीं छुआ जाता।
क्या यह लॉगिन संभालती है?
यह कदम खुद चला सकती है, पर किसी ऐसे रहस्य या सहमति स्क्रीन पर रुक जाती है जो उसके पास नहीं है, ताकि आप उसे मंज़ूरी दे सकें।
क्या यह अलग-अलग चौड़ाइयों पर स्क्रीनशॉट ले सकती है?
हाँ। आपके बताए हर चौड़ाई के लिए एक स्क्रीनशॉट लेती है, आमतौर पर 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
कमेंट
- …
इस repository की और skills
LifeOS
20kआपके एजेंट को LifeOS सेट करने में मदद करती है, एक निजी प्रणाली जो एक इंटरव्यू और डैशबोर्ड से आपकी मौजूदा स्थिति को आपके आदर्श लक्ष्य से जोड़ती है।
AnnualReports
20kआपके एजेंट को प्रमुख विक्रेताओं की साइबर सुरक्षा वार्षिक रिपोर्ट खोजने और तुलना करने में मदद करती है, जैसे उल्लंघन और ransomware के रुझान, हर आँकड़े के स्रोत के साथ।
ApertureOscillation
20kआपके एजेंट को एक डिज़ाइन सवाल को संकीर्ण और व्यापक दायरे में परखना सिखाती है, फिर बनाने से पहले बताना कि दोनों जवाब कहाँ टकराते हैं।
Aphorisms
20kआपके एजेंट को एक चुने हुए संग्रह से श्रेय वाले उद्धरण खोजने, मिलाने और उनका रिकॉर्ड रखने देती है, और हाल में आपके न्यूज़लेटर में इस्तेमाल हुए उद्धरण छोड़ देती है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।