sirioctl

Environment

The variables Sirio sets in launched terminals and the ones that configure the socket.

Variable Set by Meaning
SIRIO_ENV Sirio, in every launched terminal 1: you are inside Sirio
SIRIO_PANE_ID Sirio, in every launched terminal The UUID of the current pane
SIRIO_SOCKET You Socket path override; default $XDG_RUNTIME_DIR/Sirio/control.sock on macOS and Linux, falling back to the XDG state directory, and a named pipe derived from %LOCALAPPDATA% on Windows
SIRIO_SOCKET_ENABLE You 0 disables the control socket (and therefore hooks) at startup

The Sirio skill

Every worktree launched by Sirio receives skills/sirio/SKILL.md, a document that teaches the agent inside it how to use sirioctl: capture UUIDs, target explicitly, clean up with a trap. Outside a Sirio worktree, install it with:

npx skills add ai-sirio/sirio --skill sirio -a claude-code,codex,opencode,pi -y