Control remote Windows machines via SSH. Use when executing commands on Windows, checking GPU status (nvidia-smi), running scripts, or managing remote Windows systems. Triggers on "run on Windows", "execute on remote", "check GPU", "nvidia-smi", "远程执行", "Windows 命令".
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install windows-remote或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install windows-remote⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/windows-remote/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: windows-remote description: Control remote Windows machines via SSH. Use when executing commands on Windows, checking GPU status (nvidia-smi), running scripts, or managing remote Windows systems. Triggers on "run on Windows", "execute on remote", "check GPU", "nvidia-smi", "远程执行", "Windows 命令". metadata: { "openclaw": { "emoji": "🖥️", "requires": { "bins": ["ssh"], "env": ["WINDOWS_SSH_HOST", "WINDOWS_SSH_USER"] }, "env": { "WINDOWS_SSH_HOST": { "description": "Remote Windows IP or hostname", "required": true, "example": "192.168.1.100" }, "WINDOWS_SSH_PORT": { "description": "SSH port (default: 22)", "required": false, "default": "22", "example": "23217" }, "WINDOWS_SSH_USER": { "description": "SSH username", "required": true, "example": "Administrator" }, "WINDOWS_SSH_KEY": { "description": "Path to SSH private key (default: ~/.ssh/id_ed25519)", "required": false, "default": "~/.ssh/id_ed25519" }, "WINDOWS_SSH_TIMEOUT": { "description": "Connection timeout in seconds", "required": false, "default": "10" } } } } ---
Execute commands on remote Windows machines via SSH.
Set environment variables in ~/.openclaw/openclaw.json under skills.windows-remote.env:
{
"skills": {
"windows-remote": {
"env": {
"WINDOWS_SSH_HOST": "192.168.1.100",
"WINDOWS_SSH_PORT": "22",
"WINDOWS_SSH_USER": "Administrator"
}
}
}
}
Or export directly:
export WINDOWS_SSH_HOST="192.168.1.100"
export WINDOWS_SSH_PORT="22"
export WINDOWS_SSH_USER="Administrator"
scripts/win-exec.sh "echo connected"
scripts/win-exec.sh "nvidia-smi"
scripts/win-exec.sh "powershell -Command 'Get-Process | Select-Object -First 10'"
scripts/win-exec.sh "python C:\\path\\to\\script.py"
Execute a single command on the remote Windows machine.
scripts/win-exec.sh "<command>"
Quick GPU status check (nvidia-smi wrapper).
scripts/win-gpu.sh
scripts/win-gpu.sh --query # Compact output
Upload files to the remote machine via SCP.
scripts/win-upload.sh <local-file> <remote-path>
Download files from the remote machine.
scripts/win-download.sh <remote-path> <local-file>
scripts/win-exec.sh "tasklist | findstr ollama"
scripts/win-exec.sh "net start <service-name>"
scripts/win-exec.sh "python -c \"import torch; print(torch.cuda.is_available())\""
scripts/win-exec.sh "wmic logicaldisk get size,freespace,caption"
| Issue | Solution | |-------|----------| | Connection refused | Check SSH service: Get-Service sshd | | Permission denied | Verify SSH key in ~/.ssh/authorized_keys or administrators_authorized_keys | | Timeout | Check firewall rules, verify IP/port | | Command not found | Use full path or check PATH on Windows |
安装 Windows Remote 后,可以对 AI 说这些话来触发它
Help me get started with Windows Remote
Explains what Windows Remote does, walks through the setup, and runs a quick demo based on your current project
Use Windows Remote to control remote Windows machines via SSH
Invokes Windows Remote with the right parameters and returns the result directly in the conversation
What can I do with Windows Remote in my general tools workflow?
Lists the top use cases for Windows Remote, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/windows-remote/ 目录(个人级,所有项目可用),或 .claude/skills/windows-remote/(项目级)。重启 AI 客户端后,用 /windows-remote 主动调用,或让 AI 根据上下文自动发现并使用。
Windows Remote 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Windows Remote 可免费安装使用。请查阅仓库了解许可证信息。
Control remote Windows machines via SSH. Use when executing commands on Windows, checking GPU status (nvidia-smi), running scripts, or managing remote Windows systems. Triggers on "run on Windows", "execute on remote", "check GPU", "nvidia-smi", "远程执行", "Windows 命令".
Windows Remote 属于「General Tools」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my general tools tasks using Windows Remote
Identifies repetitive steps in your workflow and sets up Windows Remote to handle them automatically