Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

wsl-windows-bridgewsl 窗口桥

Agent Skill

wsl-windows-bridge 用于辅助 Python 项目开发、测试和数据处理,适合在 OpenClaw 中需要阅读 Python 代码、运行测试或整理脚本流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,912

周安装

163

GitHub Stars

公开资料未说明

下载量

1,304
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wsl-windows-bridge(wsl 窗口桥)
来源仓库:https://github.com/deaconhan/wsl-windows-bridge
安装命令:
openclaw skills install wsl-windows-bridge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wsl-windows-bridge

简介

WSL 与 OpenClaw 之间的 Windows 跨系统桥接工具。

  • 适用于需要调用 Windows Python、命令或复制文件到 WSL 的场景。
  • 通过 win-python、win-cmd 等指令执行 Windows 环境操作。
  • 安装命令:openclaw skills install wsl-windows-bridge。
  • 使用前请确认权限范围及是否涉及敏感文件读写或命令执行。

SKILL.md

name
wsl-windows-bridge
description
WSL ↔ Windows cross-system bridge for OpenClaw agents. Provides win-python / win-ps / win-cmd / win-copy / win-run-py / win-path to invoke Windows Python (Anaconda), execute PowerShell/CMD commands, and read/write Windows files from WSL2. Ideal for quantitative trading (QMT/xtquant), cross-system file operations, and Windows environment scripting.
license
MIT
compatibility
WSL2 + Windows 10/11, Windows Python (Anaconda or any), PowerShell
metadata
openclaw
emoji
🪟
requires
bins
["bash", "wslpath", "powershell.exe", "cmd.exe"]
env
[]
primaryEnv
null

WSL ↔ Windows Cross-System Bridge

Seamless access to Windows Python, PowerShell, CMD, and filesystem from WSL2.

Features

CommandPurpose
win-pythonInvoke Windows Python (Anaconda or any)
win-psExecute PowerShell commands
win-cmdExecute CMD commands
win-copyCopy files between WSL and Windows
win-run-pyRun .py scripts with logging
win-pathConvert paths WSL /mnt/* ↔ Windows D:\*

Requirements

  • WSL2 (Ubuntu 20.04+)
  • Windows 10 or Windows 11
  • Windows Python (Anaconda recommended)
  • PowerShell

First-Time Setup

cd ~/.openclaw/workspace/skillpublish/wsl-windows-bridge/scripts/
bash setup.sh

The setup script will:

  1. Auto-detect your Windows Python location (supports /mnt/d, /mnt/c, /mnt/e)
  2. Copy all wrappers to ~/.openclaw/bin/
  3. Generate ~/.openclaw/env.windows.sh with correct paths
  4. Set permissions and run verification

Manual setup (without setup.sh):

cp -r scripts/* ~/.openclaw/bin/
chmod +x ~/.openclaw/bin/win-*
# Then manually edit env.windows.sh to set correct paths

Quick Start

Basic Usage

⚠️ exec non-interactive shell note:

# Recommended for exec environment
source ~/.bashrc && source ~/.openclaw/env.windows.sh && win-python ...

# Or directly (wrappers handle .bashrc internally)
~/.openclaw/bin/win-python ...

Common Scenarios

Invoke Windows Python to run a script:

source ~/.bashrc && source ~/.openclaw/env.windows.sh

# Single-line command
win-python -c "import xtquant; print(xtquant.__version__)"

# Run a script file
win-python "$WIN_SCRIPTS/my_task.py" --arg value

Execute PowerShell:

win-ps "Get-Process python | Select-Object Name,Id | Format-Table"
win-ps "Get-Service | Where-Object {\$_.DisplayName -like '*QMT*'}"

File copy:

win-copy /tmp/result.csv /mnt/d/app/output/result.csv

Path conversion:

win-path /mnt/d/app
# → D:\app

win-path --to-wsl D:\app
# → /mnt/d/app

Quantitative Trading Example (QMT/xtquant)

source ~/.bashrc && source ~/.openclaw/env.windows.sh

# Get HS300 constituent stocks
win-python -c "
from xtquant import xtdata
stocks = xtdata.get_stock_list_in_sector('沪深300')
print(f'HS300: {len(stocks)} stocks')
print(stocks[:5])
"

# Download historical data
win-python -c "
from xtquant import xtdata
xtdata.download_history_data('600000.SH', start_time='20260101', end_time='20260405')
print('Download complete')
"

Environment Variables

VariableDefaultDescription
WIN_ROOT/mnt/dWindows root directory
WIN_ANACONDA/mnt/d/app/anacondaAnaconda installation path
WIN_PYTHON$WIN_ANACONDA/python.exePython executable
WIN_PS.../powershell.exePowerShell path
WIN_SCRIPTS/mnt/d/app/scriptsCommon scripts directory

Troubleshooting

ErrorCauseFix
command not found: win-pythonenv.windows.sh not sourcedsource ~/.bashrc && source ~/.openclaw/env.windows.sh
Permission deniedUAC permissionUse D:\app\ or user directory as target
Chinese garbled logsQMT log encodingIgnore; actual data is correct

File Structure

~/.openclaw/workspace/skillpublish/wsl-windows-bridge/
├── SKILL.md
├── _meta.json
├── README.md
└── scripts/
    ├── setup.sh          ← Auto-install (auto-detects Python path)
    ├── env.windows.sh   ← Template (setup.sh generates actual config)
    ├── win-python
    ├── win-ps
    ├── win-cmd
    ├── win-copy
    ├── win-run-py
    └── win-path

Maintenance

  • Author: @DEACONHAN
  • Version: 0.1.0 (draft)
  • Issues: https://github.com/jarvis-agent/wsl-windows-bridge/issues

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.07%
按下载量换算1,201

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills