tmux
FeaturedControl tmux sessions remotely — send commands, capture output, manage panes
Web & Frontend 117 stars
13 forks Updated today MIT
Install
Quality Score: 89/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
- 7 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
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 2 weeks ago
pgoell 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 AI & Automation Featured
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
962 Updated today
MemTensor