/workspace:cd [<repo>/]<workspace>from workspace
Switch to a workspace directory (with zmx respawn support)
Ships in workspace. Installing the plugin adds it to Claude Code.
Switch to a workspace directory (with zmx respawn support).
Resolve the metarepo path by reading ~/.claude/workspace-config.json and expanding ~ to $HOME.
The user's request: $ARGUMENTS
~/.claude/workspace-config.json to get the metarepo path. Expand ~ to $HOME.<repo>/<workspace> — explicit: e.g., my-repo/epic-foo<workspace> — search all repos for a match; if ambiguous, ask user--fresh flag — start a fresh Claude session instead of resuming context<metarepo>/repos/*/ directories to discover repos. For each repo, check if a matching workspace directory exists under repos/<repo>/<workspace>/.AskUserQuestion/workspace:new or /workspace:list<metarepo>/repos/<repo>/<workspace>/ZMX_SESSION env var exists (inside zmx): Run the respawn script:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/workspaces/respawn-claude.sh <workspace-path> $PPID [--fresh]
Pass --fresh if the user requested a fresh session.
Warn the user that Claude will restart. If --fresh, note it will be a brand new session. Otherwise, note the session will resume.cd <workspace-path> in their terminal
Warn that Claude cannot change its working directory mid-session.~/.claude/workspace-config.json, never hardcode paths.<metarepo>/repos/<repo>/<workspace>/.ZMX_SESSION env var before attempting respawn.$PPID is Claude's PID needed by the respawn script.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub mdsakalu/agent-plugins --plugin workspace13 commands in this plugin
/newStepsCreate a new workspace for any onboarded repository