Mac2win Remote — Development skill for Claude Code
mac2win-remote:这个一个可以让 Mac 上的 Claude Code 远程使用一台 Windows 电脑的 skills,可以实现远程控制 Windows 电脑跑命令、构建测试、运行桌面软件、操作界面、截图.
How to install Mac2win Remote
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ewkzcz/mac2win-remote and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mac2win Remote does
mac2win-remote:这个一个可以让 Mac 上的 Claude Code 远程使用一台 Windows 电脑的 skills,可以实现远程控制 Windows 电脑跑命令、构建测试、运行桌面软件、操作界面、截图。
Alternatives in Development
- Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
- Nexting — Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC 1.3k ★
- Ds Harness Remote — 基于 DeepSeek Harness 插件机制构建的远程访问方案,通过低延迟、端到端加密的 P2P 网络,支持使用 PC、移动端 和 Web 随时访问本地设备上的DSH 、CodeX、Cursor、Claude Cod 860 ★
README
mac2win-remote
让 Mac 上的 Claude Code 远程使用一台 Windows 电脑:跑命令、构建测试、运行桌面软件、操作界面、截图。
一、工作方式
文件在 Mac 上改,命令在 Windows 上跑。两边的代码目录由 Syncthing(文件同步工具)实时双向同步。
sequenceDiagram
participant Claude as Claude(Mac)
participant Sync as Syncthing
participant Win as Windows
Claude->>Claude: 在 Mac 同步目录里改文件
Claude->>Sync: wr '命令':先触发同步并等待完成
Sync->>Win: 文件同步到 Windows 对应目录
Claude->>Win: 通过 SSH 在对应目录执行 PowerShell
Win-->>Claude: 返回输出和退出码
Win->>Sync: 生成的文件、截图
Sync-->>Claude: 约 2–3 秒同步回 Mac
二、常用命令
| 命令 | 作用 |
|---|---|
wr '' |
在当前目录对应的 Windows 目录执行命令 |
wsh '' |
在 Windows 上执行系统级命令,不切换目录 |
wshot [名] |
截 Windows 屏幕,输出 Mac 本地图片路径 |
wr-flush |
立即同步,并等 Windows 收到 |
后台常驻进程、桌面界面操作等用法见 `SKILL.md`。
三、目录结构
| 目录 | 内容 |
|---|---|
SKILL.md |
给 AI 读的使用说明 |
install.sh |
把本目录作为技能链接到 ~/.claude/skills/mac2win-remote(安装或覆盖更新) |
mac2win-remote搭建教程.md |
从零搭建的完整步骤 |
scripts/mac/ |
Mac 端命令,装到 PATH 里 |
scripts/windows/ |
Windows 端脚本,装到 $WR_TOOLS(含加固脚本 Harden-Windows.ps1 与 sshd 自愈 Repair-Sshd.ps1) |
四、安装
首次使用按 `mac2win-remote搭建教程.md` 完成搭建。之后分两部分更新,都在本目录下执行:
技能说明(`SKILL.md`):
./install.sh --dry-run # 先看
./install.sh # 安装或覆盖更新:链接到 ~/.claude/skills,已有同名项会被替换(真实目录先备份到 ~/.claude/skills-backup/)
链接到本目录后,修改 `SKILL.md` 立即生效。原链接指向的内容(例如技能管理工具复制出来的副本)保留但不再使用;若该工具之后重新同步把链接改了回去,重跑 `./install.sh` 即可。
命令与 Windows 端脚本(`scripts/` 有改动时):
. ~/.config/wr/env
install -m 755 scripts/mac/* ~/.local/bin/
scp -q scripts/windows/*.ps1 "$WR_HOST:$(printf '%s' "$WR_TOOLS" | tr '\\' '/')/"
首次安装或脚本有更新后,在 Windows 上应用加固并注册 sshd 自愈任务(可重复执行):
wsh 'Harden-Windows.ps1; Repair-Sshd.ps1 -Register'
Related Skills
9remote
📱 Terminal in Your Pocket — Control Claude Code, Codex, Gemini CLI & your Mac/Linux/Windows from any phone or
Clipfan
Clipboard sync daemon for Mac + remote tmux fleet. Mirrors macOS pasteboard to remote OS clipboards and tmux p
Mac Agent Ops
Mac Agent Ops is a small control-room kit for operating remote Mac-based agents over SSH. It gives you reusabl
Phone Remote
Turn your phone into a wireless keyboard + CLI launcher for a Mac. One tap opens Claude Code / Codex / any CLI
Macuse
Turn your Mac into a remote computer-use host for Claude Code, Codex, or any MCP agent
Usemymac
Turn your Mac into a remote computer-use host for Claude Code, Codex, or any MCP agent
Related Agents
Packager Troubleshooter
Use this agent when packaging fails or needs changes — yarn build:package:windows mac linux, PyInstaller error
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Mac Dev
native swift mac app dev