xiaoyaner0201

Windows Remote

IT運用・セキュリティv1.0.0
作者:xiaoyaner0201更新日 2026-05-17windows-remote@clawhub_xiaoyaner0201/windows-remote
サーバー運用障害対応

AlphaMoatによると、2026-09時点でWindows Remoteのダウンロード数は3,946、スター数は0で、AIスキル全体5,078件中2,617位、IT運用・セキュリティでは264件中155位です。

インストール数
123
ダウンロード数
3946
スター数
-
総合順位
#2,617
全体の上位 52% · IT運用・セキュリティの上位 59%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗1233501--
SkillHub ↗1233946-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

ホスト、ユーザー名、任意の SSH ポートや鍵を設定し、PowerShell、サービス管理、ファイル転送の例を示します。これらの操作には強い権限があり、カードは既定の SSH/SCP 設定で厳密なホスト鍵確認が無効になる点を警告しています。管理権限のあるホストのみを対象に、制限アカウントと専用鍵を使い、コマンド、パス、ホストの識別情報を確認してください。

資料公開日 2026-10-29

できること

  • リモート Windows の接続や GPU 状態を確認する
  • SSH 経由の PowerShell コマンドを計画する
  • スクリプト送信と結果取得のパスを確認する

使う場面

  • ユーザーが対象 Windows の管理を許可し、SSH ホスト鍵、アカウント権限、コマンドの影響を確認している場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

接続や実行をせずにリモート状態確認コマンドを計画して。
リモートスクリプトの前に確認するホスト指紋、コマンド、転送パスを列挙して。

月次の推移

ダウンロード数3946
2231315240732026-03 · ダウンロード数 23582026-05 · ダウンロード数 31262026-07 · ダウンロード数 34872026-08 · ダウンロード数 36182026-09 · ダウンロード数 394626-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093946—-
2026-083618+3.8%-
2026-073487—-
2026-053126—-
2026-032358—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.7 KB・ClawHub v1.0.0
---
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"],
すべて表示(全 163 行)
          "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

IT運用・セキュリティの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。