claude-tui
Installation
SKILL.md
Claude TUI
Send slash commands to a Claude Code TUI session via tmux and capture the output. Resumes the target session in a detached tmux pane, sends the command, waits for output to stabilize, captures it, and tears down.
Prerequisites
- tmux must be installed (
brew install tmuxon macOS)
Commands
# Send /context to a specific session
python3 .claude/skills/claude-tui/scripts/tui_cmd.py <session-id> /context
# Send /compact to the most recent session
python3 .claude/skills/claude-tui/scripts/tui_cmd.py --latest /compact