TbusOS

Windows LLM Bridge — AI skill for Claude Code

AI community

让 LLM Agent 像调函数一样驱动一台 Windows 主机:跑 cmd / PowerShell、推拉文件、调用厂商工具,统一返回结构化结果.

How to install Windows LLM Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open TbusOS/windows-llm-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Windows LLM Bridge does

让 LLM Agent 像调函数一样驱动一台 Windows 主机:跑 cmd / PowerShell、推拉文件、调用厂商工具,统一返回结构化结果。android-llm-bridge 的姊妹项目。

Alternatives in AI

  • Loli Profiler — Memory instrumentation tool with CI and AI support for android app&game developers 695 ★
  • SeekerClaw — Turn your Solana Seeker (or any Android phone) into a 24/7 personal AI agent 316 ★
  • Usage — macOS menu bar & Windows tray app pinning Claude Code, Codex & Antigravity quota, burn rate, and cost to your 301 ★

README

windows-llm-bridge

让 LLM Agent 像调函数一样驱动一台 Windows 主机:跑 `cmd.exe` / PowerShell、 推拉文件、调用厂商专用的 Windows 工具,统一返回 `{ok, data, error, artifacts}`。

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) [![Python 3.11+](https://img.shields.io/badge/Python-3.11+-blue.svg)](https://www.python.org/downloads/) [![Status: M0 bootstrap](https://img.shields.io/badge/status-M0%20bootstrap-orange.svg)](PLAN.md)

[English](README.en.md) · 中文


这是干什么的

**windows-llm-bridge**(简称 **wlb**)是 [`android-llm-bridge`](https://github.com/TbusOS/android-llm-bridge) 的姊妹项目。

alb 把"在一台真实安卓设备上调试"这件事变成 LLM Agent 能直接调用的工具集。 **wlb 把"在一台 Windows 主机上跑命令 / 推拉文件 / 驱动厂商工具"这件事变成同样的工具集。**

典型工作流:

  1. 在 Linux 上交叉编译固件,输出到 Samba/SMB 共享目录
  2. LLM Agent 通过 wlb 调用 Windows 端的厂商烧录工具
  3. Agent 读回结构化进度 + 最终状态,自己决定下一步重试 / 改参数 / 报错给人

这个工作流以前是:人来回切窗口;现在是:Agent 一气呵成。


为什么需要它

很多嵌入式 / 驱动 / 固件场景下:

  • 重活在 Linux:编译、CI、测试农场,LLM Agent 用着很顺手
  • 关键工具在 Windows:厂商烧录器、JTAG GUI、产测夹具、签名打包器,只有 Windows 二进制

夹在中间最难受的不是切窗口,而是 **Agent 看不到 Windows 那边的状态**——一旦工具跑在另一台机器上, Agent 的反馈闭环就断了。wlb 用结构化的工具桥把 Windows 接回 Agent 的视野。

直接对比:

维度 裸 SSH / RDP wlb
输出格式 自由文本 {ok, data, error, artifacts, timing_ms} 结构化
错误信号 看 exit code 自己猜 error.code + error.suggestion 可直接喂回 Agent
危险动作 谁跑谁负责(format c: 一路畅通) 默认黑名单拒绝(format / Format-Volume / bcdedit / Remove-Item -Recurse -Force C:\)
MCP 集成 写胶水脚本 一行 JSON 注册到 Claude Code / Cursor / Codex
工具调用 拼字符串 声明式 TOML 配置 + 进度正则 + 成功/失败正则(M2)
文件传输 scp / 网盘 SFTP 或 SMB 路径自动翻译(M