tmux

Control remote tmux sessions by sending keystrokes and capturing pane output.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents --skill tmux-balic-ai-ml-r-d-resources
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents/tree/main/packages/skills/skills/tmux
Command: npx skills add https://github.com/balic-AI-ML-R-D-Resources/eliza_autonomous_agents --skill tmux-balic-ai-ml-r-d-resources

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tmux, and includes scripts (resource) components.

What problem does it solve?

tmux enables orchestration of long-running terminal work by allowing you to launch, monitor, and coordinate multiple CLI processes from a single control point.

Core Features & Use Cases

  • Remote-control tmux sessions to drive interactive CLIs and multiplex terminal windows from automation scripts.
  • Send keystrokes, capture pane output, and manage session windows to implement deterministic coding-agent workflows.
  • Orchestrate multiple agent sessions in parallel, monitor progress, and coordinate REPL interactions (e.g., Python, Node) via sockets.
  • Socket-based control with helper scripts for session discovery, monitoring, and safe interaction.

Quick Start

Create a private tmux socket, start a session, and send keystrokes to a running pane.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive CLI sessions and send keystrokes to a running terminal?

You can automate interactive CLI sessions by using socket-based communication to send keystrokes directly to running tmux panes. This allows you to control interactive REPLs like Python or Node, capture pane output, and coordinate multiple sessions in parallel from a single automation script.

What is the best way to manage multiple coding agent sessions in parallel?

Managing multiple coding agent sessions in parallel is best achieved by orchestrating remote tmux sessions. You can launch, monitor, and coordinate multiple CLI processes simultaneously, using helper scripts to track progress and ensure deterministic interactions across all active sessions.

Can I use tmux to capture output from multiple terminal panes for scripting?

Yes, tmux can capture output from multiple terminal panes for scripting. It uses helper scripts and socket-based control to locate active sessions, wait for prompts, and safely extract pane output, enabling deterministic monitoring and coordinated workflows across multiplexed terminal windows.

Does this tmux automation approach require a specific environment setup?

This tmux automation approach requires the tmux terminal multiplexer dependency to be installed. It operates using socket-based communication and helper scripts, meaning you need a compatible command-line environment to create private sockets, start sessions, and execute the automation scripts.

How do I coordinate REPL interactions across multiple parallel terminal windows?

To coordinate REPL interactions across multiple parallel terminal windows, you can use socket-based control to manage session windows. This method allows you to launch parallel sessions, send targeted keystrokes to specific panes, and monitor progress to ensure synchronized coding workflows.

Why use socket-based communication for terminal session management?

Socket-based communication is used for terminal session management to ensure deterministic and safe interactions with running CLIs. It allows helper scripts to reliably locate specific sessions, wait for command prompts, and pipe keystrokes without interfering with other active terminal processes.