Create a tmux session that both Claude and the user can control collaboratively.
Create a shared tmux session that both you and Claude can control collaboratively for interactive debugging, development, or exploration tasks.
/plugin marketplace add thamam/A2X-marketplace/plugin install thamam-iterm2-control-plugins-iterm2-control@thamam/A2X-marketplaceCreate a tmux session that both Claude and the user can control collaboratively.
/shared-session <name> [command]
name (required): tmux session name (lowercase, use hyphens)command (optional): initial command to run# Create debugging session
/shared-session debug-auth
# Start with Python REPL
/shared-session py-session python -i
# Create build session
/shared-session build npm run build
# Database debugging
/shared-session db-debug psql mydb
When this command is invoked:
create_shared_session tool:
create_shared_session(
tmux_session=name,
command=user_command
)
Created shared session '{name}'! 🎯
To attach:
tmux attach -t {name}
To detach:
Press Ctrl+B, then D
Both you and I can now control this terminal.
I'll be able to see what you type after you detach!
/shared-session debugtmux attach -t debugbrew install tmux)debug-auth, test-runner, build-watchdebug-login-bugtest-runnerdev-serverdb-queriessession1 (not descriptive)DEBUG_AUTH (uppercase)debug session (has space)temp (not meaningful)/shared-session debug-issue python -m pdb script.py
/shared-session db-explore psql production
/shared-session logs tail -f /var/log/app.log
/shared-session dev npm run dev