據 AlphaMoat 統計,截至 2026-09,Windows Remote 累計下載 3,946 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 2,617 位,在「運維安全」分類(264 個)中排名第 155 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 123 | 3501 | - | - |
| SkillHub ↗ | 123 | 3946 | - | — |
各平台的計數口徑不同,統計時間不一致。
主文要求配置主機、使用者名稱和可選 SSH 埠或金鑰,並提供 PowerShell、服務管理和檔案傳輸示例。此類操作具有較強許可權,且文件提到預設 SSH/SCP 選項會關閉嚴格主機金鑰檢查;只應管理自己有權訪問的主機,使用受限帳戶和專用金鑰,並逐項確認命令、檔案路徑和主機身份。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 3946 | — | - |
| 2026-08 | 3618 | +3.8% | - |
| 2026-07 | 3487 | — | - |
| 2026-05 | 3126 | — | - |
| 2026-03 | 2358 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 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),按月更新。口徑說明見資料方法。