Interceptor Macos logo

Interceptor Macos

Organization
Hacker-Valley-Media
interceptor-macos

Drive native macOS apps via interceptor macos *: AX trees, background click/type/keys/drag/scroll, occluded or minimized window capture, browser chrome, URL bars, OS dialogs, Apple Events, trusted OS input, monitor/replay, overlays, vision, speech, NLP, JSC host utilities, Electron app web-content control via interceptor macos cdp, and in-process app runtime control via interceptor macos runtime. Background-first by contract; only app activate and open --activate move focus. Use for native apps, named browser app routing, window control, cross-app work, and system UI. Not for content inside browser pages.

Overview

PublisherHacker-Valley-Media
RepositoryInterceptor
Skill nameinterceptor-macos
Stars
526
Forks
76
Bundled files
18
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 18 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Hacker-Valley-Media on GitHub. Read the source before you install it.

Installation

Install the Interceptor Macos AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Hacker-Valley-Media/Interceptor/tree/main/.agents/skills/interceptor-macos
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Hacker-Valley-Media/Interceptor.git /tmp/Interceptor
mkdir -p .claude/skills
cp -r /tmp/Interceptor/.agents/skills/interceptor-macos .claude/skills/interceptor-macos
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Interceptor Macos in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Interceptor Macos on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Interceptor Macos is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Interceptor macOS

Agent-operator skill for the macOS surface of Interceptor. Use the interceptor macos * CLI to drive native macOS applications: AX trees, OS-level trusted input, capture / vision / speech / NLP / Apple Events, monitor-and-replay, overlays. Use interceptor macos cdp / interceptor macos cdp app for Electron app web contents, and interceptor macos runtime for in-process native app runtime control. For content inside a browser tab load interceptor-browser instead.

The macOS bridge is a Swift daemon launched as a LaunchAgent / .app bundle. It uses Apple frameworks including Accessibility, ScreenCaptureKit, AVFoundation, Speech and Vision. Some existing capture and runtime paths also use private CGS symbols or injected runtime access. Check the surface reference and actual capability result; public framework support does not guarantee every private path works on every OS release.

This installed skill is self-contained. Source checkouts also have AGENTS.md, but packaged users may only have the skill directory below /Library/Application Support/Interceptor/skills.

Installed extensions may add capabilities under interceptor macos <prefix> <cmd>. Each carries its own skill (interceptor-ext-<name>); this skill does not describe them. Run interceptor extensions list to see what is installed.

Fast Path

bash
interceptor status                       # 1. Confirm daemon + bridge are alive
interceptor macos trust                  # 2. Confirm TCC permissions granted
interceptor macos open "Finder"          # 3. Tree + windows (background — does NOT raise Finder)
interceptor macos read                   # 4. AX tree + frontmost info
interceptor macos act e5                 # 5. AX press of ref e5 — no focus change
interceptor macos act e3 "hello"         # 6. AX value-set of ref e3 — no focus change

Treat eN refs as short-lived. AX state can change between calls; re-read before acting.

The One Rule

Only two commands move focus: interceptor macos app activate <app> and interceptor macos open <app> --activate. Everything else is background-first by contract — open (without --activate), all input verbs, all reads, capture, AX, menu, intent dispatch, scroll, drag, vision, overlays. If you call any other command and the user's frontmost app changes, that is a bug — file it.

The user is on this Mac too. Assume the person is working while you work. Never run either focus command to make your own work easier or to test something. Use one only when the user asks for the app to come forward, or when the action truly cannot be done in the background, and then say so first, keep it to one fast batch, and put back the frontmost app and the cursor.

What is truly foreground-only today: launching an app that is not running (it can come forward even from open without --activate, and an app updater can raise a password prompt), and a click or drag on a minimized window or hidden app. Everything else has a background route: refs, --app / --pid / --window, and interceptor click <ref> --trusted for a page in an unfocused browser window.

Full contract + verb inventory + worked examples + pitfalls: references/background-first.md.

Workflows

Each workflow is a complete self-contained "you are doing X" procedure. Open the file when the task matches.

WorkflowWhen to invoke
workflows/capture-backgrounded-app.mdScreenshot an occluded / minimized / cross-Space window — without activating it
workflows/drive-backgrounded-app.mdClick / type / keys / drag / scroll against a non-frontmost app via AX refs or window-addressed delivery (--app, --window)
workflows/dispatch-apple-event.mdApple Events to a named bundle id — open URL in Brave, read active tab, etc.
workflows/read-ax-tree.mdtree --app of any app, with automatic Electron wake-up
workflows/record-and-replay-mac-flow.mdmacos monitor record + export + replay native UI flows
workflows/trusted-input-gate.mdSatisfy an OS-level trusted-input gate that filters synthetic CGEvents
workflows/clear-human-verification-gate.mdClear a CAPTCHA / human-verification gate (reCAPTCHA, Turnstile, hCaptcha, generic) in the user's own signed-in session with a trusted click delivered to the browser window in the background

References

FileTopic
references/background-first.mdFull Background-First contract, verb inventory, reflexes-to-drop, pitfalls
references/accessibility-and-input.mdAX tree mechanics, input routing, window control, credential delivery by name (--secret)
references/capture-and-vision.mdScreenCaptureKit + CGS capture, Vision OCR, audio intelligence
references/advanced-domains.mdApple Events, container runtime, OS log, fs, URL fetch, file watch
references/jsc-host.mdPlain JavaScriptCore host capabilities, flags, scope rules, and pitfalls
references/monitor-and-replay.mdNative monitor sessions, replay plans, event sources
references/command-catalog.mdFull macOS command surface with flags and examples
references/permissions.mdTCC permissions, microphone re-poll, Dock-icon notes
references/cdp-app.mdElectron/Chromium desktop apps via interceptor macos cdp / interceptor macos cdp app
references/native-agent.mdIn-process native app runtime control via interceptor macos runtime

When To Switch Surfaces

If the target is inside a browser page (DOM, network, SPA state, browser monitor, scene graph of a rich editor) - load interceptor-browser instead.

If the target is inside an Electron/Chromium desktop app's web contents (Slack, VS Code, Notion, Descript, etc.) - use references/cdp-app.md, not AX screenshots.

If the target is inside a native app's runtime (AppKit/SwiftUI object graph, selector calls, rendered text changes, hooks, MapKit state) - use references/native-agent.md. AX is still the fallback projection when the in-process agent is unavailable.

Do Not Default To Troubleshooting

  • User wants a macOS task completed → run Interceptor commands.
  • User wants Interceptor fixed, installed, or explained → that's a separate task; ask before diving into repo state.
  • Inside the Interceptor repo, use this skill for live macOS validation, not as the primary source of repo-development instructions.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Interceptor Macos AI skill do?

Drive native macOS apps via interceptor macos *: AX trees, background click/type/keys/drag/scroll, occluded or minimized window capture, browser chrome, URL bars, OS dialogs, Apple Events, trusted OS input, monitor/replay, overlays, vision, speech, NLP, JSC host utilities, Electron app web-content control via interceptor macos cdp, and in-process app runtime control via interceptor macos runtime. Background-first by contract; only app activate and open --activate move focus. Use for native apps, named browser app routing, window control, cross-app work, and system UI. Not for content inside...

Why use Interceptor Macos on TypingMind?

Because you install it once and use it with any model. Interceptor Macos is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Interceptor Macos in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Hacker-Valley-Media/Interceptor/tree/main/.agents/skills/interceptor-macos. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Interceptor Macos?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Interceptor Macos?

As many as you like. As long as a model supports skills, you can use Interceptor Macos with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Interceptor Macos AI skill free?

It is published on GitHub by Hacker-Valley-Media. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇