Windows Host Bridge Control
name: win_bridge_control
by 2059247714 · published 2026-04-01
$ claw add gh:2059247714/2059247714-win-bridge-control---
name: win_bridge_control
description: "Bridge: Cross-OS UI automation for Windows Host"
metadata:
openclaw:
os: ["linux"]
requires:
bins: ["/mnt/c/Windows/System32/cmd.exe", "node"]
security_scope: "restricted_environment"
---
# Windows Host Bridge Control
此技能专门用于在 WSL2 环境中穿透控制 Windows 宿主机上的仪器。
🛡️ 安全合规协议 (Security Protocol)
1. **已知工具**:本技能显式调用宿主机 `cmd.exe` 和 `npx`,用于合规自动化。
2. **输入清洗**:Agent 在构造指令前,必须移除 `action_prompt` 中的非法字符(如 `;`, `&`, `|`, `$`, `>`),防止命令注入。
3. **隔离执行**:本技能仅限于 UI 视觉操作,不涉及敏感文件读取。
⚙️ 执行逻辑 (Execution Logic)
当需要操作 Windows 界面时,必须严格遵守以下参数构造:
标准指令模板:
使用系统 `exec` 工具运行以下原子化命令:
`/mnt/c/Windows/System32/cmd.exe /C "C:\PROGRA~1\nodejs\npx.cmd @midscene/computer@1 act --prompt \"{{action_prompt}}\""`
场景示例 (Scenarios)
⚠️ 故障排除
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...