bgclick-rev

bgclick-rev is a skill for Claude Code, Codex from olo-dot-io/Uni-CLI. It costs 56 tokens per session (916 once invoked), scanned A, original, Apache-2.0.

A research procedure for examining how a macOS app performs background clicks and reproducing that behavior in Swift. Background clicking means sending mouse events to an app without bringing it to the front.

In plain words
What is it for?
Use it only with a supplied macOS app when IDA Pro and its integration are available and the task specifically requires reverse engineering the background-click behavior.
Why use it?
It provides an evidence-based way to understand the app's internal event path instead of relying on assumptions. It also records the binary findings and reproduction plan for later testing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it only with a supplied macOS app when IDA Pro and its integration are available and the task specifically requires reverse engineering the background-click behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/olo-dot-io/uni-cli/bgclick-rev
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add olo-dot-io/Uni-CLI --skill bgclick-rev
Clone the repo
git clone --depth 1 https://github.com/olo-dot-io/Uni-CLI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bgclick-rev

README.md
[![agentmods](https://agentmods.dev/badge/skills/olo-dot-io/uni-cli/bgclick-rev/github.svg)](https://agentmods.dev/skills/olo-dot-io/uni-cli/bgclick-rev)
Your own site
<a href="https://agentmods.dev/skills/olo-dot-io/uni-cli/bgclick-rev"><img src="https://agentmods.dev/badge/skills/olo-dot-io/uni-cli/bgclick-rev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bgclick-rev

Your own site · 80×15
<a href="https://agentmods.dev/skills/olo-dot-io/uni-cli/bgclick-rev"><img src="https://agentmods.dev/badge/skills/olo-dot-io/uni-cli/bgclick-rev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00916
Opus 5.5 $0.00022 $0.00366
Sonnet 5.5 $0.00011 $0.00183
Haiku 4.5 $0.00006 $0.00092

Measured 1mo ago against content hash 82adb95f0f0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bgclick-rev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bgclick-rev/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Background-Click Reverse Engineering

Use this skill only for research on a user-provided macOS .app. If IDA Pro or IDA MCP is unavailable, stop early and explain the blocker. Do not modify Uni-CLI source code from this skill; write research artifacts and reproduction code only after the binary evidence is gathered.

Outputs

Create a research bundle under <workspace>/research/:

  • SHARED-CONTEXT.md with target paths, bundle IDs, signing status, IDA MCP instance mapping, and priors to verify.
  • findings/<phase-or-question>.md for call-site maps and open questions.
  • sub_<addr>-<label>.md for every decompiled function used as evidence.
  • frame-map.md for Swift async task-frame offsets.
  • FINAL-REPORT.md with behavior spec, evidence table, reproduction diff, and VM test plan.

If asked to build a reproduction, add:

  • Sources/<Module>/BackgroundClicker.swift
  • EchoApp/main.swift
  • impl-research.md with empirical VM runs.

Priors To Verify

Treat these as hypotheses until confirmed in the target binary:

  • Events are posted with CGEvent.postToPid(_:).
  • The synthetic event starts as NSEvent.mouseEvent(...), then uses event.cgEvent.
  • Explicit integer fields are 3 button, 7 subtype value 3, 91 window under pointer, and 92 window that can handle the event.
  • Screen location is set, read back, translated by the target window origin, and written with CGEventSetWindowLocation resolved by dlsym.
  • Background targets receive CGEventFlags.maskCommand (0x00100000), not the non-coalesced flag.
  • CGWindowID comes from CGWindowListCopyWindowInfo(.optionOnScreenOnly, kCGNullWindowID) filtered by owner PID.
  • Do not double-write fields already populated by NSEvent.cgEvent.
  • The click path should not activate the target app through AppKit, AX frontmost setters, or SLS/CGS private activation APIs.

Workflow

  1. Triage the .app: locate main executable and helper apps, record codesign -d --entitlements -, nm -u, and relevant Mach-O paths.
  2. Confirm IDA MCP instances and map each instance to a binary in SHARED-CONTEXT.md.
  3. Audit service binary call sites upward from CGWindowListCopyWindowInfo, CGWindowListCreateDescriptionFromArray, AX APIs, screen-capture APIs, dlsym, and dlopen.
  4. Identify the dispatch function that logs or formats the click dispatch message, then trace the Swift async continuation chain into the synthesizer.
  5. For each decompiled function used, write research/sub_<addr>-<label>.md with a one-line verdict, trimmed evidence, frame writes, and Swift equivalent.
  6. Resolve dyld-hash wrappers to concrete CoreGraphics symbols. Verify with dlsym on a comparable macOS host when possible.
  7. Produce findings/cgevent-fields.md mapping every explicit setIntegerValueField write to SDK constants and source expressions.
  8. Hunt open questions independently. Each finding file starts with a one-sentence verdict and includes evidence addresses.
  9. Build BackgroundClicker.swift only from verified behavior. Use public AppKit/CoreGraphics APIs plus dlsym for CGEventSetWindowLocation.
  10. Validate in a VM with an EchoApp counter window. Record window number, screen point, window-local point, activation state, and pass/fail in impl-research.md.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 58 lines · 56 tokens per session scan A 82adb95f0f0f

Subscribe to this mod's changes

bgclick-rev is a skill published in the GitHub repository olo-dot-io/Uni-CLI (232 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 916 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens

pinchtab-dev

Develop and contribute to the PinchTab project. Use when working on PinchTab source code, adding features, fixing bugs, running tests, or preparing PRs. Triggers on "work on pinchtab", "pinchtab development", "contribute to pinchtab", "fix pinchtab bug", "add pinchtab feature".

pinchtab/pinchtab · 77 tokens

devharness

Drive and debug a running app via the devharness MCP server - launch or attach to Chrome and Node.js, set breakpoints and logpoints, inspect call stacks and variables, watch console and network, manage dev servers, replay any earlier tool call by its history index, and record reproduction sequences that verify a fix.…

InDate/devharness · 147 tokens

deep-reverse

Use only for explicit web or API protocol reverse engineering: endpoint discovery, request replay, signature/token/encryption analysis, JavaScript runtime tracing, browser-independent reproduction, or crawler implementation that must not depend on browser automation. Do not use for one-off visible-page extraction or…

KuiChi-x/reverseloom · 61 tokens

control-my-browser

Drive the user's own Chrome through the Empir3 Bridge: open a page, read it, click, type, and verify. Use whenever a task involves a website or web app the user is signed into, or any browsing, form filling, screenshot or page check. Triggers: "open my", "log in to", "fill the form", "check the page", "take a…

empir3hq/empir3-bridge · 90 tokens

use-my-desktop

Operate native Windows applications on the user's PC through the Empir3 Bridge: list and focus windows, read their controls, click, type, press keys, take DPI-aware screenshots, and work inside a region the user selects. Use when a task needs a desktop app rather than a web page. Full support is Windows; Linux with…

empir3hq/empir3-bridge · 89 tokens