tmux
Installation
SKILL.md
Notice
Zo note: the docs mention Clawdbot-specific socket env vars. On Zo, you can still set
CLAWDBOT_TMUX_SOCKET_DIR to any writable path (e.g. /tmp/zo-tmux-sockets) or omit it.
tmux Skill (Clawdbot)
Use tmux only when you need an interactive TTY. Prefer exec background mode for long-running, non-interactive tasks.
Quickstart (isolated socket, exec tool)
SOCKET_DIR="${CLAWDBOT_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/clawdbot-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/clawdbot.sock"
SESSION=clawdbot-python