tmux

Send keystrokes and scrape pane output to automate tmux sessions.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/jason9693/Open-Jordy --skill tmux-jason9693
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/jason9693/Open-Jordy/tree/main/openjordy/skills/tmux
Command: npx skills add https://github.com/jason9693/Open-Jordy --skill tmux-jason9693

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates control of tmux sessions by sending keystrokes and reading pane output.

Core Features & Use Cases

  • Send keys to tmux panes and windows to drive interactive CLI workflows.
  • Capture and read pane output for monitoring or parsing results.
  • Manage sessions, windows, and panes programmatically to orchestrate long-running tasks.

Quick Start

Initiate a tmux session, send commands, and read the resulting pane output to automate an interactive workflow.

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 workflows using tmux?

Automating interactive CLI workflows with tmux is done by sending keystrokes to specific panes and windows using send-keys. This allows scripts to drive interactive terminal applications programmatically without direct user input.

Can I capture and read pane output from a tmux session programmatically?

Capturing and reading pane output from a tmux session uses the capture-pane command. This retrieves the visible text within a pane, enabling automated monitoring and parsing of terminal results for interactive workflows.

How does session orchestration work for long-running terminal tasks in tmux?

Session orchestration for long-running terminal tasks in tmux works by programmatically managing sessions, windows, and panes. This keeps automated workflows persistent across local or remote environments without dropping active processes.

Do I need any specific dependencies to send keystrokes to tmux sessions?

Sending keystrokes to tmux sessions requires only tmux installed in the target environment. The automation relies on standard tmux commands like list-sessions, send-keys, and capture-pane, needing no additional external libraries.

What is the best way to manage multiple terminal sessions across remote environments?

The best way to manage multiple terminal sessions across remote environments is using tmux session control. By sending keystrokes and scraping pane output, you can orchestrate complex automated terminal workflows remotely and reliably.

What limitations should I expect when scraping terminal output from tmux panes?

Scraping terminal output from tmux panes has limitations tied to visible scrollback history and simple error handling. Capture-pane reads current visible content, so complex parsing may fail if output scrolls beyond the visible buffer.