CLI
The CLI lets you interact with a running Claude Yard instance from the terminal. Use it for scripting, automation, or quick commands without switching to the app.
node cli.mjs <command> [args...]The CLI reads the server port from the config file. In development, set APP_CONFIG_PATH:
APP_CONFIG_PATH=~/.multi-claude/app-config.dev.json node cli.mjs stateCommands
Section titled “Commands”Show current app state — open panels, active sessions, and layout.
node cli.mjs stateOpen a new terminal panel. Spawns a Claude Code session by default.
node cli.mjs spawn # Claude sessionnode cli.mjs spawn --shell # Plain shellSend keystrokes to a terminal panel.
node cli.mjs send <panelId> "hello world"Close a terminal panel.
node cli.mjs close <panelId>interrupt
Section titled “interrupt”Send SIGINT (Ctrl+C) to a terminal panel.
node cli.mjs interrupt <panelId>layout
Section titled “layout”Set the panel layout.
node cli.mjs layout split-horizontalnode cli.mjs layout split-verticalsessions
Section titled “sessions”List all Claude sessions from disk.
node cli.mjs sessionsList all available MCP tools.
node cli.mjs tools