Reflex Cu — AI skill for Claude Code
Computer-use MCP server for coding agents: local macOS, local Windows, or remote Windows over SSH, with a fast judge model (Jev) for the decisions between steps.
How to install Reflex Cu
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open monstercode2/reflex-cu and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Reflex Cu does
Computer-use MCP server for coding agents: local macOS, local Windows, or remote Windows over SSH, with a fast judge model (Jev) for the decisions between steps.
Alternatives in AI
- Peekaboo — Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, o 3.2k ★
- Skill Debate — Structured four-way AI debates between Claude, Sonnet, Gemini, and Codex — use for critical decisions 2.8k ★
- Open Science — Open Science Desktop — local-first, model-agnostic AI research workbench for macOS, Windows & Linux 1.5k ★
README
reflex-cu
给编码代理(Claude Code、Codex 等)用的桌面操作(computer use)MCP 服务。
名字里的 reflex 是"反射":除了常规的截图、点击、打字,它把"点哪个""成功了没""加载完没"这类不需要思考的高频小判断,交给一个反射式的快速判断模型去做,代理不用每一步都看截图。目前接的判断模型是 [Jev](https://typesafe.ai)(TypeSafe 的 System One 模型,一次约 0.3 秒)。
[English](README.en.md)
三种用法
| 用法 | 被操作的机器 | 怎么连 |
|---|---|---|
| 本机 Mac | 运行代理的这台 Mac | MCP 服务进程内直接调用系统接口 |
| 本机 Windows | 运行代理的这台 Windows | 同上 |
| 远程 | 另一台 Windows | 那台机器的桌面会话里跑一个只监听本机的服务,MCP 服务通过 SSH 隧道访问 |
三种用法的工具、参数、坐标约定完全相同。
工具
| 工具 | 作用 |
|---|---|
status |
分辨率、前台窗口、用户多久没动鼠标键盘 |
screenshot |
截图,可截窗口或局部 |
windows / focus |
列出窗口、切到前台 |
observe |
不截图,直接读出窗口里的界面元素和它们的坐标;打开着的菜单也会列出 |
click / move / drag / scroll |
鼠标,可以用坐标,也可以用 observe 返回的元素编号 |
key / type |
按键和组合键;输入文字(含中文),可走剪贴板 |
find |
Jev:一句话描述要操作的元素,返回最匹配的那个和置信度,可以直接点 |
check |
Jev:对当前屏幕问一个是非题 |
wait |
Jev:轮询直到是非题成立或超时 |
steps |
一次执行一串操作,Jev 没把握或某步失败就停下 |
带 **Jev** 标记的三个工具需要你自备 Jev 密钥(见下文);没有密钥时它们不可用,其余工具照常工作。
界面是怎么读出来的
- Windows 用 UI Automation,Mac 用辅助功能树:能拿到控件的名称、类型、位置和是否禁用,通常 0.1–0.5 秒。
- 读不到东西的窗口(游戏、自绘界面)自动改用文字识别:Windows 用 RapidOCR,Mac 用系统自带的 Vision。
- Jev 只接收文字。纯图标、游戏画面这类没有文字的内容它判断不了,代理仍然要看截图按坐标操作。
坐标
所有坐标都以不带 `zoom` 的截图为准:主显示器等比缩放到最宽 1600(环境变量 `CU_VIEW_W` 可改)。截图上看到的位置就是要点的位置。
安装
想让 AI 替你装:把 [INSTALL_FOR_AI.md](INSTALL_FOR_AI.md) 的链接发给你的编码代理,让它照着做。下面是手动安装的步骤。
需要 Python 3.10 以上。
Jev 密钥(需自备)
本项目不附带、也不代理任何 Jev 额度。`find`、`check`、`wait` 三个工具要用你自己在 TypeSafe 申请的 API 密钥,费用由你的 TypeSafe 账户承担。不配置密钥也能用,只是这三个工具会报错,其余工具不受影响。
密钥放在**被操作的那台机器**上,二选一:
- 环境变量
TYPESAFE_API_KEY - 文件
~/.reflexcu/typesafe_key(Windows 上是%USERPROFILE%\.reflexcu\typesafe_key),内容只有密钥本身
如果所在网络访问不了 Jev 接口(返回 HTTP 451),再配一个代理:环境变量 `CU_PROXY`,或文件 `~/.reflexcu/proxy`,内容形如 `http://127.0.0.1:7890`。Windows 上由计划任务启动的远程服务读不到登录之后才设置的环境变量,这种情况用文件。
本机 Mac
git clone https://github.com/monstercode2/reflex-cu && cd reflex-cu
python3 -m venv ~/.reflexcu/venv
~/.reflexcu/venv/bin/pip install -r requirements-macos
Related Skills
Remote Arc
Controlled remote computer access for AI — connect ChatGPT, Claude, Codex and MCP clients to Windows, macOS an
Decisions Judge MCP
Typed decisions for AI agents as an MCP tool: yes/no probability (noul), choice, and score in one fast request
Settled Computer
Fast computer use for AI agents: event-driven settling MCP server - replaces time.sleep between clicks, waits
Frieren Agent Monitor Pet
Animated macOS desktop pet and AI coding agent monitor for Claude Code, Codex, Cursor, and Pi, with local and
Onevium
Local-first 本地优先的桌面 AI 工作台。多模型协作、浏览器多身份与独立代理、秘钥与 SSH、Skills / MCP、飞书 / 钉钉 / Discord / 微信。支持 macOS 与 Windows。
Lazysh
Cross-platform SSH terminal and AI coding-agent workspace for Android, iOS, macOS, Linux and Windows. Built wi
Related Agents
Computer Use Operator
Desktop automation specialist. Controls native macOS apps via Computer Use MCP. Handles Finder, System Setting
Remote Access
Diagnose blocked SSH access and established multiplexed channels for RTLopt Vivado servers and FPGA boards.
Lab Runner
Runs work on a lab host over ssh — benchmarks, deploys, builds, container and DB queries, one-off checks. Pick