tmux
SolidRemote control tmux sessions for interactive CLIs (python, node, gdb, etc.) by sending keystrokes and capturing pane output.
Web & Frontend 98 stars
12 forks Updated today MIT
Install
Quality Score: 92/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# ๐ tmux Skill
Control tmux sessions programmatically to run interactive terminal applications (REPLs, debuggers, databases) without blocking.
---
## ๐ Quickstart (Easy Way)
Use [LogPilot](https://github.com/jellydn/logpilot) for automatic output capture + AI analysis:
```bash
# Install LogPilot
cargo install logpilot
# Watch your tmux session
logpilot watch mysession --pane mysession:0.0
# Ask AI about what's happening
logpilot ask "What errors appeared?"
logpilot summarize --last 5m
```
Add to Claude Code: `claude mcp add --scope user logpilot -- logpilot mcp-server`
---
## ๐ Manual Control (Raw tmux)
Use isolated sockets to avoid conflicts with personal tmux:
```bash
# Setup socket
export SOCKET="${TMPDIR:-/tmp}/ai-tmux-sockets/agent.sock"
mkdir -p "$(dirname "$SOCKET")"
# Create session and run
SESSION=agent-py
tmux -S "$SOCKET" new -d -s "$SESSION"
tmux -S "$SOCKET" send-keys -t "$SESSION" 'python3 -q' Enter
# Capture output manually
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION" -S -100
# Cleanup
tmux -S "$SOCKET" kill-session -t "$SESSION"
```
### ๐ Core Commands
| Action | Command |
| -------------- | ---------------------------------------------------- |
| New session | `tmux -S "$SOCKET" new -d -s NAME` |
| Send keys | `tmux -S "$SOCKET" send-keys -t NAME 'cmd' Enter` |
| Send literal | `tmux -S "$SOCKET" send-keys -t NAME -l 'text'` |
| Capture output |...
Details
- Author
- jellydn
- Repository
- jellydn/my-ai-tools
- Created
- 6 months ago
- Last Updated
- today
- Language
- Shell
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content โ not just same category
AI & Automation Listed
tmux
Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.
3 Updated today
math2024444-spec Web & Frontend Listed
tmux
Use when the user wants to control interactive terminal programs through tmux, drive REPLs, debuggers, TUI tools, or experiment with steering nested Claude Code or Codex CLI sessions by sending keys and reading pane output.
0 Updated today
pgoell AI & Automation Featured
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
45,207 Updated today
HKUDS