据 AlphaMoat 统计,截至 2026-09,Windows Remote 累计下载 3,946 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 2,617 位,在「运维安全」分类(264 个)中排名第 155 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 123 | 3,501 | - | - |
| SkillHub ↗ | 123 | 3,946 | - | — |
各平台的计数口径不同,统计时间不一致。
主文要求配置主机、用户名和可选 SSH 端口或密钥,并提供 PowerShell、服务管理和文件传输示例。此类操作具有较强权限,且文档提到默认 SSH/SCP 选项会关闭严格主机密钥检查;只应管理自己有权访问的主机,使用受限账户和专用密钥,并逐项确认命令、文件路径和主机身份。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,946 | — | - |
| 2026-08 | 3,618 | +3.8% | - |
| 2026-07 | 3,487 | — | - |
| 2026-05 | 3,126 | — | - |
| 2026-03 | 2,358 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
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"
}
}
}
}
---
# Windows Remote Control
Execute commands on remote Windows machines via SSH.
## Configuration
Set environment variables in `~/.openclaw/openclaw.json` under `skills.windows-remote.env`:
```json
{
"skills": {
"windows-remote": {
"env": {
"WINDOWS_SSH_HOST": "192.168.1.100",
"WINDOWS_SSH_PORT": "22",
"WINDOWS_SSH_USER": "Administrator"
}
}
}
}
```
Or export directly:
```bash
export WINDOWS_SSH_HOST="192.168.1.100"
export WINDOWS_SSH_PORT="22"
export WINDOWS_SSH_USER="Administrator"
```
## Quick Commands
### Check Connection
```bash
scripts/win-exec.sh "echo connected"
```
### GPU Status
```bash
scripts/win-exec.sh "nvidia-smi"
```
### Run PowerShell
```bash
scripts/win-exec.sh "powershell -Command 'Get-Process | Select-Object -First 10'"
```
### Execute Script
```bash
scripts/win-exec.sh "python C:\\path\\to\\script.py"
```
## Script Reference
### win-exec.sh
Execute a single command on the remote Windows machine.
```bash
scripts/win-exec.sh "<command>"
```
### win-gpu.sh
Quick GPU status check (nvidia-smi wrapper).
```bash
scripts/win-gpu.sh
scripts/win-gpu.sh --query # Compact output
```
### win-upload.sh
Upload files to the remote machine via SCP.
```bash
scripts/win-upload.sh <local-file> <remote-path>
```
### win-download.sh
Download files from the remote machine.
```bash
scripts/win-download.sh <remote-path> <local-file>
```
## Common Tasks
### Check if Ollama is Running
```bash
scripts/win-exec.sh "tasklist | findstr ollama"
```
### Start a Service
```bash
scripts/win-exec.sh "net start <service-name>"
```
### Run Python with GPU
```bash
scripts/win-exec.sh "python -c \"import torch; print(torch.cuda.is_available())\""
```
### Check Disk Space
```bash
scripts/win-exec.sh "wmic logicaldisk get size,freespace,caption"
```
## Troubleshooting
| 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 |
## Security Notes
- Use SSH keys instead of passwords
- Keep private keys secure (chmod 600)
- Consider using Tailscale for cross-network access
在使用技能包之前做安全扫描,并按结论决定放行或拦截的技能。
为 OpenClaw 配置 OpenRouter 免费模型与回退链的工具。
备份与恢复 OpenClaw 配置、凭据与工作区的技能。
配置并使用 1Password CLI 处理密钥。
一款被描述为可检测提示注入与危险命令的 OpenClaw 安全插件。
远程控制 tmux 会话,向交互式命令行发送按键并抓取输出。
以应用安全工程师视角做代码与架构的安全审计。
管理腾讯云对象存储与数据万象的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。