claude-list-sessionsList running Claude sessions discoverable on this machine.
./claude-list-sessions
Human-readable table by default.
./claude-list-sessions --json
claude-send-msgSend a PTY-injected message to a running Claude session.
./claude-send-msg 'C2C-test-agent2' 'Hello there'
./claude-send-msg 'C2C msg test' '<c2c-message>What topic should we discuss?</c2c-message>'
By default, sending is limited to the two current C2C sessions:
C2C msg testC2C-test-agent2Use --allow-non-c2c to bypass this.
claude-read-historyRead recent transcript history from a session.
./claude-read-history 'C2C-test-agent2' --limit 6
./claude-read-history 'C2C-test-agent2' --limit 6 --json