tmux

Send keystrokes and capture pane output in tmux sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the remote control of tmux sessions, enabling the sending of keystrokes and scraping of pane output, which is crucial for managing interactive command-line interfaces.

Core Features & Use Cases

  • Session Monitoring: Keep track of ongoing processes within tmux sessions.
  • Interactive Input: Send commands and text to running applications in tmux panes.
  • Output Scraping: Extract valuable information from the output of long-running processes.
  • Navigation: Programmatically switch between tmux windows and panes.

Quick Start

Use the tmux skill to send the command 'ls -l' to the 'shared' tmux session.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I control interactive CLI applications running in tmux sessions programmatically?

You can control interactive CLI applications in tmux sessions by sending keystrokes and capturing pane output programmatically. This enables remote input, session monitoring, and scraping results from terminal applications.

Can I send keystrokes and commands to a specific tmux pane automatically?

Yes, you can send keystrokes and commands to specific tmux panes automatically. The skill issues programmatic input to running terminal applications, allowing you to automate interactive workflows and manage ongoing processes.

What is the best way to capture and scrape output from a long-running terminal process in tmux?

Scraping output from a long-running terminal process in tmux is done by capturing pane content programmatically. This allows you to extract valuable information and monitor ongoing processes without interrupting the session.

Do I need the tmux binary installed to automate terminal session management?

Yes, you need the tmux binary installed and accessible in your system's PATH to automate terminal session management. This prerequisite allows the skill to interact with existing sessions and manage panes.

Can I programmatically switch between tmux windows and panes during a script?

Yes, you can programmatically switch between tmux windows and panes during a script. This navigation capability allows you to manage multiple interactive sessions and direct input to the correct terminal.

Why does my interactive CLI automation fail to capture pane output in tmux?

Interactive CLI automation fails to capture pane output if the tmux binary is not installed or accessible in the system PATH. Ensuring tmux is available resolves the session monitoring and scraping connection.