Skip to content
Development
Skill

/deploy-rw

Deploy remote-workstreams on this Mac — tmux + Tailscale checks, engine wiring (Claude Code / Codex), Deepgram/Cartesia keys into the macOS Keychain, pairing PIN, launchd install, tailscale serve, pairing QR, round-trip test. Use when the user wants to install, deploy, or repair

From plugin
remote-workstreams
34 skills1 command1 hook
Install
$ npx -y skills add ryan-scheinberg/remote-workstreams --skill deploy-rw --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/deploy-rw

Context preview

The summary Claude sees to decide when to auto-load this skill.

Deploy remote-workstreams on this Mac — tmux + Tailscale checks, engine wiring (Claude Code / Codex), Deepgram/Cartesia keys into the macOS Keychain, pairing PIN, launchd install, tailscale serve, pairing QR, round-trip test. Use when the user wants to install, deploy, or repair

SKILL.md

deploy-rw.SKILL.md
name: deploy-rw
description: Deploy remote-workstreams on this Mac — tmux + Tailscale checks, engine wiring (Claude Code / Codex), Deepgram/Cartesia keys into the macOS Keychain, pairing PIN, launchd install, tailscale serve, pairing QR, round-trip test. Use when the user wants to install, deploy, or repair a remote-workstreams service.

Deploy remote-workstreams

You are deploying remote-workstreams: a persistent launchd service on this Mac, reached from the user's iPhone over their tailnet. The end state is a running service, secrets in the Keychain, HTTPS on the Mac's MagicDNS name, and a phone paired via QR code. This skill runs the same from Claude Code or Codex — one deploy serves both engines.

Three helper scripts live in `scripts/` next to this file. They print `key=value` lines and are all idempotent — re-running any of them is safe.

Rules

  • **Confirm before changing the system.** Before every command that touches system state

— `git clone`, Keychain writes, `launchctl`, `tailscale serve`, installing Tailscale — tell the user exactly what you will run and why, and get a yes. Read-only commands (`check.sh`, `tailscale status`, `--help`, `curl` of healthz) need no confirmation.

  • **Secrets:** never echo stored secrets back, never write the plaintext PIN anywhere.
  • **Re-runs are normal.** This flow doubles as repair: `check.sh` shows what is already

done; skip completed steps unless the user wants to redo one (e.g. rotate a key).

Step 0 — Assess

Run `scripts/check.sh [REPO_DIR]` (default checks `~/remote-workstreams`). Read the output and tell the user what is already in place and which steps remain. On a healthy install (everything `ok`/`present`/`configured`), say so and ask what they want to change.

Step 1 — Preflight: macOS, uv, tmux, service repo

  • `os=unsupported` → stop; remote-workstreams runs on macOS only (launchd, Keychain, CoreAudio).
  • `uv=missing` → have the user install uv (https://docs.astral.sh/uv/) and re-check.
  • `tmux=missing` → tmux is a hard prerequisite: every agent session remote-workstreams

drives lives in the `voice` tmux session. With the user's OK run `brew install tmux` (no Homebrew → https://brew.sh first), then re-run `check.sh` and confirm `tmux=`/`tmux_version=` report a binary.

  • `repo=missing` → the service needs a durable git clone of remote-workstreams. Ask the user if

they already have one (re-run `check.sh THEIR_PATH` to verify); otherwise, with their OK, clone the canonical remote to `~/remote-workstreams`:

  git clone https://github.com/ryan-scheinberg/remote-workstreams ~/remote-workstreams

Never run the service from the plugin's own marketplace clone — the host CLI replaces that directory on plugin updates.

Everywhere below, `$REPO` is the resolved repo path and `$TS` is the tailscale binary path printed by `check.sh`.

Step 2 — Engines

`check.sh` reports which agent CLIs exist (`claude=` / `codex=`) and whether Codex's role-skill symlinks are in place (`codex_role_skills=`). The service launches `codex` from launchd's Homebrew-aware PATH, so it follows the maintained CLI install without depending on the ChatGPT app bundle. At least one CLI must be installed and logged in. At runtime the model name carries the engine; three store settings shape what this box offers:

  • `engines` — which engines the phone's picker shows (`claude`, `codex`, or both)
  • `planner_model` / `injector_model` — who runs `+ Workstream` and `Send latest`.

The phone's PLANS menu row sets both from one pick and offers exactly `opus` (thinks at high) or `gpt-5.6-luna` (xhigh); seed one of those two so the row shows the selection (default `opus`; `gpt-5.6-luna` is the Codex equivalent)

Claude Code needs no wiring beyond login — the service hands its sessions the plugin directory at spawn. Wiring Codex is three symlinks (it discovers skills globally):

mkdir -p ~/.codex/skills
for s in role-convo role-stint-plan role-inject; do ln -sfn "$REPO/skills/$s" ~/.codex/skills/$s; done

Settings are written with this one-liner shape (add `set_setting` lines as needed; current model names live in `remote_workstreams/engines.py`):

(cd "$REPO" && uv run python -c "
from remote_workstreams.config import Config
from remote_workstreams.server.store import Store
store = Store(Config.load().db_path)
store.set_setting('engines', 'claude codex')")

Apply by what's installed:

  • **Both CLIs:** ask the user whether to wire the second engine too, so both are

pickable from the phone. Yes → the symlinks above and `engines` = `claude codex`; no → `engines` = the CLI you are running in. If you are running inside Codex, also set `planner_model` and `injector_model` to `gpt-5.6-luna` — the engine that installs drives the planning; the other stays pickable for conversation and workstreams.

  • **Claude Code only:** set `engines` = `claude`. Defaults cover the rest.
  • **Codex only:** the symlinks above, then `engines` = `codex`, `planner_model` and

`injector_model` = `gpt-5.6-luna`, `convo_model` and `workstream_model` = `gpt-5.6-terra` so the first boot doesn't try to spawn a missing `claude` binary.

`role_root=missing` in check.sh → no role skill exists to launch workstreams with (see README); set `store.set_setting('role_skill', '')` so workstreams boot plain instead of typing a dead command.

All of it is an easy flip later — re-run this step after installing the other CLI.

Step 3 — Tailscale

  • `tailscale=missing` → guide the install: download the Tailscale app from

https://tailscale.com/download (or the Mac App Store), open it, and log in to their tailnet. Wait for the user to say it's done, then re-run `check.sh`. The app's CLI lives at `/Applications/Tailscale.app/Contents/MacOS/Tailscale`; `check.sh` finds it.

  • `tailscale_state` must be `Running` — if not, have the user log in / toggle it on.
  • Note the `magicdns=` name (e.g. `mymac.tail1234.ts.net`). It is the service's public
Read more
Ships withremote-workstreams

Hold a natural spoken conversation with a coding agent — Claude Code or OpenAI's Codex — while it does real agentic work. Your Mac runs everything — the audio pipeline, the sessions, the state.

Get the whole plugin
Stats
3
Stars
1
Forks
Maintained
Maintenance
Python
Language
GPL-3.0
License
2mo ago
Last commit
2mo ago
Created

Repo: ryan-scheinberg/remote-workstreams

Other skills on remote-workstreams.