Reach
Reach Claude Code on another fleet host or platform (WSL/Windows) to run, prompt, query, message, or start a session. Use when: 'run this on HOST', 'from WSL…
от melodic-software★ 34 звезды на GitHub
Установить Reach в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Reach
Resolve the target first
A host is one machine in the fleet. A platform is where Claude Code runs on a host: native Windows or the WSL distro here (windows, wsl, linux or macos in general). Each platform on each host is one Claude Code install with its own sign-in.
- Read
~/.config/fleet/FLEET.mdbefore composing anything. It holds the real aliases, accounts and paths for this machine; the commands below use placeholders. Done when you can name the target host and platform and see its reach entries (alias, port, account, shell). - Pick the platform by the work. WSL is the default agent platform (repos, toolchain, sshd); use Windows only for Windows-only work or a Windows-side session. Done when you hold a matrix row with every placeholder filled.
- A host absent from FLEET.md is not a fleet host: say so and stop. Address machines by hostname over the tailnet, never by session name.
Route matrix
<agent> is the headless turn from Verbs: claude on a WSL platform, <claude-exe> on a
Windows platform. "Tested" means a real run of that exact shape; what each run showed is in
reference/relay.md. The R2 and R3 runs passed the prompt
as an argument; their stdin form below has not been re-probed.
| # | From | To | Command shape | Status |
|---|---|---|---|---|
| R0 | any | same platform | Built-in ListAgents / SendMessage. Not this skill |
n/a |
| R1 | WSL | this machine, Windows | cd <win-dir> && <claude-exe> <agent-args> "<prompt>" < /dev/null |
tested: script (powershell.exe), list, multi-turn, message a -n receiver |
| R2 | WSL | other machine, WSL | printf '%s\n' '<prompt>' | <ssh> <wsl-alias> 'claude <agent-args>' |
tested: script, multi-turn, stream-json, --bg, message an interactive session and a -p receiver across accounts |
| R3 | WSL | other machine, Windows | printf '%s\n' '<prompt>' | <ssh> <wsl-alias> 'cd <win-dir> && <claude-exe> <agent-args>' |
reaches claude.exe; needs /login at that machine's console |
| R4 | Windows | this machine, WSL | wsl.exe -d <distro> --cd /tmp --exec <shell> -lc 'claude <agent-args> "<prompt>" < /dev/null' |
tested: script from a native-Windows claude.exe (its Bash tool, Git Bash); list |
| R5 | Windows | other machine, WSL | printf '%s\n' '<prompt>' | <ssh> <wsl-alias> 'claude <agent-args>' |
untested from a Windows origin (same hop as R2) |
| R6 | Windows | other machine, Windows | printf '%s\n' '<prompt>' | <ssh> <wsl-alias> 'cd <win-dir> && <claude-exe> <agent-args>' |
untested from a Windows origin (same hop as R3) |
Over SSH a -p turn's prompt goes on stdin, and the quoted remote command carries only the flags,
so no shell on either host parses prompt text. Never add ssh -n to an SSH row: it replaces stdin
with /dev/null and drops the prompt. The local hops (R1, R4) keep the prompt as the last
argument. A verb with no <prompt> drops the printf on an SSH row and the quoted prompt on R1
and R4. --bg is not -p and takes its prompt as an argument, so a background session's prompt
stays inside the remote command. In the tables here and in FLEET.md, \| is an escaped |: type a bare |.
A script with no agent goes over the same hop with the command in place of the claude part; on
R1 that is powershell.exe -NoProfile -Command '<cmd>' from a Windows-side directory. A Windows
script on another machine goes over port 22 instead: <ssh> <win-alias> '<pwsh command>' (see
Port 22).
Placeholders, each filled from FLEET.md or a probe, never guessed:
<ssh>: the client thessh_clientoption names,${user_config.ssh_client}, the same one the session-start peer list runs. It counts only as an absolute path (a drive-letter path on Windows) to a file namedsshorssh.exe; empty, still the literal token, or any other value means unset: then the platform's own client,ssh.exefrom Windows,/mnt/c/Windows/System32/OpenSSH/ssh.exefrom WSL (the Windows side holds the fleet key),/usr/bin/sshelsewhere.<wsl-alias>/<win-alias>: the target'swsl-shell(port 2222) andwindows-shell(port 22) aliases.<claude-exe>:/mnt/c/Users/<user>/.local/bin/claude.exe, by absolute path.<win-dir>: a scratch directory under/mnt/c/Users/<user>/(claude.exeneeds a Windows-side working directory), never a repository that defines the fleet's accounts or firewall.- Use FLEET.md's
/mnt/cpaths as given: never check them with file tools (Read, Glob, Grep), and never ask a subagent's brief to. The hop check in Verify the hop is what proves them. <distro>: fromwsl.exe -l -q.<shell>: the distro account's login shell, soclaudeis onPATH.
Per-route detail, the receiver's nested quoting, reply patterns, background sessions, and the mechanisms not used here (Remote Control, cloud sessions, Channels) are in
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/relay.md
FAQ
Что делает скилл Reach?
Reach Claude Code on another fleet host or platform (WSL/Windows) to run, prompt, query, message, or start a session. Use when: 'run this on HOST', 'from WSL to Windows', 'remote agent'. Not for this host and platform (ListAgents/SendMessage), local background (/session-flow:continue-in-background), or repo fleets: /repo-fleet-hygiene:audit.
Как установить скилл Reach?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Reach запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…