What problem does it solve?
This skill provides a reusable, marker-based foundation for AI chat collaboration inside tmux, enabling consistent pane management, message sending, and output capture across multiple AI agents.
Core Features & Use Cases
- Unified collaboration layer: Centralizes split, send, capture, and kill operations for AI chat workflows.
- Marker-based output extraction: Facilitates deterministic capture of AI responses between start/end markers.
- Use Case: Build higher-level AI collaboration skills (e.g., Codex/Cursor/ Gemini integrations) that chat through tmux panes.
Quick Start
Create a pane and launch an AI CLI, send a prompt, and capture the response between markers using the tmux_ai.sh script.
- pane=$(tmux_ai.sh split --direction h --percent 50 --name ai --print-pane-id)
- id=$(tmux_ai.sh send --pane "$pane" --wrap --text "Explain Tradeoffs" --enter)
- tmux_ai.sh capture --pane "$pane" --between "$id" --wait-ms 30000