Loading...
Loading...
Use when preparing or verifying a host for Moshi remote coding. Trigger this for SSH or preferably Mosh readiness, non-interactive shell PATH issues, tmux defaults, creating a tmux project session rooted at a chosen directory, installing Moshi agent hooks for Claude Code or Codex CLI, or offering the optional `moshi DIR` shell helper.
npx skill4agent add rjyo/moshi-skill moshi-best-practicesmoshi DIRmoshitmuxmosh-servercommand -v tmux || true
command -v mosh-server || true
tmux list-sessions 2>/dev/null || true
LOGIN_SHELL="${SHELL:-/bin/sh}"
"$LOGIN_SHELL" -c 'command -v tmux'
"$LOGIN_SHELL" -c 'command -v mosh-server'dscl . -read "/Users/$USER" UserShell
systemsetup -getremotelogin || truecommand -v tmux
tmux list-sessions
"$LOGIN_SHELL" -c 'command -v tmux'
"$LOGIN_SHELL" -c 'command -v mosh-server' || trueset -g history-limit 100000
set -g mouse on
set -g set-titles on
set -g set-titles-string "#I: #W"
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows ontmux ... -c <dir>agentreviewtestsserversmiscmoshi DIRmoshi$PWDreferences/moshi-shell-function.mdmoshi-hooksbunx moshi-hooks setup
bunx moshi-hooks token <YOUR_TOKEN>bunx moshi-hooks setup --local
bunx moshi-hooks setup .
bunx moshi-hooks setup --codex
bunx moshi-hooks setup --opencode