Command Palette

Search for a command to run...

Назад к скиллам
скилл № 02818

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от 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.

  1. Read ~/.config/fleet/FLEET.md before 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).
  2. 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.
  3. 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 the ssh_client option 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 named ssh or ssh.exe; empty, still the literal token, or any other value means unset: then the platform's own client, ssh.exe from Windows, /mnt/c/Windows/System32/OpenSSH/ssh.exe from WSL (the Windows side holds the fleet key), /usr/bin/ssh elsewhere.
  • <wsl-alias> / <win-alias>: the target's wsl-shell (port 2222) and windows-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.exe needs a Windows-side working directory), never a repository that defines the fleet's accounts or firewall.
  • Use FLEET.md's /mnt/c paths 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>: from wsl.exe -l -q. <shell>: the distro account's login shell, so claude is on PATH.

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

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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), без исполняемых скриптов.

Похожие скиллы

Сравнить Reach с