Windows Execution Interface for OpenClaw
简介
Windows Execution Interface for OpenClaw
原始描述
Windows automation via Clawdos API: screen capture, mouse/keyboard input, window management, file-system operations, and shell command execution. Standalone...
通过你的 Agent 添加
安装目录:clawdos/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: clawdos description: "Windows automation via Clawdos API: screen capture, mouse/keyboard input, window management, file-system operations, and shell command execution. Use when the user wants to control or inspect a Windows host remotely." metadata: {"openclaw": {"emoji": "🐾", "requires": {"env": ["CLAWDOS_BASE_URL", "CLAWDOS_API_KEY"]}, "primaryEnv": "CLAWDOS_API_KEY"}}
Clawdos Windows Execution Interface
This skill exposes 18 tools that let you operate a Windows machine through the Clawdos REST API.
Configuration
| Setting | Environment Variable | Default | Description |
|---|---|---|---|
base_url |
CLAWDOS_BASE_URL |
http://127.0.0.1:17171 |
Windows service address (e.g., http://192.168.1.100:17171) |
api_key |
CLAWDOS_API_KEY |
- | API key (must match clawdos-config.json on Windows host) |
⚠️ Requirements
This skill requires a corresponding server running on your Windows host. Download and follow the setup instructions here: danzig233/clawdos
Tool Groups
| Group | Tools |
|---|---|
| Health | health_check, get_env |
| Screen | screen_capture |
| Input | mouse_click, mouse_move, mouse_drag, mouse_scroll, key_combo, type_text, input_batch |
| Window | window_list, window_focus |
| FileSystem | fs_list, fs_read, fs_write, fs_mkdir, fs_delete, fs_move |
| Shell | shell_exec |
Authentication
All authenticated endpoints require the X-Api-Key header matching the
value set in clawdos-config.json on the host.
Operation Strategy
- Prefer Keyboard & Shell: To minimize errors from visual coordinate estimation, prioritize using keyboard shortcuts (
key_combo,type_text) or shell commands (shell_exec) over mouse operations whenever possible. - Targeted Mouse Usage: Reserve precise mouse operations (
mouse_click,mouse_move,mouse_drag) strictly for necessary UI interactions (e.g., clicking a specific button on a web page, navigating a software interface, or focusing an input field). - Scrolling: Using
mouse_scrollis safe and recommended for navigating long pages or documents.
Visual Feedback Loop & Precision
When precision is required (e.g., clicking small buttons or specific text), follow this Move-Verify-Correct loop:
- Move: Use
mouse_moveto the estimated target coordinates. - Verify: Immediately use
screen_captureto see where the cursor landed relative to the UI element. - Correct: If the cursor is offset, calculate the pixel difference and use
mouse_moveagain with the corrected coordinates. - Action: Only call
mouse_clickonce you have verified the cursor is correctly positioned.
Scaling Note: Always check the resolution in get_env against your current screenshot dimensions. If they differ, provide view_width and view_height to input tools to enable automatic coordinate scaling.
Security Notes
shell_execis restricted server-side; only whitelisted commands are allowed.fs_*operations are sandboxed to theworkingDirsdeclared in Clawdos config; path escapes return 403.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。