360 Secure SkillHub
360 安全技能中心

Deskuse

该技能提供顶层跨平台计算机使用能力,打包 macOS、Windows、Linux 三套独立运行时;安装后按宿主平台选择项目,通过 Node CLI 与 MCP 工具调用本地 Python 辅助程序执行截图、键鼠和窗口操作。首次运行会创建虚拟环境并安装依赖。macOS 已真机验证,Windows 与 Linux 尚需端到端运行时验证,Linux 优先支持 X11。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add deskuse
Metadata
name
deskuse
version
0.1.0
description
Top-level cross-platform computer-use skill that bundles standalone macOS, Windows, and Linux runtimes with zero local Claude dependency and selects the correct platform payload at install/use time.
tags
["skill","computer-use","automation","mcp","macos","windows","linux"]

Cross-Platform Computer-Use Skill

Use this skill when the task needs a top-level portable computer-use skill that works across macOS, Windows, and Linux without depending on any local Claude installation, private native modules, or extracted app assets.

What this skill does

  • bundles standalone platform runtimes for macOS, Windows, and Linux
  • installs one top-level skill that contains all three platform payloads
  • selects the correct project for the current host platform
  • preserves the standalone bootstrap model: each platform runtime creates its own virtualenv and installs public Python dependencies on first real run
  • keeps platform-specific limitations explicit instead of pretending the hosts behave identically

Installed layout

After installation, assume the top-level skill lives at:

~/.codex/skills/deskuse

The bundled projects are stored under:

~/.codex/skills/deskuse/project/platforms/macos
~/.codex/skills/deskuse/project/platforms/windows
~/.codex/skills/deskuse/project/platforms/linux

Platform selection

Use the helper script from the installed skill root to resolve the active platform project:

bash ~/.codex/skills/deskuse/scripts/current-project.sh

On PowerShell:

powershell -ExecutionPolicy Bypass -File $HOME/.codex/skills/deskuse/scripts/current-project.ps1

Build

Always build the selected platform project, not all three at once:

cd "$(bash ~/.codex/skills/deskuse/scripts/current-project.sh)"
npm install
npm run build

Run

cd "$(bash ~/.codex/skills/deskuse/scripts/current-project.sh)"
node dist/cli.js

Validation notes

  • macOS has been real-device validated in this workspace, including GUI typing round-trip through the MCP type tool.
  • Windows and Linux are implemented, built, packaged, and published, but still need end-to-end runtime validation on real hosts.
  • Linux currently targets X11 first; Wayland can restrict screenshots, focus inspection, clipboard, and synthetic input.

Guardrails

  • Treat this host as trusted-local only.
  • Do not tell the user to search a local Claude install for binaries or hidden assets.
  • Be explicit about the current host platform and its validation status before claiming something is verified.
  • Mention that current runtimes report screenshotFiltering: none, so action gating is handled at the MCP layer.