CLI reference

Every wsx command and flag, grouped by command. Run wsx with no arguments to open the dashboard. wsx --help lists the command groups, wsx <group> --help lists a group's commands, and wsx --version prints the version.

wsx                          # open the dashboard
wsx --select <repo>/<slug>   # open the dashboard with a workspace selected
wsx <group> --help
wsx --version

Conventions

ConventionMeaning
<value-or-@file>A literal value, or @path to read the value from a file.
"" as a valueClears the setting. Per-repo values then fall back to the global setting.
Current workspaceCommands without --workspace act on $WSX_WORKSPACE_ID, else the worktree containing the current directory.
--workspace <repo>/<slug>Targets another workspace instead of the current one.
--jsonPrints machine-readable output. Timestamps are epoch milliseconds.

wsx sets $WSX_WORKSPACE_ID and $WSX_AGENT_INSTANCE_ID in every agent session it spawns, so commands run by an agent know their workspace and sender. See Environment variables.

Command groups

GroupPurposePage
wsx workspaceCreate, list, rename, share, tag and archive workspaceswsx workspace
wsx repoRegister repositories and set per-repo settingswsx repo
wsx agentAdd, remove and message agentswsx agent
wsx statusReport and read agent statuswsx status, recap, context
wsx recapMaintain the workspace recapwsx status, recap, context
wsx contextPrint a context digest for editor-hosted agentswsx status, recap, context
wsx configGet and set global settingsOther commands
wsx themeValidate and scaffold the bar theme fileOther commands
wsx remoteRun saved remote shortcutsOther commands
wsx sharedList tmux-shared workspacesOther commands
wsx setupInstall the agent skills and desktop widgetsOther commands
wsx waybarLinux waybar module and workspace jumperOther commands
wsx desktopDesktop-neutral status and jump for panel widgetsOther commands
wsx menubarmacOS SwiftBar module and workspace jumperOther commands