tmux

Send keystrokes and scrape output from tmux terminal sessions.

87|20|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/openaeon/OpenAEON --skill tmux-openaeon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/openaeon/OpenAEON/tree/main/skills/tmux
Command: npx skills add https://github.com/openaeon/OpenAEON --skill tmux-openaeon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps you manage interactive CLI work in existing tmux sessions by programmatically sending keystrokes and reading pane output, avoiding manual tab/screen switching.

Core Features & Use Cases

  • Keystroke-based session control: Send text and special keys (including Enter, Esc, Ctrl+C/D/Z) to specific tmux targets like session:window.pane.
  • Pane output scraping: Capture the last lines or full scrollback from a pane to verify prompts, progress, and results.
  • Operational session workflows: Monitor multiple worker sessions, approve interactive prompts (e.g., yes/no or numbered options), and route tasks to the correct pane.

Use case example: You have several parallel Claude/Codex sessions running in tmux and you want to detect which ones are waiting for approval, then send the correct confirmation key and capture the updated output for validation.

Quick Start

Use this skill to check a session’s latest pane output and confirm whether it is waiting for input by capturing the last 20 lines from the target session.

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 tmux pane to automate interactive terminal sessions?

To automate interactive terminal sessions, this skill sends keystrokes including text and special keys like Enter, Esc, and Ctrl+C to specific tmux panes using session:window.pane target formatting.

Can I scrape and capture pane output from a running tmux session to verify CLI progress?

Yes, you can capture pane output from a running tmux session by scraping the last lines or reading the full scrollback to verify prompts, monitor progress, and extract results from long-running CLI processes.

How do I automatically approve interactive prompts in parallel tmux sessions?

You can automatically approve interactive prompts by scraping pane output to detect waiting states, then sending the correct confirmation keystrokes like yes or numbered options to the target session.

Do I need tmux installed to control terminal sessions and route tasks to worker panes?

Yes, tmux must be installed and available in your environment to use this skill for routing tasks to worker panes and controlling sessions with safe target addressing.

What is the best way to monitor multiple CLI processes running in separate tmux panes?

The best way to monitor multiple CLI processes is to programmatically capture limited tail reads or full scrollback from each pane target, detecting which sessions are waiting for input or have updated results.