Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
T

TheRogue76/macos-harness

Lets coding agents (Claude Code, Codex, pi and others) see and operate macOS apps: screenshots, the…

Before you install: no copy-paste command · no license recorded · link reachable

First step: brew install --cask therogue76/tap/macos-harness

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · redirects to github.com
Star count
6 ★ · TheRogue76/macos-harness · read from the repository page · (checked 2026-11-13 20:00:50)
Source
read directly from its GitHub page · type: open-source project
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 1 sources
Score
score 103 · 6 ★ · 1 sources · repo
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository TheRogue76/macos-harness;first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# macos-harness

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Lets coding agents (Claude Code, Codex, pi and others) see and operate macOS apps, iOS
Simulators and Android emulators and phones: screenshots, the element tree, clicks and taps,
typing, menus and windows. It's the Mac counterpart of the iOS Simulator tools some agents
already have, and gives every agent those simulator tools too, plus Android, with an element
tree.
Agents work through accessibility first, so your cursor stays put. Clicks and scrolls on
things accessibility can't press go to the window in the background where the app accepts
them. When they have to, agents use the real mouse and keyboard (drags, hovers, clicks the
app ignores in the background, typing) behind guard rails, and you can stop them at any
moment.
https://github.com/user-attachments/assets/bc87ab18-c768-4d3e-85a3-fe866112ebc8
A scripted agent reads Calculator's element tree and works out 7 × 6, types into a
TextEdit window behind another one, double-clicks with the real mouse, searches Wikipedia in
Safari, and stops when the user presses ⌃⌥⌘.
## Install
Requires macOS 15 or later, on Apple silicon or Intel. Every change is built and tested on
macOS 15 and 26, on both.
bash
brew install --cask therogue76/tap/macos-harness
To upgrade, refresh the tap first: brew update && brew upgrade --cask macos-harness.
Then check it and grant its two permissions:
bash
macos-harness doctor
The macOS Harness menu bar app opens a setup window: turn on Accessibility and
Screen Recording for it, then choose Restart Helper from its menu. Run doctor again
until everything is green.
## Connect your agent
bash
macos-harness setup claude
setup shows what it will change and asks first. Use codex, cursor, gemini or
opencode for those agents, or pi to install the skill for pi; macos-harness setup
alone shows what's connected. All but pi get an MCP server; pi and any other shell-based
agent use the CLI directly.
The first time each agent uses macOS Harness, the menu bar asks you to allow it, once.
## What agents can do
See any app's windows as an element tree with click points, screenshots of one
window, menus and menu bar extras, and only what changed since the last look.
Act through accessibility (press, type, set values, choose menu items) without
touching your cursor, with clicks and scrolls sent to the window in the background, and
the real mouse and keyboard only when nothing else works. Every action reports what
changed.
Check your own app: build --run builds a Mac app with xcodebuild, replaces the
running copy and returns its windows, ready to look at and act on.
Drive iOS Simulators and Android emulators and phones with the same commands, and
build and run iOS apps.
Repeat checks as YAML flows, export an agent's session as one, and run them in CI.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/therogue76-macos-harness/)
Source
github · https://github.com/TheRogue76/macos-harness
Browse by field
Open source
Traction
6 ★
added
today

More like this

All 1,671 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index