独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
T

TheRogue76/macos-harness

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

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:brew install --cask therogue76/tap/macos-harness

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 最终跳转到 github.com
★ 数取值
6 ★ · TheRogue76/macos-harness · 取自该仓库的 GitHub 页面 · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 1 个来源列出
评分构成
综合分 103 · 6 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 TheRogue76/macos-harness;我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# 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.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/therogue76-macos-harness/)
来源
github · https://github.com/TheRogue76/macos-harness
按领域浏览
开源项目
Traction
6 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引