tmux

Remote-control tmux sessions by sending keystrokes and capturing pane output for interactive CLI orchestration.

1|Updated Aug 5, 2026
One-click install
npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill tmux-solizardking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/Solizardking/Solana-Robotics-Kit/tree/main/eliza/packages/skills/skills/tmux
Command: npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill tmux-solizardking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Interactive terminal programs like REPLs, TUI coding agents, and long-running shells cannot be driven through simple one-shot commands. This Skill lets an agent launch, monitor, and control persistent tmux sessions so interactive processes can be automated and coordinated in parallel. ## Core Features & Use Cases - Session Control: Create isolated tmux sessions on private sockets, send keystrokes, and capture pane output for scraping live shell state. - Parallel Agent Orchestration: Run multiple coding agents (Codex, Claude Code) in separate tmux sessions and poll them for completion. - Helper Scripts: Use find-sessions.sh to list sessions across sockets and wait-for-text.sh to block until a pattern appears in a pane. - Use Case: Spawn five tmux sessions, launch a coding agent in each against different git worktrees, then poll each pane for a shell prompt to detect when fixes are done and harvest the output. ## Quick Start Start a detached tmux session on a private socket, send a command into it, and capture the pane output to see the result.

Frequently Asked Questions about tmux

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send commands to a tmux session from a script?

Use tmux send-keys with the -l flag for literal text, then send Enter as a separate command with a short delay. For TUI apps like Claude Code or Codex, combining text and Enter in one send-keys can be misread as paste input.

How to run multiple coding agents in parallel with tmux?

Create one detached session per agent on a shared socket, send each a launch command targeting a different working directory or git worktree, then poll each pane with capture-pane for a shell prompt to detect completion.

Does tmux work on Windows?

tmux is supported on macOS and Linux only. On Windows, install tmux inside WSL and run sessions there; this Skill is gated to darwin and linux and requires tmux on PATH.

How do I wait for specific output in a tmux pane?

Use the wait-for-text.sh helper with a target pane and a regex or fixed-string pattern. It polls capture-pane output on an interval and exits when the pattern matches or a timeout is reached.

Why does send-keys not submit input in Claude Code or Codex?

These TUI apps may treat fast text-plus-Enter sequences as multi-line paste input. Send the text literally first, sleep briefly, then send Enter as a separate send-keys command.

When should I use tmux instead of background exec?

Use tmux only when you need an interactive TTY, such as REPLs or TUI agents. For long-running non-interactive tasks, a plain background execution mode is simpler and preferred.