jellydn/my-ai-tools/tmux
Claude Code and agent skill by jellydn/my-ai-tools
- community
Checking that the SKILL.md file is still in the repository.
Control tmux sessions remotely — send commands, capture output, manage panes
Install
npx vskill@latest install jellydn/my-ai-tools/tmuxSKILL.md
🚀 tmux Skill
Control tmux sessions programmatically to run interactive terminal applications (REPLs, debuggers, databases) without blocking.
📋 Quickstart (Easy Way)
Use LogPilot for automatic output capture + AI analysis:
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:
📋 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 | tmux -S "$SOCKET" capture-pane -p -J -t NAME -S -N | |
| List sessions | tmux -S "$SOCKET" list-sessions | |
| Kill session | tmux -S "$SOCKET" kill-session -t NAME |
Control keys: C-c (SIGINT), C-d (EOF), C-z (suspend), Escape
📋 Interactive Recipes
🔁 Python REPL
🔁 GDB Debugger
Node.js / psql / etc.
Same pattern: new → send-keys → capture-pane → kill-session
📋 LogPilot Reference
| Task | Command | |
|---|---|---|
| Watch session | logpilot watch SESSION | |
| Watch pane | logpilot watch SESSION --pane TARGET | |
| AI summary | logpilot summarize --last 10m | |
| Ask question | logpilot ask "Why is it failing?" | |
| With logs | logpilot ask "Explain" --include-logs | |
| Status | logpilot status |
MCP Setup
Or: claude mcp add --scope user --transport stdio logpilot -- logpilot mcp-server
🎨 Best Practices
- Use LogPilot — easiest way to capture and analyze output
- Always use `-S "$SOCKET"` — prevents conflicts with user tmux
- Use `-l` flag — literal text, no shell expansion issues
- `PYTHON_BASIC_REPL=1` — required for interactive Python
- Kill sessions when done — prevents resource leaks
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tmux/SKILL.md
Popularity
- Repository stars
- 75
- Repository forks
- 9
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jellydn/my-ai-tools/tmux)