tmux

Send keystrokes and capture pane output from tmux sessions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/estebanrfp/genos --skill tmux-estebanrfp
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/estebanrfp/genos/tree/main/skills/tmux
Command: npx skills add https://github.com/estebanrfp/genos --skill tmux-estebanrfp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manage interactive tmux sessions from automation by sending keystrokes and capturing pane output, enabling scripted control of terminal apps.

Core Features & Use Cases

  • Programmatic session control: send input, read pane text, and navigate windows/panes.
  • Automation-friendly workflows: script routines for monitoring prompts and responding automatically.
  • Use Case: Coordinate a long-running code session by feeding commands and extracting status updates for logging.

Quick Start

Start a tmux session named 'shared' and begin sending keystrokes to the active 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 terminal workflows with tmux?▼

You can automate interactive terminal workflows with tmux by programmatically sending keystrokes to sessions and capturing pane output. This enables scripted control for monitoring prompts, feeding inputs, and scraping content across multiple windows.

Can I capture pane output from a tmux session for logging?▼

Yes, you can capture pane output from a tmux session to extract status updates for logging. This allows you to coordinate long-running code sessions by feeding commands and programmatically reading the resulting terminal text.

What is the best way to script tmux session management and navigate windows?▼

The best way to script tmux session management is by using shell scripts to send input, read pane text, and navigate windows or panes. This approach coordinates input sequencing with safe default behaviors for automation.

Do I need tmux installed before automating terminal sessions via scripts?▼

Yes, you need tmux installed on your system before automating terminal sessions via scripts. The automation enforces this prerequisite to ensure shell scripts can properly discover sessions and send keystrokes.

How do I feed inputs to a long-running code session and wait for text in tmux?▼

You can feed inputs to a long-running code session and wait for text by using provided shell scripts for session discovery and text waiting. These scripts coordinate input sequencing to safely monitor and respond to interactive prompts.

What are the limitations of automating interactive terminal apps with tmux?▼

A key limitation of automating interactive terminal apps with tmux is that it relies on sending keystrokes and reading pane output, which requires input sequencing to be carefully coordinated to avoid missing expected prompts or scraping incomplete content.