tmux

Send keystrokes to tmux sessions and capture pane output.

1|1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/kelinfoxy/EZ-Homelab --skill tmux-kelinfoxy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/kelinfoxy/EZ-Homelab/tree/main/docker-compose/ez-assistant/skills/tmux
Command: npx skills add https://github.com/kelinfoxy/EZ-Homelab --skill tmux-kelinfoxy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

tmux is a powerful terminal multiplexer, and this Skill enables remote control by sending keystrokes to tmux sessions and scraping pane output for automation and debugging.

Core Features & Use Cases

  • Remote session creation and attachment over a socket
  • Command dispatch and pane interrogation across windows and panes
  • Automation-friendly workflows for coding, testing, and shell management on remote hosts

Quick Start

Create or attach to a tmux session over a designated socket, then interact with panes and monitor outputs as needed.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I send keystrokes to a remote tmux session for CLI automation?▼

You can send keystrokes to a remote tmux session by connecting over a designated socket and dispatching inputs to specific panes, enabling automated interaction with command-line interfaces.

Can I capture and read pane output from multiple tmux windows on macOS?▼

Yes, you can capture and scrape pane output across multiple windows and panes on macOS by interrogating the tmux session over its socket to retrieve terminal text for monitoring or debugging.

Does tmux remote control require a specific installation or socket configuration?▼

Remote control requires a local tmux installation on Linux or macOS and uses a defined socket path with specific session naming to attach, send-keys, and capture output reliably.

What is the best way to manage interactive shell sessions across remote hosts?▼

The best way to manage interactive shells remotely is creating or attaching to a tmux session over a socket, allowing you to navigate windows, dispatch commands, and monitor outputs.

Why does my automated command dispatch fail to reach the target tmux pane?▼

Automated command dispatch fails when the tmux session is not properly attached over the designated socket, preventing keystrokes from reaching the target window or pane.

When should I use tmux session automation instead of standard SSH for CLI testing?▼

Use tmux session automation when you need persistent interactive sessions that allow sending keystrokes and scraping pane output for continuous testing workflows, unlike standard SSH.