360 Secure SkillHub
360 安全技能中心

Computer Use Macos

面向 macOS 的计算机操作技能,捆绑独立 TypeScript 项目与 MCP 服务器,可自行构建,并在首次运行自动创建虚拟环境并安装 Python 依赖,用于屏幕截图、鼠标与键盘等桌面控制;仅限 macOS,需 Node 与 Python 环境。

wimi321
wimi321
热度 57.70
最近更新 2026-05-18 11:33:08
分类:自动化依赖:代码执行 / 读写文件 / MCP 服务应用场景:自动化脚本 / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add computer-use-macos
Metadata
name
computer-use-macos
version
0.2.2
description
Top-level macOS computer-use skill with a bundled standalone runtime that bootstraps itself without any local Claude installation, private native modules, or extracted app assets.
tags
["skill","macos","computer-use","automation","mcp"]

macOS Computer-Use Skill

Use this skill when the task needs a portable macOS computer-use skill bundled with its own standalone runtime and MCP server.

What this skill does

  • uses the bundled macos-computer-use-skill project under the installed skill directory
  • builds the standalone MCP server
  • lets the server auto-bootstrap its Python runtime on first launch
  • avoids any dependency on local Claude binaries, .node modules, or extracted app assets
  • stays explicitly macOS-only because the underlying desktop-control backend is macOS-specific

Default bundled project path

After installation, assume the standalone project lives at:

~/.codex/skills/computer-use-macos/project

If the user installed the skill under a custom CODEX_HOME, use that equivalent path instead.

Build

Always build from the bundled project:

cd ~/.codex/skills/computer-use-macos/project
npm install
npm run build

Run

cd ~/.codex/skills/computer-use-macos/project
node dist/cli.js

The first real run will automatically create .runtime/venv and install the public Python dependencies.

Validation notes

  • On real macOS hosts, prefer validating typing through the MCP type tool path, not only low-level helper calls.
  • Version 0.2.2 routes ordinary macOS text input through clipboard paste when available, avoiding IME/input-source corruption seen with per-key typing under Chinese input methods.

Guardrails

  • Treat this host as trusted-local only.
  • Do not tell the user to search their local Claude install for binaries or hidden assets.
  • Be explicit that this runtime is standalone and uses public dependencies only.
  • Mention that the current runtime reports screenshotFiltering: none, so action gating is handled at the MCP layer.