Bridge: Cross-OS UI automation for Windows Host
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill win-bridge-control --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Win Bridge Control?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-win-bridge-control)More formats (shields.io, HTML) on the badges page.
---
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 界面时,必须严格遵守以下参数构造:
- **宿主机 Shell**: `/mnt/c/Windows/System32/cmd.exe /C`
- **Node 路径**: `C:\PROGRA~1\nodejs\npx.cmd` (强制使用 8.3 短路径以规避空格解析错误)
- **核心组件**: `@midscene/computer@1`
### 标准指令模板:
使用系统 `exec` 工具运行以下原子化命令:
`/mnt/c/Windows/System32/cmd.exe /C "C:\PROGRA~1\nodejs\npx.cmd @midscene/computer@1 act --prompt \"{{action_prompt}}\""`
## 场景示例 (Scenarios)
- **读取数据**: "Click the 'Read' button in software and wait for completion."
- **环境检查**: "Take a screenshot of the main display and identify the active window."
- **坐标操作**: "Move the mouse cursor to the center of the screen."
## ⚠️ 故障排除
- 如果报错 "C:\Program is not recognized",请检查是否严格使用了 `PROGRA~1` 路径。
- 如果出现 "Permission Denied",请确保 Windows 侧已开启开发者模式并允许外部调用。Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"